Hide variations with no stock
-
I love this plugin, it’s exactly what I need, and works really well.
I have a site with many variations on each product, but usually only 1 stock for each variation.
To explain, the site sells frisbees, each model comes in different weights, colours and plastics. The shop will only carry one red 175g disc in neutron plastic.
When that sells, I want it to stop appearing in the table.
At the moment, the stock column displays how many are in stock, but if ‘sold out’ it’s just blank. I had a look at the code and can see that there’s an if statement to display a ‘sold out’ message if there’s no stock, but it isn’t working.
A message would be good, but just hiding the entire row would be better.The page I need help with: [log in to see the link]
- The topic ‘Hide variations with no stock’ is closed to new replies.