Adapt Basket
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Adapt Basket
Hi,
How can I hide the voucher code and the order option in the basket?
Thank your for your help.
--
aimeos: 2019.10
ai-site extension
symfony: 4.4
php: 7.2
ubuntu: 18
How can I hide the voucher code and the order option in the basket?
Thank your for your help.
--
aimeos: 2019.10
ai-site extension
symfony: 4.4
php: 7.2
ubuntu: 18
-
- Posts: 12
- Joined: 23 Feb 2020, 10:32
Re: Adapt Basket
You need to create an extension (Read here https://aimeos.org/docs/Developers/Create_an_extension)
Then copy standard file from
ai-client-html/client/html/templates/basket/standard/body-standard.php to
yourextension/client/html/templates/basket/standard directory. Modify the content there.
Then copy standard file from
ai-client-html/client/html/templates/basket/standard/body-standard.php to
yourextension/client/html/templates/basket/standard directory. Modify the content there.
Re: Adapt Basket
Thanks for your help. It works.
By deleting the complete <div class="basket-standard-coupon"> section in myextension/client/html/templates/basket/standard/body-standard.php file, the voucher was remove completely.
By deleting the {{ aibody['basket/bulk']|raw }} row in myProject/templates/bundles/AimeosShopBundle/Basket/index.html.twig file, the order section in my basket was remove completly, too.
By deleting the complete <div class="basket-standard-coupon"> section in myextension/client/html/templates/basket/standard/body-standard.php file, the voucher was remove completely.
By deleting the {{ aibody['basket/bulk']|raw }} row in myProject/templates/bundles/AimeosShopBundle/Basket/index.html.twig file, the order section in my basket was remove completly, too.