fbpx
  1. Startseite
  2. Wissensdatenbank
  3. Tipps, Tricks und Anpassungen
  4. Tipps und Tricks
  5. Wechseln zwischen Mitgliedschaftsstufen oder Produkten auf einer Kassenseite

Wechseln zwischen Mitgliedschaftsstufen oder Produkten auf einer Kassenseite

Switching between memberships level or products on the checkout page is easy and can be accomplished in a couple of ways: by using buttons or using a drop down.

Use Buttons

Follow the steps below to switch between membership levels or products using buttons:

  1. Klicken Sie im WordPress-Menü auf Seiten and find the default Checkout core page. It will be the one where you see the ‘orange flad' in the Kernseiten-Typ column. Click on this page to edit it.

  2. Get the static purchase link for the membership level or product your want to allow the customer to switch to. Read this article to erfahren Sie, wie Sie den statischen Kauflink erhalten.

    For example, the static link could be something like:
    http://yourdomain.com/checkout/?pid=4.

  3. Find the place in your HTML where you have inserted your button code and copy and paste the following:

    <a href="/de/{purchase_link_url}/">Starter</a>

    Just replace ‘purchase_link_url' with your purchase link URL:

    <a href="/de/yourdomain.com/checkout/?pid=4">Starter</a>


    An example of what the final code with Taste und Kauf-Link would look like, is shown below:

    <a class="mm-button blue large" href="yourdomain.com/checkout/?pid=4">Starter</a>
    <a class="mm-button blue large" href="yourdomain.com/checkout/?pid=5">Builder</a>
    <a class="mm-button blue large" href="yourdomain.com/checkout/?pid=6">Growth</a>


  4. Save your changes. Now when a customer clicks any of those links the checkout page will reload with the appropriate membership level or product.

Use a Drop Down

Führen Sie die folgenden Schritte aus, um über ein Dropdown-Menü zwischen den Mitgliedsstufen oder Produkten zu wechseln:

  1. Klicken Sie im WordPress-Menü auf Seiten and find the default Checkout core page. It will be the one where you see the ”orange flag' in the Kernseiten-Typ column. Click on this page to edit it.

  2. Klicken Sie auf die Text in der oberen rechten Ecke des Inhaltseditors, um zum Texteditor zu wechseln.

  3. Suchen Sie die Stelle in Ihrem HTML-Code, an der Sie die Dropdown-Liste einfügen möchten, und kopieren Sie den folgenden Text und fügen Sie ihn ein:

    <select name="subscriptions" onchange="window.location=this.options[this.selectedIndex].value;">

    <option value="select">Choose a Membership</option> <option value="{purchase_link_url}">{item_name}</option> </select>


  4. For each membership level or product you want the customer to be able to switch between, add an option by using this template:

    <option value="{purchase_link_url}">{item_name}</option>

    Just replace ‘{item_name}' with the text you want displayed to the customer in the drop down and replace ‘{purchase_link_url}' with the static purchase link URL associated with the membership level or product. Read this article to erfahren Sie, wie Sie den statischen Kauflink erhalten.

    Der statische Link könnte zum Beispiel so aussehen http://yourdomain.com/checkout/?pid=4. You will want to leave the first option as placeholder text, as you will need to change the existing option in order for the link to work.

    Das folgende Beispiel zeigt, wie ein fertiges Dropdown-Menü aussieht:

    <select name="subscriptions" onchange="window.location=this.options[this.selectedIndex].value;"> <option value="">Choose a Membership</option>
    <option value="yourdomain.com/checkout/?pid=1">Free Membership</option>
    <option value="yourdomain.com/checkout/?pid=2">Paid Membership</option> </select>
War dieser Artikel hilfreich?

Verwandte Artikel

Sie können die gesuchte Antwort nicht finden?

Wenden Sie sich an unser Customer Success Team
Kontaktieren Sie uns!