News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Show recent?

Started by lysov, April 01, 2012, 17:56:41 PM

Previous topic - Next topic

lysov

Hi,
In the VM 202 configuration the settings for "VirtueMart Home Page Settings" are made to:
Show recent?  yes

But recent products are not displayed in the frontend. Am I doing something wrong or additional steps are needed?

lysov

Does anybody have the same issue?

iplanells

Hi,

I've seen that even if you can check to view the recent articles, there is no code in view.html.php  that checks and displays them :-(

I'm still searching :-(

if(!class_exists('CurrencyDisplay'))require(JPATH_VM_ADMINISTRATOR.DS.'helpers'.DS.'currencydisplay.php');
         $currency = CurrencyDisplay::getInstance( );
         $this->assignRef('currency', $currency);

         if (VmConfig::get('show_featured', 1)) {
            $products['featured'] = $productModel->getProductListing('featured', 10);
            $productModel->addImages($products['featured'],1);
         }

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

         if (VmConfig::get('show_topTen', 1)) {
            $products['topten']= $productModel->getProductListing('topten', 5);
            $productModel->addImages($products['topten'],1);
         }
         $this->assignRef('products', $products);

PakMan

I too have a problem.

lysov

After updating to 208c this issue persists  :(

dchristof

I have the same problem in virtuemart 2.0.8e
Also Latest Products just stopped displaying products - i have no idea why. And I don't understand the difference between Latest Products and Recent Products - but still.. none of the two displays anything in the frontend right now.

Actually Latest Products displays the title but no products while Recent Products displays nothing - not even the title. 

mustang888

Me too! I am using VM 2.0.8e the latest products module disappread suddenly. only Featured Products showing up.