Attribute image replaces main product image on sel ## - ## Version: v1.5.10
This update incorporates the changes made to support version 1.5.9 and 1.5.10.
Updated 06/16/19, V1.5.10: (mc12345678)
- Primarily updated what is now considered 1_Main_Files.
- Moved files into sub-folders to improve clarity of installation and to identify Zen Cart version specific files.
- Moved admin language defines out of the core language file for options_name_manager.php and placed in a separate file.
- Updated ajax.php file to the Zen Cart V1.5.6b version.
- Addressed a few minor PHP 7.3 related issues.
- Improved incorporation with Zen Colorbox.
- Added display of images for option type 6 when applied to radio buttons and checkboxes as if the image type had been set to 0.
- Added scope declaration for methods in the observer class.
- Updated install and remove SQL, including comments for understanding.
Updated 04/07/18, V1.5.9: (mc12345678)
- Added try/catch javascript style code to support return from shopping cart where attributes do not have an assigned action.
- Added observer to modify the shopping_cart image based on selections made when adding the product to the cart.
- Corrected an encoding issue with the ajax file (Changed from UTF-8 with BOM to ANSI)
- Added the $zco_notifier to the ajax file to support changes made in the module main_product_images to offer the use of observers.
- Reworked the ajax file to offer up-front processing.
- Added a function (get_attrib_image) to the observer class to reduce code redundancy and to offer a consistent image retrieval method.
Github location:
https://github.com/mc12345678/Attribute_image_Swap