[TYPO3-shop] Is it possible to make a product-tree shop via TYPO3 page-tree functional?
etude at list.ru
etude at list.ru
Sat Dec 8 22:41:24 CET 2012
> Le 17. 11. 12 15:18, etude at list.ru a ecrit :
> >
> > And still there is exactly the same way of updating MiniBasket.
> > Just one correction - the MiniBasket updates after ANY CLICK on link in
> > the main tree, doesn't matter what page it was. It can be click on THE
> > SAME page. Updating page via 'F5', 'Ctrl-F5' and pressing 'Enter' doesn't
> > change the MiniBasket state.
>
> I do not think that this can happen.
> But you can set plugin.tt_products.basket.store = 0.
> Then the entry will not be stored into the basket. No update of the
> OVERVIEW is necessary.
>
> - Franz
>
> _______________________________________________
> TYPO3-project-tt-products mailing list
> TYPO3-project-tt-products at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-tt-products
At last! May be the syntax was too complex (and wrong, of course :)
After about a month of trials and errors I've inserted one more line inside of this fragment:
----------------------------------------
plugin.tt_products_basket = USER
plugin.tt_products_basket {
----------------------------------------
And it changed to:
----------------------------------------
plugin.tt_products_basket = USER
plugin.tt_products_basket < plugin.tt_products
plugin.tt_products_basket {
----------------------------------------
Now the MINIBASKET works Ok!! Thank you, Franz, your extension made it possible!!!
Furthermore, the whole typoscript can be rewritten without 'USER' and 'userFunc'.
Much more simple:
#############################
##### Constants (begin) #####
plugin.tt_products.PIDbasket = 77
plugin.tt_products.domain = localhost
##### Constants (end) #####
##### Typoscript (begin) #####
config.no_cache = 1
menu = HMENU
menu.entryLevel = 0
menu.1 = TMENU
menu.1 {
wrap = <ul>|</ul>
NO.wrapItemAndSub = <li>|</li>
}
menu.2 < menu.1
menu.3 < menu.1
plugin.tt_products_basket < plugin.tt_products
plugin.tt_products_basket {
code = OVERVIEW
pid_list.data = 7
recursive = 99
}
plugin.tt_products < plugin.tt_products
plugin.tt_products {
code = LIST
pid_list.data = page:uid
recursive = 0
}
page = PAGE
page.10 < menu
page.20 < plugin.tt_products_basket
page.30 < plugin.tt_products
##### Typoscript (end) #####
############################
This example still works wonderful. As I can see - there is no matter what plugin goes first or last.
Theyt can be listed in any order, the minibasket still updates on the same click of mouse!
By the way, is it possible to register on the tt_products forum (http://www.jambage.com)?
I didn't find any link to register a new user :(
More information about the TYPO3-project-tt-products
mailing list