I have worked with Oxid couple of months and everything has went just fine. But now I am stucked with a problem where my confined OOP/smarty -skills are really tested (or so I think): how can I show product variant (color,size) information in right column minibasket? By looking Smarty-debug -information I can see there is an array (chosen_selectlist) where the right information sits and laughs at me
How can I get my hands on to that information? Is there a simple solution which I can’t find or do I have to try to write a module (a get-function?) or what?
Can anyone point me to the right direction? Any help would be much appreciated!
Thank you for your answer! I did at the very beginning look at the basket-template (basket.tpl) but I think it doesn’t use the same object. Anyway I did a bit more experimenting and tried to use a smarty foreach-loop inside a loop where articles are shown in minibasket. And it worked!
[B]So here is the answer[/B] for the question of how to show product-variants in minibasket (dyn/minibasket.tpl):
put this (or a modification of this):
[QUOTE=salli;16043]Thank you for your answer! I did at the very beginning look at the basket-template (basket.tpl) but I think it doesn’t use the same object. [/QUOTE]
Its easy to check…
[{$oObject|@get_class}] give you the classname.