[TYPO3-shop] Split title in two lines

Jogvan Olsen jo at atlanticvideo.dk
Mon Oct 19 11:23:28 CEST 2009


Hi

I have many products which have the same name (product title) and 
different model number/name ( product subtitle). This is no problem in 
the frontend - products are displayed:

product title
product subtitle


My Problem
For all my products I have related products (which have same title and 
different subtitle). My problem is that I can only see the product title 
in the list of related products. When many product have the same title, 
is it very hard to maintain and edit the related list.

The best solution would be to be able to see both title and subtitle in 
the related list (and accessory list) - but that require modification of 
the code ...

I am trying to make simple solution - I will type in both name and model 
number/name into the title field, split by a token character. Then I 
want to split the title into two lines in frontend.


I have tried with this in my Setup, but it doesn't work...

plugin.tt_products.conf.tt_products.ALL.field {
     title = COA
     title {
         10 = TEXT
         10.value = ###PRODUCT_TITLE###
	10.split {
		token = :
		cObjNum = 1
		1.current = 1
		1.wrap = | <br>
	}
	10.wrap = |
     }

}

Can anyone guide me to a solution?


Thanks in advance
Jogvan Olsen


More information about the TYPO3-project-tt-products mailing list