View Single Post
Old 01-21-2021, 04:21 PM
shaz shaz is offline

Senior Member
Join Date: Jul 2008
Location: Sydney, Australia
Posts: 174

Default Re: Message on checkout when country selected

Thanks ITVV

Yes, adding the below code to skin/common_files/modules/One_Page_Checkout/opc_main.tpl and /skin/xtreme_gear/modules/One_Page_Checkout/profile/address_info.tpl gets it to display, however Steve is correct... only if the country is loaded by default with the cart, or a page refresh.

{if $userinfo.b_country eq "GB"}
<h3 style="color:red;">MESSAGE HERE</h3>

I was an x-cart 4 dev in a past life now so geting into the ajex/js is now a bit beyond me these days I'm afraid!
X-Cart Developer
Sydney - Australia
Reply With Quote