07-09-2007, 02:31 AM
|
|
|
|
X-Wizard
|
|
Join Date: Nov 2006
Location: UK
Posts: 1,164
|
|
|
Payment methods - Special instructions - HTML - call .tpl coding help
Hi Guys,
I have altered my Payment method as per fearnothing's excellent suggestion as at http://forum.x-cart.com/showthread.php?t=22197&page=4 article #37.
Got the gif's showing fine and the HTML working great, however I would now like to do the following:
Based on which currency the customer has selected (We have the Ruby Mods Currency mod) when the checkout page opens I would like the payment methods instructions for say Cheques to include a file to display. Along the lines of
if $ruby_store_currency = GBP then
display check_details_GBP.html (This page would show details and address for GBP cheques)
if $ruby_store_currency = USD then
display check_details_USD.html (This page would show details and address for USD cheques)
etc etc.
Could somebody point me in the right direction please?
Many thanks in advance
Nick
__________________
X-Cart Pro 4.7.12 Active and working great with reBOOT-reDUX
X-Cart Pro 4.6.6 Retired after 6 years of first class service
X-Cart Pro 4.1.7 Retired after 9 years of first class service
Apache: 2.4.25
PHP: 7.4.5
MariaDB: 10.1.44
Arch: x86_64
|
|