Jump to content

Display more than 2 images New Product module


mirko77
 Share

Recommended Posts

By default the New Products module shows only 2 images, no matter how many new products I want to show.

I followed this thread and it works, but sometimes for some reasons the images are not showed but there is a question mark instead...

It looks like the images are not even created in the first place.
I want to always show the most recent 6 products, no matter when I entered them.

Any suggestion?

By the way, the code to grab the images for each new product can be modified like so:

>
{if $new_products|@count > 0}

</pre>
<ul>

           {if $new_products|@count > 1}

           {foreach from=$new_products item=product name=new}





           {/foreach}

           {/if}

</ul>
<br><br><div></div>
<br><br><p>{l s='All new wines' mod='blocknewproducts'}</p>
<br><br>   {else}<br><br><p>{l s='No new wines at this time' mod='blocknewproducts'}</p>
<br><br>   {/if



It works but it does not display more than 2 images.


Thank you

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More