|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
Dear people.
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. How can this be done? Regards, Eef _______________________________________________ TYPO3-project-tt-products mailing list TYPO3-project-tt-products (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-tt-products |
|
#2
|
|||
|
|||
|
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/...ct-tt-products |
|
#3
|
|||
|
|||
|
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 (DOT) 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/...ct-tt-products > -- T@ni@ _______________________________________________ TYPO3-project-tt-products mailing list TYPO3-project-tt-products (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-tt-products |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3-shop] One product depending on another product | Karsten | typo3-project-tt-products@lists.netfielders.de | 3 | 09.08.2007 13:36 |
| [TYPO3-shop] Default product image - commerce | Marko Milosevic | typo3-project-tt-products@lists.netfielders.de | 0 | 06.02.2007 15:42 |
| [TYPO3-shop] Commerce - Show category name in Single product view | Marko Milosevic | typo3-project-tt-products@lists.netfielders.de | 0 | 02.02.2007 17:24 |
| [TYPO3-shop] Product Articles | Simon | typo3-project-tt-products@lists.netfielders.de | 1 | 31.01.2007 07:34 |
| Re: [TYPO3-ttnews] Default category per SysFolder? | Jesper Wipemo | typo3-project-tt-news@lists.netfielders.de | 0 | 11.12.2006 17:38 |