X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   If shipping country = (https://forum.x-cart.com/showthread.php?t=33515)

DaveB 08-27-2007 12:49 PM

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

DaveB 08-30-2007 04:19 AM

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}


All times are GMT -8. The time now is 03:29 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.