| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
If shipping country = | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
If shipping country =
Is it possible to add a line into the checkout somewhere that picks up on the shipping country, that would appear if a customers shipping profile met certain criteria, and provided a link to a popup window with extra information?
eg. {if $userinfo.s_county eq 'Acountry'}<A href="popup.htm">{$lng.lbl_shippingadvicelink}</A>{else}{/if} The text in the popup being set in languages
__________________
Xcart 4.0.19 Pro mySQL 5.5.44 PHP 5.3.27 |
|||||||
#2
|
|||||||
|
|||||||
Re: If shipping country =
If anyones interested, this does work, although I haven't got around to trying the popup yet, just inserting a language variable.
eg to provide a message to a customer in, as an example, Germany {if $userinfo.s_country eq "DE"}{$lng.lbl_shippingadvice}{else}{/if}
__________________
Xcart 4.0.19 Pro mySQL 5.5.44 PHP 5.3.27 |
|||||||
|
|||
X-Cart forums © 2001-2020
|