News:

Support the VirtueMart project and become a member

Main Menu

automatic related product

Started by alireza, November 09, 2017, 09:31:06 AM

Previous topic - Next topic

alireza

How can  i make automatic related product without add any product in coustom field tap in product ?

K&K media production

with a little bit php and html knowledge you can build your own template override and load related products of the same category


$productModel = VmModel::getModel('product');
$catProducts = $productModel->getProductsInCategory($this->product->virtuemart_category_id);