I hope to get some help to something that looks simple but I can not make it working:
I have a table in my main page definition announcing free shipping of orders over EUR300 and the following line, which changes the 300 to the equivalent when a different currency is selected:
That works fine. I now want to move this to a side box using Kuroi's blank sidebox mod. Contents of the relative includes/languages/english/extra_definitions/my_template/freeshipping.php file are:HTML Code:FREE SHIPMENT OF ORDERS OVER <?php echo $currencies->format(MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER) ?>
However, all I get in the side box isCode:<?php /** * blank sidebox definitions - text for inclusion in a new blank sidebox * * @package templateSystem * @copyright 2007 Kuroi Web Design * @copyright Portions Copyright 2003-2007 Zen Cart Development Team * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: freeshipping_sidebox.php 2007-05-26 kuroi $ */ define('BOX_HEADING_FREESHIPPING_SIDEBOX', ''); define('TEXT_FREESHIPPING_SIDEBOX', ' FREE SHIPMENT OF ORDERS OVER <?php echo $currencies->format(MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER) ?> '); ?>
FREE SHIPMENT OF ORDERS OVER format(MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER) ?>
I know it's something simple but, not being a PHP programmer, doesn't help me to understand what's wrong except that it's PHP within PHP and the syntax should be somehow different.
Could anybody please point me to the right direction. My thanks are advanced.


Reply With Quote


Many thanks to all you gurus who spend your time to help us novices.

