Add to cart link problem

Please post your issues and questions about One Page Checkout for Virtuemart 2 to this forum.

Add to cart link problem

Postby WEGRIJDEN » Thu May 22, 2014 11:36 am

Hi!

I am having a problem with the add to cart link that i am using.

From some pages i let people add a product to the cart. The link looks like this:
Code: Select all
/index.php?option=com_virtuemart&view=cart&add_id[]=115&qadd_115=1


But if someone refreshes the page, or go back and forth, then there are two products in the basket because the link will cause the basket to put another product in that same basket.

Is there a workaround for this? Can i use another link or do something different?

Thanks in advance!

Kris from Holland
WEGRIJDEN
 
Posts: 9
Joined: Sat Feb 15, 2014 2:33 pm

Re: Add to cart link problem

Postby admin » Fri May 23, 2014 6:06 pm

hello kris, it depends on what exactly you are using the link for:

1. a link directly from a K2 Item (usually a groupon type of business)
-- you can use it either with delete cart content and set the product OR just add it to the cart
2. a link from email or marketing site
-- if the campaing is just for a single product, you may enable "delete cart content and make just this product available)
-- auto coupons can be used for this one
3. else

Let us know what exactly you use the link for and what's the other settings for this feature and we either customize it for you or suggest a better config.

To answer your question, you are maybe looking for the feature to "delete the cart content" OR "do not increment quantity", pls see the below options:

Image

Best Regards, Stan

Best Regards,
Stan, RuposTel.com
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Re: Add to cart link problem

Postby WEGRIJDEN » Sat May 24, 2014 10:31 am

Hi Stan,

You totally solved my problem! I can't thank you enough.
Have a great weekend.

Greetings,
Kris
WEGRIJDEN
 
Posts: 9
Joined: Sat Feb 15, 2014 2:33 pm

Re: Add to cart link problem

Postby admin » Mon May 26, 2014 4:53 pm

hello kris, you are welcome, have a nice day.
best regards,
stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm


Return to One Page Checkout for Virtuemart 2