Page 1 of 2

Mini-basket has disappeared after update

Posted: 30 Jul 2016, 14:34
by franzrudolf
Hi again,

after I updated Aimeos from version 2.4.6 to 16.7.0 (on TYPO3 6.2.26) the Mini-basket has disappeared. Hopefully you have a helpful hint for me, since I haven't quite understood so far how the mini-basket is being implemented, anyway.

Thanks in advance
Ralph

Re: Mini-basket has disappeared after update

Posted: 31 Jul 2016, 09:05
by franzrudolf
I found the solution. I put this in the root.ts and the mini-basket reappeared:

lib.navigation.basket = COA
lib.navigation.basket.10 = USER
lib.navigation.basket.10 {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
vendorName = Aimeos
extensionName = Aimeos
pluginName = basket-small
controller = Basket
action = small
settings =< plugin.tx_aimeos.settings
}

Re: Mini-basket has disappeared after update

Posted: 31 Jul 2016, 11:05
by franzrudolf
Now, there is the problem that I cannot change the link-target of the mini-basket.
It is always <a href="detail/"> - no matter whether or not I use realURL.

This is my ts (as described it in https://aimeos.org/docs/TYPO3/Add_basket_to_navigation):

plugin.tx_aimeos.settings.client.html.basket.standard.url.target = 11
lib.navigation.basket = COA
lib.navigation.basket.10 = USER
lib.navigation.basket.10 {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
vendorName = Aimeos
extensionName = Aimeos
pluginName = basket-small
controller = Basket
action = small
settings =< plugin.tx_aimeos.settings
}

Re: Mini-basket has disappeared after update

Posted: 01 Aug 2016, 14:33
by aimeos
This is the page ID of your basket page:
franzrudolf wrote: plugin.tx_aimeos.settings.client.html.basket.standard.url.target = 11

Re: Mini-basket has disappeared after update

Posted: 01 Aug 2016, 18:57
by franzrudolf
aimeos wrote:This is the page ID of your basket page:
franzrudolf wrote: plugin.tx_aimeos.settings.client.html.basket.standard.url.target = 11
Yes, I know. But it doesn't work.
The Link on the Mini-Basket doesn't point to pid 11 (first, it pointed to a wrong pid (12 / detail) for quite a long time, now (without any changes done by me) it points to the root-url). I solved the problem quick and dirty with jquery, but I would prefer to do it the right way... :-)

Re: Mini-basket has disappeared after update

Posted: 02 Aug 2016, 10:02
by aimeos
Please remember that the content of the mini basket is cached in the session of the user until it's content changes. Thus, you can still have an old link in your session even if you fixed it in the meantime.

Re: Mini-basket has disappeared after update

Posted: 02 Aug 2016, 12:28
by franzrudolf
Okay, but I tried it numerous times and deleted every cache I know (including the typo3temp-files, system-cache, aimeos-cache via scheduler... ). The line

plugin.tx_aimeos.settings.client.html.basket.standard.url.target = 11

does not work. The link always points to the base url of the shop.

Re: Mini-basket has disappeared after update

Posted: 03 Aug 2016, 07:25
by aimeos
Did you also clear all your cookies in your browser?

Re: Mini-basket has disappeared after update

Posted: 03 Aug 2016, 09:27
by franzrudolf
Yes, I did delete the browser-cookies, but it doesn't help either.

Re: Mini-basket has disappeared after update

Posted: 03 Aug 2016, 09:33
by aimeos
And you are sure that "11" is the correct page ID of the page with the "Basket Standard" plugin and that the page isn't access protected or otherwise disabled? TYPO3 generates a link to the home page in these cases.

The problem is specific to your installation because we have numerous others where it works like expected.