| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
How to show "New Arrival!" Icon | ||||
|
|
Thread Tools | Search this Thread |
#41
|
|||||||
|
|||||||
Re: How to show "New Arrival!" Icon
moolman where in products_t.tpl did you insert the code
Thanks
__________________
www.photobadge.com Version 4.2 PHP 4.4.7 SQL 4.1.22 Free BSD 7Dana Skin CDSEO 1 Page Checkout |
|||||||
#42
|
|||||||
|
|||||||
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? |
|||||||
#43
|
|||||||||
|
|||||||||
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.
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
|
#44
|
|||||||
|
|||||||
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:
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:
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. |
|||||||
|
#45
|
|||||||||
|
|||||||||
Re: How to show "New Arrival!" Icon
Works on 4.2.2
__________________
PHP 5.2.11 MYSQL 5.0.45 WESH UK hosting --- Add-ons ----- X-RMA X-AOM X-FancyCategories X-Feature comparison BCSE Request a Quote BCSE Customer Testimonials BCSE Advanced ratings and reviews BCSE Customer reward points BCSE Reward points refferal BCSE Customer polls Cart Labs - Tabs |
|||||||||
#46
|
|||||||
|
|||||||
Re: How to show "New Arrival!" Icon
Anyone got this working for version 5.2?
|
|||||||
|
|||
X-Cart forums © 2001-2020
|