[TYPO3-commerce] Quick question: Attribute values "zero"

Matthias Krappitz matthias at nospam.aemka.de
Tue Aug 3 16:00:07 CEST 2010


> I'm using commerce 0.12.4 branch and TYPO3 4.3.3. and have a slight 
> problem:
>  - In articles view, the attribute value is not shown if it is zero.
> Only the attribute name and unit is shown.
>
> Is this a commerce config problem or maybe a bug ? If the shop is
> online, it will be necessary to render the "0"
> values because of german food law an article sorting.

Hi Frank - I'm not completely sure where this comes from, but sometimes it 
is a better idea to invent a new template marker via one of commerce's pi1 
php-hooks where you request this value via the attribute class of commerce 
and format it as you like yourself.

Cheers

Matthias 



More information about the TYPO3-project-commerce mailing list