Post by lesliez » Wed Jul 13, 2011 3:35 pm

Hello,

I would like to make use of the product's Sort Order function. But in Admin's Products Listing, it doesn't display the product's Sort Order number. It's very painful to go into each product to see and change the number. Can someone help guide me to add some custom code to show the "Sort Order" number in Admin's Products Listing page? Please help. Million thanks in advance.

Regards,
Lesz

Newbie

Posts

Joined
Sat Nov 20, 2010 12:48 pm

Post by opencart-templates » Wed Jul 13, 2011 7:11 pm

To keep this simple this wont cover: language translations for the column name, sorting and filtering.

Edit: admin/controller/catalog/product.php
Find:

Code: Select all

'price' => $result['price'],
Add Below:

Code: Select all

'sort_order' => $result['sort_order'],
Replace the .tpl file that I have uploaded to: admin/controller/view/template/catalog/product_list.tpl

Advanced Professional Email Template
Customers Pre-Sale. Inc abandoned cart email
Order Follow-Up Email. Inc request review
Email Validation with ZeroBounce


User avatar
Active Member

Posts

Joined
Mon May 16, 2011 7:24 pm
Location - UK

Post by lesliez » Sat Jul 16, 2011 10:40 pm

Hi,

Thank you so much... I will try now...

Lesz

Newbie

Posts

Joined
Sat Nov 20, 2010 12:48 pm

Post by lesliez » Sat Jul 16, 2011 10:44 pm

Hi,

Sorry, but there is no folder "view" in admin/controller/

Please advice, thank you.

Lesz

Newbie

Posts

Joined
Sat Nov 20, 2010 12:48 pm

Post by lesliez » Sun Jul 17, 2011 12:40 am

Hi,

I'm using the following modification "Product Filter by Category" and this mod does change the "product_list.tpl" too. I tried a few times to merge the file but still failed. Can you help me once more? Please help add your custom code into the attached modified file? Please... Thanks in advance...

Lesz

Newbie

Posts

Joined
Sat Nov 20, 2010 12:48 pm
Who is online

Users browsing this forum: Amazon [Bot] and 15 guests