This is just echoing what is in a define statement. It's not the database, so it's easy to mimic.
Let's look at a bit more of that file... say, lines 32 - 37
PHP Code:
<?php echo zen_draw_form('cart_quantity', zen_href_link(FILENAME_SHOPPING_CART, 'action=update_product')); ?>
<div id="cartInstructionsDisplay" class="content"><?php echo TEXT_INFORMATION; ?></div>
<?php if (!empty($totalsDisplay)) { ?>
<div class="cartTotalsDisplay important"><?php echo $totalsDisplay; ?></div>
<br class="clearBoth" />
IF you do THIS...
PHP Code:
<?php echo zen_draw_form('cart_quantity', zen_href_link(FILENAME_SHOPPING_CART, 'action=update_product')); ?>
<div id="cartInstructionsDisplay" class="content"><?php echo TEXT_INFORMATION; ?></div>
<div id="cartInstructionsDisplay" class="content"><?php echo TEXT_INFORMATION_ZIMMERS; ?></div>
<?php if (!empty($totalsDisplay)) { ?>
<div class="cartTotalsDisplay important"><?php echo $totalsDisplay; ?></div>
<br class="clearBoth" />
... you will have created a your own place holder for a define, for a constant called TEXT_INFORMATION_ZIMMERS.
-------------------------------------------------------------
Now, you need to create that DEFINE statement, so open:
includes/languages/english/shopping_cart.php
And look for:
PHP Code:
define('TEXT_INFORMATION', 'You may want to add some instructions for using the shopping cart here. (defined in includes/languages/english/shopping_cart.php)');
Just UNDER that, put the following:
PHP Code:
define('TEXT_INFORMATION_ZIMMERS', 'This is Zimmers custom text... Hey Wow!');
Save the files (in your custom folders if you have them set up) and visit your shopping cart page.
1.