| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Showing icon for free shipping on product list page | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I implimented this line of code to my product.tpl:
Code:
And it works very nicely - http://test.streetortrack.com/13-630A-Canton-Ford-289-302-Aluminum-Front-Sump-Pan-FREE-SHIPPING-pr-17102.html What I'd like to also display is the another free shipping image under the thumbnail of the product in the product list page - http://test.streetortrack.com/home.php?cat=294 This way the customer wouldn't need to actually load the product details to see that they can save money with free shipping. And I wouldn't need to add the free shipping text to the product name... Any ideas? |
|||||||
#2
|
|||||||
|
|||||||
![]() Didn't you already ask this in another thread?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() I asked it in this thread posted 4/25/06 - http://forum.x-cart.com/viewtopic.php?t=28315&highlight= but haven't received any replies.
My question is different than the one in that thread so I started a new topic. |
|||||||
#4
|
|||||||
|
|||||||
![]() add the same code to customer/main/products.tpl (single column layout) and customer/main/products_t.tpl (multi column).
__________________
----------------------- x-cart v4.7.6 [LIVE] x-cart v4.0.18 [retired 2004-2016] x-cart v3.5.13 [retired] x-cart v3.4.14 [retired] |
|||||||
#5
|
|||||||
|
|||||||
![]() Where do I put the code to get the image to display under the tumbnail? Here is my /customer/main/products_t.tpl:
Code:
|
|||||||
#6
|
|||||||
|
|||||||
![]() looks like you are actually using single column format in your link so you need to modify products.tpl not products_t.tpl (but i'd add it to both).
This is from my 4.0.18 (w/o DSEFU) so the code quotes might be slightly different. customer/products.tpl look for the following (do a search for product_thumbnail), which is your thumbnail in the listing: Code:
add after (the free shipping part): Code:
so the final bit should look similar to this: Code:
__________________
----------------------- x-cart v4.7.6 [LIVE] x-cart v4.0.18 [retired 2004-2016] x-cart v3.5.13 [retired] x-cart v3.4.14 [retired] |
|||||||
#7
|
|||||||
|
|||||||
![]() Hmm, I tried putting:
Code:
all over the place in my /customer/main/products.tpl but couldn't get anything to show up the image. Here is my /customer/main/products.tpl: Code:
|
|||||||
#8
|
|||||||
|
|||||||
![]() sorry i copy'pasted your example....
try this one instead! Code:
__________________
----------------------- x-cart v4.7.6 [LIVE] x-cart v4.0.18 [retired 2004-2016] x-cart v3.5.13 [retired] x-cart v3.4.14 [retired] |
|||||||
#9
|
|||||||
|
|||||||
![]() Why don't you just put the code into product_thumbnail.tpl. That's what I did to display an image above certain thumbnails and it worked great. I'm using 3.5.14 but I don't see why it wouldn't work in later versions as well.
__________________
4.1.9 (Linux) Live Store www.thecrackedbook.com Find used books and out of print books. |
|||||||
#10
|
|||||||
|
|||||||
![]() Great, that works a treat!
|
|||||||
|
|||
X-Cart forums © 2001-2020
|