V.3.2 for CE Phoenix Cart 1.1.0.0+
Tested with Phoenix 1.1.0.1
PHP 7.0 - 8.3
by @raiwa 
raiwa@phoenixcartaddons.com
www.phoenixcartaddons.com
based on Options Images BS v1.3 by Tsimi
----------------------------------------------------
Support:
https://phoenixcart.org/forum/addons/
----------------------------------------------------
Changes version 3.2

- replaced overridden product_loader class by system hook
- added siteWide hook to add required options attributes entries

----------------------------------------------------
Changes version 3.1

- Reverted options menu to bsselect to fix required input setting
- Updated missing hook warning in modules
- Tested with Phoenix 1.1.0.1

----------------------------------------------------
Changes version 3.0

- Updated for Phoenix 1.1.0.0+ and Bootstrap 5
- Tested with Phoenix 1.1.0.0

----------------------------------------------------
Changes version 2.6

- Updated support for template classes to match coding in 1.0.9.4 core
- Tested with Phoenix 1.0.9.4 and PHP 8.3

--------------------------------------------------------------------------------------------------------
Changes version 2.5

- Fixed undefined errors in Admin -> Categories/Products -> Produst Attributes
- Tested with Phoenix 1.0.8.21 and PHP 8.2

--------------------------------------------------------------------------------------------------------
Changes version 2.4

- Fixed missaligned Value Input for multi language stores in Admin: Catalog: Products Attributes. Thanks to @Scratchilito for the report.

--------------------------------------------------------------------------------------------------------
Changes version 2.3

- Updated deprecated DIR_FS_CATALOG_IMAGES constant.

--------------------------------------------------------------------------------------------------------
Changes version 2.2

- Updated for Phoenix 1.0.8.6+
- Moved and renamed admin hook from siteWide to products_attributes
- Modernized code to match actual core standards

--------------------------------------------------------------------------------------------------------
Changes version 2.1

- Updated copyright info to Phoenix Cart
- Moved site wide shop hook to override template
- Modernized code to match actual core standards

----------------------------------------------------
Update 2.6/3.1 to 3.2
----------------------------------------------------

1.)
Transfer and replace all new files over. No core files will be overwritten.
The following file may already be present if you are using one of my other addons which adds columns to the options/attributes table:
includes/hooks/shop/system/_09_loadAttributesRaiwa.php

It is identical to the system hook packed with the addons:
Ajax Attributes Manager 4.0+
Attributes Weight 2.1+
QtPro 5.0+
Option Types 2.1+
Wholesale Lite 5.1+
Wholesale Pro 5.1+

2) 
Delete the following file:
includes\system\override\attrib_images\product_loader.php

----------------------------------------------------
Update 2.6/3.0 to 3.1
----------------------------------------------------

1.)
Transfer and replace all new files over. No core files will be overwritten.


----------------------------------------------------
Update 2.5 to 2.6
----------------------------------------------------

1.)
Uninstall the pi module "Options & Attributes Images"
OR
Uninstall the content module "Product Options Images"

2.) 
Transfer and replace all new files over. No core files will be overwritten.

3.)
Install the pi module "Options & Attributes Images"
OR
Install the content module "Product Options Images"

----------------------------------------------------
Update 2.4 to 2.5
----------------------------------------------------

1.) 
Transfer and replace the following file:
includes/hooks/admin/products_attributes/OptImages.php.

----------------------------------------------------
Update 2.2/3 to 2.4
----------------------------------------------------

1.) 
Transfer and replace all new files over. No core files will be overwritten.

----------------------------------------------------
Update 2.1 to 2.2
----------------------------------------------------

1.) 
Transfer and replace all new files over. No core files will be overwritten.

3.) Delete the following files and directories (if left empty):
includes\languages\english\hooks\admin\siteWide\swOptImages.php
includes\hooks\admin\siteWide\swOptImages.php
    
4.) Make sure you are using the "override" template and have it selected in:
Admin : Configuration : My Store : Template Selection
Otherwise you must copy:
 templates/override/includes/hooks/shop/siteWide/bsSelect.php
TO:
 templates/YOUR SELECTED TEMPLATE/includes/hooks/shop/siteWide/bsSelect.php
----------------------------------------------------
Update 2.0 to 2.1
----------------------------------------------------

1.)
Uninstall the pi module "Options & Attributes Images"
OR
Uninstall the content module "Product Options Images"

2.) 
Transfer and replace all new files over. No core files will be overwritten.

3.) Delete the following file:
    templates/default/includes/hooks/shop/siteWide/bsSelect.php
    
4.) Make sure you are using the "override" template and have it selected in:
Admin : Configuration : My Store : Template Selection
Otherwise you must copy:
 templates/override/includes/hooks/shop/siteWide/bsSelect.php
TO:
 templates/YOUR SELECTED TEMPLATE/includes/hooks/shop/siteWide/bsSelect.php

5.)
Install the pi module "Options & Attributes Images"
OR
Install the content module "Product Options Images"

******************************************************************************
THAT'S IT!
******************************************************************************