Post by trickyzxr » Mon Mar 30, 2015 10:40 pm

Hi,

Please could someone tell me which file I can find the code that tells the form when adding a new product the initial value that populates the out of stock status? Currently it always shows 2-3 days and I would like it to show another value from oc_stock_status.

thanks.

New member

Posts

Joined
Tue Mar 06, 2012 11:46 am

Post by MarketInSG » Mon Mar 30, 2015 11:14 pm

If i'm not mistaken, the statuses are arranged alphabetically. 2-3 will always be default at the top. You can consider deleting the status from your system if you do not wish to use.


User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by trickyzxr » Tue Mar 31, 2015 3:21 am

Hi thanks for your reply. I thought of that but then that would mean I would have to change all the current products which would take days so looking for the easy solution of changing the default choice in the php or tpl file but just cant find it!

New member

Posts

Joined
Tue Mar 06, 2012 11:46 am

Post by trickyzxr » Thu Apr 02, 2015 2:21 pm

Sorry I didn't quite read your reply properly! I have checked what product is using what and did as suggested as either item is available or sold so did the trick thank you.

New member

Posts

Joined
Tue Mar 06, 2012 11:46 am

Post by GoldenTongs » Wed Jun 24, 2015 11:40 am

i too wanted to know this
and found a very simple for solution for anyone that wants to know
if you want the default out of stock status to actually be out of stock, instead of 2-3 days
as to save time changing it when adding new products

simply go to localisation>stock statuses
click edit on out of stock
and add a space at the start
this then will list it above 2-3 days

so whenever you add a new product, the default out of stock status is now out of stock
Image

http://Lilphones.com
Image


Active Member

Posts

Joined
Sun Jul 29, 2012 5:26 pm
Who is online

Users browsing this forum: No registered users and 66 guests