[TYPO3-shop] Default product per category
Tania Morales
tania.morales at gmail.com
Mon Oct 15 05:00:15 CEST 2007
I found a solution for this,
[globalVar = GP:tx_ttproducts_pi1|cat=13]
plugin.tt_products.defaultProductID = 48
[global]
So this needs to be done for each category and only in the ts for the
products page.
On 10/14/07, Franz Holzinger <franz at fholzinger.com> wrote:
>
> Hello,
>
> > In tt_products it can be done to assign a default category and a default
> > productitem. So far so good. But how about this one:
> >
> > We have more pages with each a category,
> > when the page is choosen it opens a list in 1 category AND and it should
> > open a default product in this category.
> > When another page (with other category) it open list AND should open a
> > default producti in that second category.
>
> you should normally provide a URL parameter in the link of the page.
> tx_ttproducts_pi1[cat]=2&tx_ttproducts_pi1[product]=12
>
> But otherwise you must create a TypoScript extension template on each
> page an set the default category and default product.
>
> Or you can use an IF clause for TypoScript with [...] brackets. Ask for
> the current page and make different default settings.
>
> - Franz
>
> _______________________________________________
> TYPO3-project-tt-products mailing list
> TYPO3-project-tt-products at lists.netfielders.de
>
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-tt-products
>
--
T at ni@
More information about the TYPO3-project-tt-products
mailing list