Author Topic: auto unpublish product when added to cart  (Read 1537 times)

sorema

  • Beginner
  • *
  • Posts: 27
auto unpublish product when added to cart
« on: January 28, 2013, 15:26:28 pm »
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

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28079
  • Always on vacation
    • Jenkin Hill Internet
Re: auto unpublish product when added to cart
« Reply #1 on: January 28, 2013, 17:37:41 pm »
Did you also select "Do not Display Product"  for Action when a Product is Out of Stock  in configuration/shopfront ?
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VirtueMart 3.8.9.10473 on Joomla 3.9.24 PHP 7.4.14

sorema

  • Beginner
  • *
  • Posts: 27
Re: auto unpublish product when added to cart
« Reply #2 on: January 28, 2013, 18:11:28 pm »
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

  • Beginner
  • *
  • Posts: 27
Re: auto unpublish product when added to cart
« Reply #3 on: January 28, 2013, 21:11:19 pm »
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...