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
- This topic has 3 replies, 2 voices, and was last updated 7 years, 7 months ago by
admin.
-
AuthorPosts
-
May 5, 2018 at 10:47 am #14855
joecm
MemberIs 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.
May 6, 2018 at 3:19 am #77778admin
KeymasterYou 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).
May 6, 2018 at 2:23 pm #77779joecm
MemberThanks 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?
May 7, 2018 at 6:13 am #77780admin
KeymasterThe 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:
-
AuthorPosts
- You must be logged in to reply to this topic.