View Single Post
Old 03-07-2022, 11:52 AM
keystone keystone is offline

Join Date: Jul 2006
Location: USA
Posts: 776

Default change default quantity to 0

Hi, I'm using the quantity text box instead of the drop down for the quantity amount on my products. I want to set the default amount to 0 but can't seem to get it to work. Currently it is set to 1.

I've been looking at this line of code...


If I change the "1" to "0" nothing happens. If I delete $product.appearance.min_quantity and enter a "0" it works however I was hoping someone could tell me where this variable is being pulled from so I could change it in the actual variable.

I've also tried to change the "minimum order quantity" on an actual product edit page from 1 to 0 but when I hit "apply changes" it defaults back to 1.

This is in x-cart version 4.7.11
__________________ - X-Cart Version 4.7.11 Gold Plus php7.3
running on UNIX X-Cart Gold Plus - Version 4.7.11 php7.2
cdseo pro
running on UNIX
Reply With Quote