Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Newest Products Mod - has anyone got it working OK?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #1  
Old 06-20-2012, 12:08 AM
 
snowboard snowboard is offline
 

Senior Member
  
Join Date: May 2007
Posts: 111
 

Default Newest Products Mod - has anyone got it working OK?

Hi all,

I got the newest products mod where it is supposed to display the last x number of items added in the last y days on a page, so that you have the latest products listed.

The page is supposed to show product thumbnails with a link. However, it is instead pulling the main image and resizing that to a thumbnail size. As a result, the page takes 32 seconds to load and the images are not optimal. The thumbnails were created to look good small.

The code calls for a tpl file, which says:

{if $new_products|@count gt 0}
{capture name=dialog}
{include file='customer/main/products.tpl' products=$new_products}
{/capture}
{include file='dialog.tpl' title='Newest Products' content=$smarty.capture.dialog}
{/if}

And the customer/main/products.tpl I assume is the file that determines how category pages are displayed. My category pages are displaying thumbnails as they should be.

So wondering why the new products page using the mod is not showing thumbnails?

Thanks
__________________
version 4.1.7
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:58 PM.

   

 
X-Cart forums © 2001-2020