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
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by xxvirusxx » Wed Jun 05, 2019 11:53 pm

3.0.2.0

Attachments


My Extensions | OC 3.0.3.1, 3.0.2.0, 2.3.0.2 with bugs fixed | 2.3.0.2 Custom version | Buy me a beer or coffee


Active Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Who is online

Users browsing this forum: No registered users and 3 guests