• Resolved mrcarlsen

    (@mrcarlsen)


    Hi SomewhereWarm,

    Is there a way to make variation bundles work with your excellent “All Products for WooCommerce Subscriptions”-plugin?

    I’m selling a nutrition supplement (1 box = 30 days) and the customers can choose a monthly subscription option as well. I also want to offer a discount to customers who purchase 3 boxes at a time. To manage stock I used product bundles together with variation bundles to bundle 3 boxes together. It works really great!

    The problem is that I also want to add a subscription plan to my product bundle: 3 boxes sent every 3 months. Is there a way to make the subscription option show up on the front-end, so the customer can choose the subscription plan before adding the product to the cart?

    I’ve been looking at this code-snippet: https://gist.github.com/somewherewarm-snippets/00d81c3f538383e347583ffce24d0dfb to programmatically add the subscription option to the variation – and it kinda works. But because variation bundles works by replacing the variation when added to the cart I can’t figure out how to map the product-bundle subscription to the variation. I hope it makes sense.

    Right now I added a subscription to the variation programmatically but the choice is obviously ignored in the cart because it gets replaced with the product bundle.

    I really hope you can help ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author SomewhereWarm

    (@somewherewarm)

    Hello @mrcarlsen ,

    Thanks for reaching out!

    As you correctly mentioned, when customers select a specific Variation in Variation Bundles and add it to the cart, then the corresponding Bundle is added to the cart instead of the selected Variation. With that said, if you add subscription plans on the Variable Product level these will not persist in the cart.

    A workaround for this would be to create two different Bundles of 3 boxes:

    • one that can only be purchased one-time, and;
    • one that can only be purchased with a subscription plan.

    Then, you can associate each Bundle with a different Variation (naming the Variation accordingly), so that customers will be able to select whether they’d like to purchase it on a subscription or not.

    If you are not sure how to do this or you have any additional questions, please open a new ticket for Product Bundles or All Products for WooCommerce Subscriptions via your WooCommerce.com account dashboard at https://woocommerce.com/my-account/marketplace-ticket-form/ and we’ll be happy to help!

    Cheers,
    Maria Chekimoglou
    Support Team Lead | SomewhereWarm | https://somewherewarm.com/

    • This reply was modified 3 years, 4 months ago by SomewhereWarm.
    Thread Starter mrcarlsen

    (@mrcarlsen)

    Hi Maria,

    Thank you for your reply and the suggestion. I’ll keep it in mind and might use that solution at some point. I do hope you’ll be able to better integrate variation bundles with APfS in the future. I would be happy to pay for this feature.

    For now I decided to create a custom add-to-cart button and using “?add-to-cart=” to make it work like I want.

    Best,
    Alex

    Plugin Author SomewhereWarm

    (@somewherewarm)

    Hi Alex,

    I’m happy to hear you were able to achieve the desired result! ??

    I have noted your suggestion and will discuss it with our developers in our next product hangout. I definitely understand that this feature could be very useful for your use case! However, since this is the first time we ever receive a similar request, I’m not able to provide an ETA — our developers would most probably like to gather more information about this from our support channels.

    I will now mark this thread as resolved — feel free to reach out again if you have any additional questions we can help with!

    Cheers,
    Maria Chekimoglou
    Support Team Lead | SomewhereWarm | https://somewherewarm.com/

    • This reply was modified 3 years, 4 months ago by SomewhereWarm.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Variation Bundles with subscription-option (All Products Subscriptions)’ is closed to new replies.