Post by pac_indahood » Thu May 05, 2016 10:29 pm

Hello everyone, i need a little help.

I need to have my old products with status "Product is no longer in our offer" how can i do this. I think i shloud have stock -1, because stock 0 are products out of stock and i can bring them back.

Can u please advise or give me any clues? I run on OC 2.0.3.1

Best regards,
Pac

New member

Posts

Joined
Sat Oct 30, 2010 2:50 am

Post by straightlight » Fri May 06, 2016 12:56 am

You can always add new stock entry names from your admin - > system - > localisation - > stock statuses page. Then, select your specific products in the admin by changing the stock level from the data tab under the edit product page from admin - > catalog - > products - > edit product - > data.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by pac_indahood » Fri May 06, 2016 2:55 am

ok, but i want something like this:

quantity:
0 - out of stock
1 - limited stock
2-98 - in stock
99 - Product is no longer in our offer

New member

Posts

Joined
Sat Oct 30, 2010 2:50 am

Post by straightlight » Sat May 07, 2016 2:23 am

Unfortunately, even with the latest version of Opencart, the language settings are still not handled from a separated database table in order to add additional features as suggested above due to lack of logic.

Adding such features at this time would create duplicated data into the stock status table which, mainly, Opencart has been programmed to avoid, for instance, by using the admin category names and product names. Duplicated data should never be used for the same purposes.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by pac_indahood » Mon May 09, 2016 8:37 pm

I want to show status or remove product according to quantity.

New member

Posts

Joined
Sat Oct 30, 2010 2:50 am

Post by pac_indahood » Tue May 10, 2016 11:20 pm

ok, but i can do this in another way?

New member

Posts

Joined
Sat Oct 30, 2010 2:50 am

Post by straightlight » Fri May 13, 2016 1:17 am

At the actual time, it can only be done by coding customization or by a downloadable contribution.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by pac_indahood » Fri May 20, 2016 6:36 pm

Thank you for answers!!

New member

Posts

Joined
Sat Oct 30, 2010 2:50 am
Who is online

Users browsing this forum: No registered users and 2 guests