Property-Based SKU

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: Property-Based SKU

Post by aimeos » 25 Jun 2019, 15:44

Please keep in mind that the theme files are not taken from

typo3conf/ext/aimeos/Resources/Private/Extensions/ai-client-html/client/html/themes/aimeos.js

but instead from

typo3conf/ext/aimeos/Resources/Public/Themes/aimeos.js
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

superscotty19
Posts: 95
Joined: 13 May 2019, 08:09

Re: Property-Based SKU

Post by superscotty19 » 25 Jun 2019, 20:45

Oh! Good to know!

In that case, I have changed the .js file (keeping the .php file as-is), and now I get nothing in the properties dropdown at all. Now, typo/typo3conf/ext/aimeos/Resources/Public/Themes/aimeos.js looks like this:

Code: Select all

                                        } else {
                                                $(".addbasket .btn-action", parent).removeClass("btn-disabled").removeAttr("disabled");
                                        }

                                        # added to fix glitch found by Scott and fixed by Aimeos :-)
                                        $(".catalog-detail-additional .subproduct-actual").removeClass("subproduct-actual");
                                        $(".catalog-detail-additional .subproduct-" + prodId).addClass("subproduct-actual");

                                }
                        }

# Removed as part of a glitch found by Scott and fixed by Aimeos :-)
#                       $(".catalog-detail-additional .subproduct-actual").removeClass("subproduct-actual");
#                       $(".catalog-detail-additional .subproduct-" + prodId).addClass("subproduct-actual");
                });
        },
-S.

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: Property-Based SKU

Post by aimeos » 26 Jun 2019, 10:33

We've created a pre-release for you so you don't have to patch around yourself:
https://aimeos.org/fileadmin/download/a ... 0-pre1.zip
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

superscotty19
Posts: 95
Joined: 13 May 2019, 08:09

Re: Property-Based SKU

Post by superscotty19 » 26 Jun 2019, 22:48

THAT WORKED!!!!

Thank you!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-Scott.

Post Reply