Task: Storeowner wants to send the customer an email with a unique code when the customer creates an account.The code pattern is "ABC00001", where ABC is fixed text, and 00001 is the customer number, with leading zeros up to exactly 5 digits.There is no need to build a database of already-issued codes, since the customer ID number is already unique per customer.The store is using v1.5.0 code. The thinking and coding process: First, since this must ...
NOTE: UPDATED INFORMATION ABOUT UPGRADING CAN BE FOUND HERE: https://docs.zen-cart.com/user/upgrading/ TL;DR / Executive Summary: Are you looking for a quick way to understand best practices when upgrading your Zen Cart site? The easiest way to view it is as "a rebuild while keeping all the existing data." This article contains 3 sections: 1. What an upgrade is, and what it is not. 2. An overview of how to rebuild a site using ...
(Also see the posts about readiness for PHP 5.4 and 5.5 and 5.6 and readiness for PHP 7.0, 7.1, 7.2, 7.3 ) When PHP 5.3 was released, some older features were retired (some removed, some "deprecated", etc). And if your custom code or your addons/plugins are using those features, things will break and you'll encounter the dreaded "white screen of death". What do you need to change? Here's the list I generally follow, along with ...