Hi,
I’m trying to figure out the best way to go with a site I’m building. The client has hundreds of products and if a product is sold they want the item hidden from the website. The issue is – if I choose that option – hide if out and stock and most items there is only 1 of – then when that product is added to the visitors cart the items disappears and says This product is unavailable or out of stock. I’ve added js to say Product added successfully however if the visitor wants to look at their item again (by clicking on it in their shopping cart) then the message comes up ‘This product is unavailable or out of stock’. This can be confusing for customers so I’m wondering what’s the best way to work around this? Ideally it would be great if the customer could still see their item.
Can anyone suggest a solution?
Cheers
EM
You do not need javascript for that, you can just show hide elements that are in or out of stock.
You can also hide out of stock items in the admin itself so products once out of stock do not even show.
You can update your script as an other option to look at the cart and if the item on the page is in the cart just have something that says "this item is already in your cart" as well.
Lots of options, depends on what your after.
North America
Europe, Middle East and Africa
Asia Pacific