Post by Qphoria » Fri Jul 01, 2016 2:12 am

leandromello wrote:all this mod. are based in "quantity"... theres a way to be based in stock_status_id?
Edit the xml file and look for

Code: Select all

if (!$product_info['quantity']) {
replace with

Code: Select all

if ($product_info['stock_status_id'] == '9') {
change 9 to whatever you want

Then find

Code: Select all

if ($product_info['quantity'] < 1) {
replace with

Code: Select all

if ($product_info['stock_status_id'] == '9') {
change 9 to whatever you want

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România
Who is online

Users browsing this forum: No registered users and 22 guests