| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Adding Free Shipping Image | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
![]() Code changed as per Balinor recommendations.
Works perfect!!!!!
__________________
Xcart 5.1.6 Building New Store Xcart4.6.4 Gold Plus Xcart 4.6.4 Platinum Smart Template, Mail Chimp Upgrade Checkout One (One Page Checkout) Checkout One X-Payments Connector Checkout One Deluxe Tools Call For Price On Sale Module Buy Together Module MAP Price MOD |
|||||||
#12
|
|||||||
|
|||||||
![]() I am trying to learn all this.
Here is a copy and past of the code from the other thread. {if $product.free_shipping eq "Y"} <img src="{$ImagesDir}/Free_Ship1.jpg">{/if} As for the code I used, I changed the image name, but the code is from on sale, I looked at his code to see what I was doing wrong. He does not have the trailing slash or the alt= image tag. Should I put the alt=image in his code. Thank you for the help!!
__________________
Xcart 5.1.6 Building New Store Xcart4.6.4 Gold Plus Xcart 4.6.4 Platinum Smart Template, Mail Chimp Upgrade Checkout One (One Page Checkout) Checkout One X-Payments Connector Checkout One Deluxe Tools Call For Price On Sale Module Buy Together Module MAP Price MOD |
|||||||
#13
|
|||||||
|
|||||||
![]() Your image code was different, you were missing the closing > which broke the tag. The alt is not essential, but if you want a valid site both the alt and the / are necessary, yes.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#14
|
|||||||
|
|||||||
![]() Anyone know the syntax to make this work in LiteCommerce?
__________________
-- LC Version: 2.2.35 PHP: 5.2.6 MySQL server: 5.0.67-log Web server: Apache/2.2.10 Operating system: FreeBSD |
|||||||
#15
|
|||||||||
|
|||||||||
![]() I have the image showing on the product page but in the listing it will not appear using
{if $products[product].free_shipping eq 'Y'}<img src="{$ImagesDir}/free_shipping.gif" alt="Free Shipping" />{/if} this is in 4.2.2 - any ideas..could the image be too big perhaps?
__________________
Version 4.1.11 Version 4.2.2 Version 4.3.1 Version 4.4.2;3 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|