Catalog only site with no basket

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
pixelplumber
Posts: 22
Joined: 26 Oct 2019, 12:38

Catalog only site with no basket

Post by pixelplumber » 06 Dec 2019, 13:08

I’ve been experimenting with TYPO3 and aimeos 2019.10.2 plugin trying to create a catalog only site with no purchasing. So far I’ve used the plugin typoscript to disable some domains to hide bits of the catalog detail templates.

I’m having trouble removing the add to basket button and number though. The docs seem to indicate you can set “basket-add” to false.
https://aimeos.org/docs/Configuration/C ... basket-add

I’ve tried this in my ts template as plugin.tx_aimeos.settings.client.html.catalog.product.basket-add = 0 and false

And I’ve tried it in the detail plugin ts with client.html.catalog.product.basket-add = 0 and false.

None of those seem to work the button remains. Is this the right setting to use or do I have to touch the actual templates?

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

Re: Catalog only site with no basket

Post by aimeos » 07 Dec 2019, 10:32

This configuration option is for the list views to display an "add to basket" button. It doesn't apply to the detail view and to remove the button from there, you should copy the catalog/detail/body-standard.php template to your own extension and remove the appropriate section there.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply