Post by leandromello » Sat Jun 13, 2015 3:26 am

How to do this in OC. 2.0.3.1?
How to sort by quantity?

New member

Posts

Joined
Fri Oct 28, 2011 3:29 am

Post by Troublemaker213 » Sat May 14, 2016 8:54 pm

How can i do both things in one query or with multi queries, i mean Products will be sorted A to Z but, products that are out of stock will be listed at the end.

i think there should be easy way to make this happen :)

New member

Posts

Joined
Mon May 09, 2016 10:21 pm

Post by saliverdim » Sat Jul 30, 2016 7:30 am

sort with product id list ? please help me ?

p.id or pd.id or product_id try alll but doesnt work :(

Active Member

Posts

Joined
Wed Oct 07, 2015 12:15 am

Post by saliverdim » Fri Aug 12, 2016 2:59 am

please help me ?

Active Member

Posts

Joined
Wed Oct 07, 2015 12:15 am

Post by mahsash » Mon Dec 12, 2016 2:49 pm

i did these:

catalog/controller/product/category.php

i changed:

if (isset($this->request->get['sort'])) {
$sort = $this->request->get['sort'];
} else {
$sort = 'p.stock_status_id';
}

in default when i refresh the page no action work just when i selected default choice i see this code "?sort=p.stock_status_id&order=DESC&limit=100" but not sort by stock_status_id yet!!
in which file i can define stock_status_id?


plz help me!

Newbie

Posts

Joined
Tue Dec 06, 2016 1:03 pm

Post by paddys_1 » Mon Oct 16, 2017 1:56 pm

There is an extension that changes the sort order so that the most recently added products are shown first.

Image


User avatar
New member

Posts

Joined
Wed Jul 16, 2014 6:04 am

Post by Arjano » Mon Feb 12, 2018 9:57 pm

Hello Experts
Hope anyone can help me.
I ám looking for the correct text to change my category.php file. front end
Category product layout sort must be for me on standard model number

Opnecart 3.02

thanks

Newbie

Posts

Joined
Wed Nov 22, 2017 3:51 am
Who is online

Users browsing this forum: No registered users and 5 guests