Variants on pinned list

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3/Flow, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
georg03
Posts: 13
Joined: 15 Jul 2019, 10:46

Variants on pinned list

Post by georg03 » 15 Jul 2019, 10:54

Hello, is it possible to show all variants of a product on the pinned list (pinned-body-standard.php)? If yes how?
I am currently using Aimeos 18.10.9 on Typo3 8.7.27

Thank you!

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

Re: Variants on pinned list

Post by aimeos » 15 Jul 2019, 14:08

If you add that code to the template, you can show the variant attributes and the "add to basket" button:
https://github.com/aimeos/ai-client-htm ... #L225-L279
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

georg03
Posts: 13
Joined: 15 Jul 2019, 10:46

Re: Variants on pinned list

Post by georg03 » 15 Jul 2019, 16:07

I copied the code and added it to pinned-body-standard.php within <?php foreach( $pinList as $id => $productItem ) : ?><?php endforeach; ?> but I do not get any output. Am I missing something?

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

Re: Variants on pinned list

Post by aimeos » 16 Jul 2019, 14:49

You have to adapt the code a bit and you hopefully removed the if-condition. You need that code as well:
https://github.com/aimeos/ai-client-htm ... hp#L24-L30
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply