News:

Looking for documentation? Take a look on our wiki

Main Menu

More than 5 featured products (SOLVED)

Started by WEBYA, January 03, 2012, 21:48:38 PM

Previous topic - Next topic

WEBYA

Hi friend!
I have a problem, :S
My default layout vm2 shows "5 last Virtuemart products" and I need to show "6 last Virtuemart products" as I can configure this?   :-\

CMS: I Used J1.7
Image:


PRO

maybe

views/virtuemart/view.html


if (VmConfig::get('show_latest', 1)) {
            $products['latest']= $productModel->getProductListing('latest', 5);
            $productModel->addImages($products['latest'],1);
         }


change the 5

WEBYA

Thanks friend!
I knew it was something, but where was the file in which to edit it.

Fixed!  ;D

PRO

that file will be changed when you update, but its an easy fix. SO, make a note of the "hack"

Thats technically a hack. albeit small