reverse how the plugin works
-
Hi
Great plugin, exactly what I’m after except…… can you reverse how it works? I have about 1000 products and only want to sell ten. So rather than having to select 990 of them as unbuyable is it possible to select the 10 as buyable.
I thought I could change the code in frontFunctions.php lines 12 -14 and switch the true and false around. This did show the button on the selected products and hide it on the others, but nothing gets added to the cart when I click on it.So basically my question is there a simple way of changing the code so that selected products become buyable and not unbuyable?
thanks
- The topic ‘reverse how the plugin works’ is closed to new replies.