1 / 3
Jan 2011

For a certain product, I'd like to be able to limit the shopping cart to one item only. If a second item is added, the first item in the cart is removed.



I have a single product with a custom variable. I'd like to make it so only one of these products is allowed in the cart at any one time. As it stands now, the user can get to the cart with the first product added, go back to the beginning of the checkout process and add the product again with different custom variable.



Possible?

  • created

    Jan '11
  • last reply

    Jan '11
  • 2

    replies

  • 1.1k

    views

  • 2

    users

  • 4

    links

I think you may just want to use our Buy Now buttons, which bypass the cart and take the buyer directly to instant checkout for just one item at a time:

1http://www.e-junkie.com/ej/help.buttons.buy-now.htm1



If these are versions of the same product just with different option variables (not using Variants to affect price/weight/inventory), and if you're only using PayPal for checkouts, you can post a series of Buy Now buttons with the variables hard-coded into each button's URL, like so:



<a href="https://www.e-junkie.com/ecom/gb.php?i=XXXXXX&c=single&cl=65802&on0=VARIABLENAME_HERE&os0=VARIABLE_VALUE_HERE" target="ejejcsingle"><img src="http://www.e-junkie.com/ej/x-click-butcc.gif" border="0" alt="Buy Now"/></a>

Thanks for the reply! I had not noticed the single Buy Now buttons before, however with the product with variations I have, the Buy Now Buttons tab is not selectable.



This is at least something to look into and may be a possibility.