Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Stock - How can I... ?


Recommended Posts

I find myself in need of a little bit of assistance.


I sell items cast in molds for miniatures. Sometimes the casts do not come out with a quality I would wish to normally sell it at. However, I also do not really wish to be out all the material / production costs. So, I've been thinking of potential solutions.


Because many of my orders are custom made when the orders come in, I have my Stock settings as follows:

Subtract Stock - Yes

Allow Checkout - Yes <-- this is where my potential problem is. I want to allow customers to buy from the majority of my store even if stock says it is unavailable. But for 1 main directory (and all sub-directory's) I want to be able to limit how many of my 'quality lacking' products are available for purchase to the actual amount of 'quality lacking' products I currently have in stock.


Think of it as a 'returned item' that is being sold at a discount due to a defect like scratches and such. The product is still worth buying to some, especially at a lower price. But there are only so many of these 'discounted' products available, where there are hundreds of said item in the warehouse.



I see two potential solutions.

1) list my regular products 'above' stock levels, and turn to 'allow checkout' to NO.

2) figure out a way to have some products with 'allow checkout' ON and some products with 'allow checkout' OFF.


I'm open to other suggestions, potential contributions, etc that may make this easier for me.


Thank you for your assistance ahead of time.



Link to comment
Share on other sites

based on this contribution,



i have a setup where I have 'limited' stock, where it shows, only X left and does not allow to buy more than X, while regular stock can go negative.

I believe I have customized it a little, but the ground work is in the contribution.




I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!


Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...