Shopping Cart Define Page

Description
Shopping Cart Text for Zen Cart v1.3.x
======================================
This modification provides a means of editing the shopping catr text in the define pages editor. It makes it much easier to edit the default text 'You may want to add some instructions for using the shopping cart here. (defined in includes/languages/english/shopping_cart.php)'.

Change History:

Date Version Who Why
================================================================================ ================
03/08/2008 1.0 Eric Schneider (Eric_S) Instructions for installing Shopping Cart Text page

To add this page to your system,
1. Install the following files to the appropriate file structure:
/includes/extra_datafiles/shopping_cart_text_filenames.php
/includes/languages/english/html_includes/define_shopping_cart_text.php (this adds the page to the drop down box in Define Pages Editor)
/includes/languages/english/html_includes/YOURTEMPLATE/define_shopping_cart_text.php
/includes/modules/pages/shopping_cart/header_php.php
/includes/templates/YOURTEMPLATE/templates/tpl_faq_default.php

2. Rename the three "YOURTEMPLATE" folders to be the same name as your main template.

3. Upload all the files to your server, using similar folder structure as found in this ZIP.

Files overwritten:
/includes/modules/pages/shopping_cart/header_php.php

Changes to overwritten files:

Added the following at lines 33-34

// include template specific file name defines
$define_page = zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/html_includes/', FILENAME_DEFINE_SHOPPING_CART_TEXT, 'false');

================================================================================ =======
/**
* @version $Id: shopping_cart_text.php v1.0 $
* @Released to the public under GNU Public License V2.0 - http://www.zen-cart.com/license/2_0.txt
* @Adapted from examples provided by Zen Cart code
* @Eric_S motorxtreme@sbcglobal.net
*/
+ Download Latest

Submit An Updated Version
Zen Cart® Versions v1.3.8
Original Author Eric_S
Downloads 586

Version History

Shopping Cart Define Page   -   Version: 1.0
  + Download
Zen Cart® Versions v1.3.8
Date Added 17 Apr 2010
Author
File Size 23.4 KB
PHP 5.3 Safe? Unknown
Downloads 586
Report A Problem