Re: How to show "New Arrival!" Icon
moolman where in products_t.tpl did you insert the code
Thanks |
Re: How to show "New Arrival!" Icon
Instead of the pic I get this showing up:
[img]/skin1/images/new_product.gif[/img] Do I have to change the image links, how to call for the images in 4.1.9? |
Re: How to show "New Arrival!" Icon
Try this <img src="{$ImagesDir}/new_product.gif" alt="new" />
This is of course assuming your image is in the skin1/images directory. |
Re: How to show "New Arrival!" Icon
Quote:
Thank you very much. That works. I am glad this forum has ppl like you! I got it to work in 4.1.9: Just like Dsparks said: 1. Add your graphic file in folder "skin1/images". I named my graphic file "skin1/images/mynew.gif 2. Add the following code to the file "skin1/customer/main/products.tpl" : Code:
{* // 60 * 60 * 24 * 20 days in unix time = 1728000 *} I added mine on line 22. If you done this it should display this pic on the product pages if you have any new products. If you want it at detailed product pages you have to add this in product.tlp Add in customer/main/product.tpl: Code:
{* // 60 * 60 * 24 * 20 days in unix time = 1728000 *} I added my at line 30, but you might have to test around a little bit to see where it ends up and what fits your site. So from the original code I just changed how to call for images according to Jwaits suggestions. |
Re: How to show "New Arrival!" Icon
Works on 4.2.2
|
Re: How to show "New Arrival!" Icon
Anyone got this working for version 5.2?
|
All times are GMT -8. The time now is 10:54 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.