You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is your question / Please describe your issue
Hello! We got a problem. On the project, we use the Recharge plugin in Shopify to create subscriptions.
Question one. We can write a custom method to get the sellingPlan for a product. However, I noticed that custom methods are only called in setup (onSSR). Can we call them, for example, by clicking on a button, and not when the page is first loaded?
Question two. We need a custom cart update method to push to a sellingPlan product to subscribe. If we use the custom method, will the cart update automatically or not? I know that the cart only changes state when using built-in hooks like addItem(), and we can't call the cart a second time ourselves. Thank you!
What version of Vue Storefront are you using?
2.3.4
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
What is your question / Please describe your issue
Hello! We got a problem. On the project, we use the Recharge plugin in Shopify to create subscriptions.
Question one. We can write a custom method to get the sellingPlan for a product. However, I noticed that custom methods are only called in setup (onSSR). Can we call them, for example, by clicking on a button, and not when the page is first loaded?
Question two. We need a custom cart update method to push to a sellingPlan product to subscribe. If we use the custom method, will the cart update automatically or not? I know that the cart only changes state when using built-in hooks like addItem(), and we can't call the cart a second time ourselves. Thank you!
What version of Vue Storefront are you using?
2.3.4
Code of Conduct
The text was updated successfully, but these errors were encountered: