Page 1 of 1

Variants on pinned list

Posted: 15 Jul 2019, 10:54
by georg03
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!

Re: Variants on pinned list

Posted: 15 Jul 2019, 14:08
by aimeos
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

Re: Variants on pinned list

Posted: 15 Jul 2019, 16:07
by georg03
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?

Re: Variants on pinned list

Posted: 16 Jul 2019, 14:49
by aimeos
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