Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

If shipping country =

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-27-2007, 12:49 PM
 
DaveB DaveB is offline
 

Senior Member
  
Join Date: May 2004
Location: UK
Posts: 121
 

Default 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
Reply With Quote
  #2  
Old 08-30-2007, 04:19 AM
 
DaveB DaveB is offline
 

Senior Member
  
Join Date: May 2004
Location: UK
Posts: 121
 

Default 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
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:19 PM.

   

 
X-Cart forums © 2001-2020