Hi!
Where can I change the sort order for the Featured products module on OC 2.0.1.1?
In older version there was getFeaturedProducts() in catalog/model/catalog/product.php
but looks like its gone in OC 2.0.1.1
Any help would be appreciated.
Thanks!
Code: Select all
public function getProductRelated($product_id) {
but this not module featured
\catalog\controller\module\featured.php
There is no sorting
Sorting takes to add products to the list
Code: Select all
if (!empty($setting['product'])) {
$products = array_slice($setting['product'], 0, (int)$setting['limit']);
foreach ($products as $product_id) {
$product_info = $this->model_catalog_product->getProduct($product_id);
Who is online
Users browsing this forum: No registered users and 138 guests