View Single Post
  #2  
Old 03-08-2022, 04:35 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: change default quantity to 0

Because you cannot have quantity of 0 for order so minimum is 1. The min_quantity is set in func.product.php within the "appearance" function however I wouldn't change that as it is used in other places as well and you may end up having errors loading pages. You can change the whole expression
Code:
{$product.appearance.min_quantity|default:"1"}


to 0 if you want to
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote