In this final portion of the guide to Zen Cart language files, and how they are used, you will learn about the last two definition types. The first of these are your own definitions. While you are customizing your zen cart, you may want, or need, to include additional definitions. This can easily be done by creating a definition file, and saving it to the includes/languages/ENGLISH/extra_definitions folder of your zen cart. The file you create should be a .php file, and should be named according to your pre-existing file name conventions to avoid confusion.
When you make your own defines, you should follow the pattern provided by this sample code from product_free_shipping.php:
define('TEXT_PRODUCT_FREE_SHIPPING_ICON', zen_image(DIR_WS_TEMPLATE_IMAGES . 'always-free-shipping.gif', 'Always Free Shipping')); // for an image or comment out to use another
The last page type is your defined pages. Included in this category is your privacy statement, your conditions of use and shipping and handling information. There are two ways to edit these files: you can make your changes in a text editor and upload the modified file to your server; or you can edit them in your admin control panel. Here is a list of the important page files kept in this folder:
If you need help with your zen cart web site please contact us for a quote.
At Picaflor Azul, we specialize in custom designed responsive zen carts to fit any business, and accommodate any budget. Contact us today about converting your current zen cart to a responsive design, or to have a fantastic new custom design custom tailored to fit your needs and preferences. We can also offer you help with module installation, wordpress integration, or a full zen cart upgrade.