[TYPO3-commerce] commerce, basket display dependent on content

Morten Olesen mo at idefa.dk
Wed Mar 24 08:28:01 CET 2010


Hi Attila,

add;

page.marks.BASKET.20.templateFile = {$templatePathCommerce}minibasket.tmpl

minibasket.tmpl being a copy of the basket.tmpl file

/Morten Olesen


Attila Sirman wrote:
> Hello list,
> 
> I've been successfully integrating commerce into several projects. Now I am
> stuck on following task:
> 
> I've integrated a mini basket view into my site showing the number of added
> articles.
> 
> I did it with:
> 
> page.marks.BASKET.20 < plugin.tx_commerce_pi2
> page.marks.BASKET.20.defaultCode >
> page.marks.BASKET.20.defaultCode = QUICKVIEW
> 
> Now, I'd like to change the mini basket's look as soon as an article is
> added. Best would be, if the container's (<DIV>) backColor would change as
> well as the backColor of a placed IMAGE Object.
> 
> I do not know how to code the condition.
> 
> I am thankful for any suggestion.
> Attila
> 
> 


More information about the TYPO3-project-commerce mailing list