Mini-basket has disappeared after update

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3/Flow, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
franzrudolf
Posts: 38
Joined: 23 Nov 2015, 14:10

Mini-basket has disappeared after update

Post 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

franzrudolf
Posts: 38
Joined: 23 Nov 2015, 14:10

Re: Mini-basket has disappeared after update

Post 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
}

franzrudolf
Posts: 38
Joined: 23 Nov 2015, 14:10

Re: Mini-basket has disappeared after update

Post 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
}

User avatar
aimeos
Administrator
Posts: 3787
Joined: 01 Jan 1970, 00:00

Re: Mini-basket has disappeared after update

Post 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
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

franzrudolf
Posts: 38
Joined: 23 Nov 2015, 14:10

Re: Mini-basket has disappeared after update

Post 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... :-)

User avatar
aimeos
Administrator
Posts: 3787
Joined: 01 Jan 1970, 00:00

Re: Mini-basket has disappeared after update

Post 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.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

franzrudolf
Posts: 38
Joined: 23 Nov 2015, 14:10

Re: Mini-basket has disappeared after update

Post 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.

User avatar
aimeos
Administrator
Posts: 3787
Joined: 01 Jan 1970, 00:00

Re: Mini-basket has disappeared after update

Post by aimeos » 03 Aug 2016, 07:25

Did you also clear all your cookies in your browser?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

franzrudolf
Posts: 38
Joined: 23 Nov 2015, 14:10

Re: Mini-basket has disappeared after update

Post by franzrudolf » 03 Aug 2016, 09:27

Yes, I did delete the browser-cookies, but it doesn't help either.

User avatar
aimeos
Administrator
Posts: 3787
Joined: 01 Jan 1970, 00:00

Re: Mini-basket has disappeared after update

Post 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.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply