Skip Navigation

[Resolved] Menu link to trigger add to cart and redirect to checkout

This thread is resolved. Here is a description of the problem and solution.

Problem:

This is what I want to do:

I have a link called /customer-registration in my menu

When someone clicks on the link they should be redirected to the checkout page with the subscription product already in the cart

Solution:

For example, your checkout page URL is https://yourstore.com/checkout/, then you can setup the link as below:

https://yourstore.com/checkout/?add-to-cart=25

Relevant Documentation:

This support ticket is created 3 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by gregS-9 3 years ago.

Assisted by: Luo Yang.

Author
Posts
#2012903

I'm wondering if this is possible with Toolse

This is what I want to do
I have a link called /customer-registration in my menu

When someone clicks on the link they should be redirected to the checkout page with the subscription product already in the cart

Is this possible?

#2013141

Hello,

I assume we are talking about Woocommerce plugin.

For example, your checkout page URL is hidden link, then you can setup the link as below:

<em><u>hidden link</u></em>
#2013861

My issue is resolved now. Thank you!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.