Documentation
Installation instructions
You can install extension using Extension Installer or manually. In the latter case unpack and upload all folders from "upload" directory to the root of your store. If there's install.xml file in the package, rename it to extension_name.ocmod.xml, replacing "extension_name" with extension's name (or any other name), and upload it to "system" folder. When upgrading from previous version simply rewrite all existing files. Refresh modifications cache from Extensions -> Modifications page (not needed if install.xml file is not included in the package).
Note for OpenCart 3 users
If you see "The directory is not allowed to be written to" error message, download OpenCart 3.0 Extension Installer Fix from this page and install it. Then install the main extension.
Note for OpenCart 2.0.X users
Sometimes OCMod inserts modification in multiple files, which are separated by "|" character in XML-file. On earlier OpenCart 2 versions a comma was used instead. To quickly fix this, open XML file (usually, install.xml) and replace all occurrences of "|" character with "," for "path" attribute in every applicable <file> element. Search for "<file path=" to quickly find and highlight all elements.
If after installation you have "Permission denied" issue when accessing Modules, Shipping, Payments, Order Totals (or any other) section of Extensions menu, remove "module", "shipping", "payment", "total" (or any other) folder from "admin/controller/extension" directory. Same for "admin/language/en-gb/extension" directory. For example ("module" should be removed from both paths):
admin/controller/extension/module
admin/language/en-gb/extension/module
Permissions
In some cases it is required to manually set permissions for installed extension. To do this go to System -> User Groups, find your group and select access/modify permissions for desired extension. You can find extension in permissions list by folder/filename pair (for example, marketing/acoupon).
Extension Setup
3.1.0
- OpenCart 3 Compatibility Fixes extension is not needed anymore. You may remove it.
3.0.0
- Added OpenCart 3 Compatibility.
2.3.0
- ADDED: You can now also deactivate extension, when certain payment or shipping methods are selected (as well as totals).
- ADDED: Hide Total option to hide birthday discount in another total.
- ADDED: Add Info option to add discount information to another total, if Hide Total is enabled.
- FIXED: Active totals are not properly checked on OpenCart 2.2 and higher.
- Slightly reworked interface.
- Minor improvements.
2.2.3
- FIXED: Discount is not applied to referrer, if Minimum Orders value is set.
2.2.2
- FIXED: Customer table is not properly populated with reference IDs.
2.2.1
- ADDED: Discount value on main Account page for referrer and referred customer.
- ADDED: Disable Version Check option in extension's settings.
- FIXED: Minor compatibility error with Multilingual Logo extension.
- FIXED: "Can't use method return value in write context" error on some Account pages.
- FIXED: "Undefined index: color" error, when list of sharing links is empty.
- FIXED: Wrong number in name of second sharing link.
- Minor improvements.
2.2.0
- OpenCart 1.5 support completely removed.
- ADDED: Sharing feature to share Reference ID right from the site, with custom title, message and sharing links.
- FIXED: Minor incompatibilities with OpenCart 2.3.
- Some language stings were changed, some added.
- Minor bug fixes and improvements.
2.1.0
- Extension now fully compatible with OpenCart 2.2
- Minor improvements.
2.0.5
- FIXED: Several compatibility issues on OpenCart 2.1.
2.0.4
2.0.3
- FIXED: Discount is not properly applied to referrer sometimes.
- FIXED: Customer's reference ID not unset on logout.
- FIXED: Use Reference ID section is displayed for guests, when it is set to be used by registered customers only.
- FIXED: Customer's own reference ID sometimes displayed in Use Reference ID section by default.
- FIXED: Multiple reference IDs check is not applied properly.
- Several improvements in logic.
- Minor bug fixes.
2.0.2
- FIXED: Customer's reference ID not added on autocomplete in order editing form.
- Minor bug fixes and improvements.
2.0.1
2.0.0
- Extension is now fully compatible with OpenCart 2.0.
- Apply Reference ID section moved to Shopping Cart page and now works similar to coupon.
- Reworked, much more stable reference checking and discount applying algorithm.
- ADDED: Reference ID now automatically generated for new customers and orders, created in back-end.
- ADDED: Multiple References option in extension settings to allow or disallow using multiple reference IDs.
- ADDED: Allow if Active option in extension settings to allow customers with active reference ID to apply other reference IDs.
- FIXED: Customer's Reference ID empties, when order saved in back-end has errors .
- FIXED: Referrer's discount value is never applied, referred customer's discount value used instead.
- Improved feedback with additional error messages.
- A lot of minor bug fixes and improvements.
1.0.0