News:

Looking for documentation? Take a look on our wiki

Main Menu

auto unpublish product when added to cart

Started by sorema, January 28, 2013, 15:26:28 PM

Previous topic - Next topic

sorema

hi all, i can't find a solution to my problem:
i have a eshop and sell products i hand made. So i have 1 product of each kind. i need a product to be unpublished (automaticallY) when added to cart to prevent double buy
i can't figure it out ! i tried to configure a stocking i added in backend "in stock: 1" and maximum order: 1.
it does not work...:/ can anybody help please?

using virtuemart 2.0.18a & joomla 2.5.8

thank you

jenkinhill

Did you also select "Do not Display Product"  for Action when a Product is Out of Stock  in configuration/shopfront ?
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

sorema

yes but looks like the product is considered out of stock as the checkout is concluded and it's not enough to put in cart.. there's a way to figure it out? :(

sorema

is there someone who can help? it's important for me because it can be not so nice to have a double order of a product i only own in 1 pc and to contact the customer saying sorry i have to refund you...