📣 The forum has moved to GitHub

We’ve switched to GitHub Discussions as the hub for our community. This will improve the experience of collaborating for everyone, sharing what you’re working on, and discussing ideas for how Swell can be improved. Existing threads will remain open, but new posts are disabled.

Go to GitHub →

Name for Subscription-Variants?

Hello all, I have the problem that there should be two different variants of a subscription for the same product. These do not differ in duration, but only in price. One is for members of our club, the other for non-members.

In the template and in the backend both look identical. How can I label the two different subscriptions with a proper label?



Comments

  • Hi @Florian

    you can change the subscription's name using the console:

    request: PUT products/[PRODUCT-ID]


    payload:

    {

    "purchase_options": {

      "subscription": {

          "plans": {

            "id": "[PLAN-ID]",

            "name": "[NAME-YOU-WANT]"

          }

        }

      }

    }


    If you need to get the PLAN-ID you can run GET products/[PRODUCT-ID] and find the PLAN-ID within PURCHASE-OPTIONS > PLANS

  • Thanks, going to try that!

Sign In or Register to comment.