I have two variable subscription products on a single page that I want to redirect to the checkout page (see “SIGN UP” buttons under “Choose a Subscription” near the bottom of the page) when the button is clicked. The problem is that I am having a difficult time finding any documentation on how to do this. Based on what I’ve read, I assume this would be done by adding shortcodes around my buttons, but when I add the shortcodes using the raw content element, it is just displaying the actual text from the shortcode. I can’t use the default shop page because my page includes a large amount of additional content.
Update: I have figured out how to display a product and a “Sign Up” button that goes to an order page, but ideally I would like the orange sign up button to add the chosen subscription to the cart and automatically redirect to the checkout page (I know the redirect is done using a plugin, I don’t need advice on how to do that).
After some more digging I was able to figure it all out. This topic can be closed. Thanks!
Hi Annmarie,
Glad you sorted things out and sorry for the delayed reply.
To others who may found this thread, you can create a pseudo-custom Shop page using the available Woocommerce shortcodes.
Have a nice day,
Cheers!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.