Peper Posted July 12, 2010 Posted July 12, 2010 I need some help to display the currency sign at checkout_shipping.php to what ever currency is selected by a user. e.g. Free shipping only for an order of $5000.00 or more with a maximum package weight of 30 Kg The $ needs to change to the users currency selected Please any help Getting the Phoenix off the ground
Guest Posted July 12, 2010 Posted July 12, 2010 Pierre, OSC should already do that if you have your currencies set up correctly. Chris
Peper Posted July 12, 2010 Author Posted July 12, 2010 Pierre, OSC should already do that if you have your currencies set up correctly. Chris Thanks for the reply This is something else I'm working on - currently the currency sign comes from the shipping language file and I need to change this to show the currency selected Getting the Phoenix off the ground
germ Posted July 12, 2010 Posted July 12, 2010 This works for me: <?php echo $currencies->currencies[$currency]['symbol_left']; ?> If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Peper Posted July 13, 2010 Author Posted July 13, 2010 This works for me: <?php echo $currencies->currencies[$currency]['symbol_left']; ?> Thanks for posting I'm not sure how to put in the code where the $ sign is define('MODULE_SHIPPING_FREEAMOUNT_TEXT_TO_HEIGHT', 'Free shipping only for an order of $' . MODULE_SHIPPING_FREEAMOUNT_AMOUNT . ' or more with a maximum package weight of ' . MODULE_SHIPPING_FREEAMOUNT_WEIGHT_MAX . ' ' . MODULE_SHIPPING_FREEAMOUNT_TEXT_UNIT); Getting the Phoenix off the ground
germ Posted July 13, 2010 Posted July 13, 2010 define('MODULE_SHIPPING_FREEAMOUNT_TEXT_TO_HEIGHT', 'Free shipping only for an order of ' . $currencies->currencies[$currency]['symbol_left'] . MODULE_SHIPPING_FREEAMOUNT_AMOUNT . ' or more with a maximum package weight of ' . MODULE_SHIPPING_FREEAMOUNT_WEIGHT_MAX . ' ' . MODULE_SHIPPING_FREEAMOUNT_TEXT_UNIT); If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.