Remove Coupon on 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!
tenkraD
Advanced
Posts: 110
Joined: 25 Jul 2017, 08:38

Remove Coupon on Basket

Post by tenkraD » 14 Feb 2019, 16:46

Hi all, is it possible by configuration supparts to remove the coupon part on basket standard.

Code: Select all

# https://aimeos.org/docs/Configuration/Core/client/html/basket/standard/standard/subparts
## client/html/basket/standard/default/subparts
plugin.tx_aimeos.settings.client.html.basket.standard.standard.subparts{
   0 = detail
}


# https://aimeos.org/docs/Configuration/Core/client/html/basket/mini/standard/subparts
# client/html/basket/mini/standard/subparts 
plugin.tx_aimeos.settings.client.html.basket.mini.standard.subparts{
   0 = detail
}
The above Typoscript is not working. I get an Error: Class "\Aimeos\Client\Html\Basket\Mini\Detail\Standard" not available.

Many Thanks

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

Re: Remove Coupon on Basket

Post by aimeos » 15 Feb 2019, 13:43

We've reduced the number of subparts in 2017.01 because it complicated frontend development. To remove the coupon part, copy the basket standard template and remove the HTML code there:
https://github.com/aimeos/ai-client-htm ... rd.php#L78
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply