News:

Looking for documentation? Take a look on our wiki

Main Menu

getNeighborProducts products ordering/sorting bug

Started by dave4gsi, March 27, 2012, 10:25:39 AM

Previous topic - Next topic

dave4gsi

/pgs/administrator/components/com_virtuemart/models/product.php

public function getNeighborProducts($product ,$onlyPublished = true, $max=1) {

the above function doesn't bring the products in the order ( in the admin all the products in category are working properly when sorting is applied) but no effect on the front end (sorting is applied according to the slug. it's suppose to be according to the order selected in the admin->config->product order sorting).

please help.

thanks in advance.