[TYPO3-commerce] product category: howto remove wrap from title/subtitle?

Pascal Cramer pascal at NOSPAMroguesheep.nl
Wed Sep 10 20:16:34 CEST 2008


Cray,

In my installations, there is no <h1> header and no div with 
class="com-category-subtitle" in the singleView (or product view)
Which version are you using???

Pascal

Cray Flatline wrote:
> Pascal Cramer wrote:
> 
>> in the static.setup.txt there is a line:
>>     subtitle.wrap = <div class="com-category-subtitle">|</div>
>> so I guess you can overrule the wrap with something like:
>> ---
>> plugin.tx_commerce_pi1 {
>>   listView {
>>     categories {
>>       subtitle.wrap = |
>>     }
>>   }
>> }
> 
> 
> I have to do it in Single Mode. I tried it, but with singleView, but
> still doesn't work. ):
> 
> 
>>> I have in the product template such construction:
>>>
>>>     <h1>###CATEGORY_ITEM_SUBTITLE###: ###CATEGORY_ITEM_TITLE###</h1>
>>>
>>> But it gives me in the frontend something like:
>>>
>>> <h1><div class="com-category-subtitle">Breguet</div>: <h3>Classique
>>> Alarm</h3></h1>
>>>
>>> how I can remove <div class="com-category-subtitle"> and <h3> from
>>> there? I'm desperate to solve it )):
>>>
>>> Thanks a lot!
>>>
>>>
>>> WBR,
>>> Cray Flatline


More information about the TYPO3-project-commerce mailing list