This change supports products with and without a custom id and or attributes.
The idea is when a custom id is assigned to an attribute in the SBA stock page than it will be used, if no image is assigned to the attribute that the base product model number is displayed.
If a product does not have an attribute, than the base product model number is displayed.
There is a flag in the admin/configuration/stock page that allows the enabling and disabling of the custom id display on the forms.
Admin: pages and reports.
orders
invoice
packing slip
More planned to be added later.
Store (front end): pages.
Product Info page
shopping cart
checkout confirmation
account history
New Functionality to test, the image change (swapping) on selection.
Add a product: (using 'Dropdown' (Select) list add multiple attributes, lets say color, and assign a color image to each color.
Note: This new feature relies on the use of an 'id="SBA_ProductImage"' tag added to the image box in tpl_modules_main_product_image.php
Sample file was added to the package.
Add the following to your stylesheet.css.
Make changes as needed for your site.
/* SBA Selection List format */
.sbaselectlist{
display: inline;
font-size: 1em;
margin: 0.1em;
}
This change supports products with and without a custom id and or attributes. The idea is when a custom id is assigned to an attribute in the SBA stock page than it will be used, if no image is assigned to the attribute that the base product model number is displayed.
If a product does not have an attribute, than the base product model number is displayed. There is a flag in the admin/configuration/stock page that allows the enabling and disabling of the custom id display on the forms.
Admin: pages and reports. orders invoice packing slip
More planned to be added later.
Store (front end): pages. Product Info page shopping cart checkout confirmation account history
New Functionality to test, the image change (swapping) on selection.
Add a product: (using 'Dropdown' (Select) list add multiple attributes, lets say color, and assign a color image to each color.
Note: This new feature relies on the use of an 'id="SBA_ProductImage"' tag added to the image box in tpl_modules_main_product_image.php Sample file was added to the package.
Add the following to your stylesheet.css. Make changes as needed for your site.
/* SBA Selection List format */ .sbaselectlist{ display: inline; font-size: 1em; margin: 0.1em; }