VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: lysov on April 01, 2012, 17:56:41 PM

Title: Show recent?
Post by: lysov on April 01, 2012, 17:56:41 PM
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?
Title: Re: Show recent?
Post by: lysov on April 03, 2012, 19:00:14 PM
Does anybody have the same issue?
Title: Re: Show recent?
Post by: iplanells on April 13, 2012, 17:11:32 PM
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);
Title: Re: Show recent?
Post by: PakMan on May 11, 2012, 13:53:40 PM
I too have a problem.
Title: Re: Show recent?
Post by: lysov on July 06, 2012, 17:27:33 PM
After updating to 208c this issue persists  :(
Title: Re: Show recent?
Post by: dchristof on August 20, 2012, 18:31:41 PM
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. 
Title: Re: Show recent?
Post by: mustang888 on September 09, 2012, 13:16:54 PM
Me too! I am using VM 2.0.8e the latest products module disappread suddenly. only Featured Products showing up.