Questions around the TYPO3 integration and plugins as well as Flow and NeosCMS
Forum rules: Always add your TYPO3/Flow, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#3116 by franzrudolf
30 Jul 2016, 14:34
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
#3117 by franzrudolf
31 Jul 2016, 09:05
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
}
#3118 by franzrudolf
31 Jul 2016, 11:05
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
}
#3126 by aimeos
01 Aug 2016, 14:33
This is the page ID of your basket page:
franzrudolf wrote:plugin.tx_aimeos.settings.client.html.basket.standard.url.target = 11
#3140 by franzrudolf
01 Aug 2016, 18:57
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... :-)
#3143 by aimeos
02 Aug 2016, 10:02
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.
#3147 by franzrudolf
02 Aug 2016, 12:28
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.
#3155 by aimeos
03 Aug 2016, 09:33
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.