Hello.
How do I configure productpanel in admin to sort by date and not by name?
I've tried some extensions that didn't work and I've tried to change in the php file without luck.
How is we supposed to get controll over new products if they are not sorted by date?
How do I configure productpanel in admin to sort by date and not by name?
I've tried some extensions that didn't work and I've tried to change in the php file without luck.
How is we supposed to get controll over new products if they are not sorted by date?
In the file admin/controller/catalog/product.php
Find the following code:
Replace with following code:
In the file admin/model/catalog/product.php add the red marked code
$sort_data = array(
'pd.name',
'p.model',
'p.price',
'p.quantity',
'p.status',
'p.sort_order',
'p.date_added' //add this column name
);
Find the following code:
Code: Select all
if (isset($this->request->get['sort'])) {
$sort = $this->request->get['sort'];
} else {
$sort = 'pd.name';
}
if (isset($this->request->get['order'])) {
$order = $this->request->get['order'];
} else {
$order = 'ASC';
}
Code: Select all
if (isset($this->request->get['sort'])) {
$sort = $this->request->get['sort'];
} else {
$sort = 'p.date_added';
}
if (isset($this->request->get['order'])) {
$order = $this->request->get['order'];
} else {
$order = 'DESC';
}
$sort_data = array(
'pd.name',
'p.model',
'p.price',
'p.quantity',
'p.status',
'p.sort_order',
'p.date_added' //add this column name
);
Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com
Is there a free module for this function?
Im newbie on OpenCart
Jasa Pembuatan Website,Jasa Pembuatan Website Wordpress,Jasa Desain Grafis Profesional,Jasa Pembuatan Toko Online,Jasa SEO Berkualitas
Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com
You can check the module victorj mentioned which is free and seems nice.
Or you can check my module Admin Category/Manufacturer/Attribute Filter that CAN sort by date added as well among others!
Or you can check my module Admin Category/Manufacturer/Attribute Filter that CAN sort by date added as well among others!
Software Support And Development www.sdware.eu
Ccookie Module || Admin Category/Manufactory/Attribute Filter || Admin Customizer || Bank Tranfer Extended
Business Inquiries Here
My extensions Page Here
Ccookie Module || Admin Category/Manufactory/Attribute Filter || Admin Customizer || Bank Tranfer Extended
Business Inquiries Here
My extensions Page Here
we need current version of this somebody please!victorj wrote: ↑Tue Sep 27, 2016 4:35 amworking module to sort products
http://www.opencart.com/index.php?route ... _license=0
paypalbuys.com
we need this for OC. 3.03 etc please!
paypalbuys.com
Who is online
Users browsing this forum: bizco and 180 guests