- This topic has 3 replies, 2 voices, and was last updated 6 years, 6 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › eStore – Add to Cart but redirect to custom URL (upsell page)
Tagged: add to cart, custom url, upsell page
Is it possible to choose where ‘Add to Cart’ links to? I would like to add an upsell page between product page and checkout but I cannot currently see a way of doing this.
I am using the bulk item shortcode which I appreciate may complicate things.
I should add that the URL.com/?wp_eStore_add_to_cart=1 feature isn’t useable because I do not know how many items they are buying.
Thanks.
You can use the “Button Redirect Target URL” field in the product to configure a page where the visitors will go to when they click on the button. So instead of an “add to cart”, it basically becomes a link to a page (the up-sell page). Then on the up-sell page, you can have two more buttons for the product (One with the up-sell and one the basic product).
Thanks for the reply.
However, I am using the bulk item shortcode. This creates the issue of an unknown number of items the user wishes to add to the basket. Both the Button Redirect Target URL and the URL.com/?wp_eStore_add_to_cart=X features rely on the the fact that the quantity of items the user will buy is known, right?
It seems to me the only way to get round this is to actually perform the add to cart function, followed by a redirect to the upsell page, where the user can either click a link that adds the upsell to basket and takes them to basket or clicks a normal view basket link without adding the item.
Is there a way to configure this manually, for instance adding a line of code into the bulk item .php file?
The button redirect doesn’t rely on the quantity at all. It will simply redirect to a page where you have add to cart buttons (with quantity) and upsell options. The user can add the items to the cart (as many quantity as they want).
You can use the following option to get a customized solution that is tuned for your particular site: