Glossary Item Box
Overview
This page has been written as a guide to aid you in upgrading your site to v4.3.0 and after. Please read this page in its entirety before attempting to upgrade.
Group Changes
If you created a group that has a record_number between 2 and 14 (inclusive), the upgrade script will automatically change the record number of the group, increasing it by 500. This will not affect any code built-into Squirrelcart, and users will still be correctly detected as being members of these groups. However, if you have any custom PHP code written to reference these groups, it may need to be updated to use the new group record number.
Theme and Template Changes
If you are using a custom version of any of the below template files, make the changes outlined for the custom version of that file inside your custom theme folder (Example: squirrelcart/themes/YOURTHEMENAME). If you are not using a custom version of that file you do not need to make any changes. This section is a guide only. If a v4.3.0 template file has a lot of changes, you are probably better off reverting to the default version by removing your custom version of the same file.
account_email_customer_html.tpl.php
account_email_customer_text.tpl.php
account_email_merchant_html.tpl.php
account_email_merchant_text.tpl.php
forgot_password_email.tpl.php
forgot_password_email_htm.tpl.php
These templates no longer exist as of version 4.3.0. The content of these messages is now controlled by the records found in the Automatic Emails table.
order_email_merchant_html.tpl.php -----> RENAMED TO: order_email_staff_html.tpl.php
order_email_merchant_text.tpl.php ------> RENAMED TO: order_email_staff_text.tpl.php
order_email_customer_html.tpl.php
order_email_customer_text.tpl.php
These templates no longer include an opening HTML or BODY tag, a greeting, a closing, or a title. They are now used only to control the order detail portion of these messages. If you have customized these templates, we recommend reverting to the default versions by deleting or renaming your custom copies of these files.
You can customize the content above and below the order detail for these emails in the Automatic Emails table.
If you need to add any custom HTML that would normally appear inside the HEAD tag, that is now done in the email_html.tpl.php template file, which is used for all HTML formatted emails.
ship_notify_email_html.tpl.php
ship_notify_email_text.tpl.php
These templates no longer include an opening HTML or BODY tag, a greeting, a closing, or a title. They are now used only to control the center content of these messages, which contains tracking information. If you have customized these templates, we recommend reverting to the default versions by deleting or renaming your custom copies of these files.
You can customize the content above and below the tracking information for these emails in the Automatic Emails table.
If you need to add any custom HTML that would normally appear inside the HEAD tag, that is now done in the email_html.tpl.php template file, which is used for all HTML formatted emails.
order_detail.tpl.php
order_history.tpl.php
style_main.css.php
As of version 4.0, it is usually not necessary to modify this file. See the section about extending CSS here for more info.
If you have a modified version of this file in your custom theme folder, you'll need to make these changes:
Add this to the bottom of the file:
© 2001-2017 Lighthouse Development. All Rights Reserved.