Unable to edit HTML

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
thepurpleblob
Posts: 20
Joined: 22 Oct 2020, 15:39

Unable to edit HTML

Post by thepurpleblob » 27 Oct 2020, 22:31

I'm attempting to make some changes to the HTML in the checkout pages (if it makes any difference, I have 'onepage' enabled).

I am making changes in the file ext/ai-client-html/client/html/templates/basket/standard/body-standard.php (I want to remove the coupon section).

However, editing this file does nothing. Am I doing this in the wrong place or am I missing a step? I can't find anything specific in the docs.

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

Re: Unable to edit HTML

Post by aimeos » 28 Oct 2020, 17:15

First: Don't change the core files! Create your own extension copy the files you want to change and change them there:
https://aimeos.org/docs/latest/frontend ... templates/

If none of your changes is visible, the cache is active (by default). You can disable it during development:
https://github.com/aimeos/aimeos-laravel#hints
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

thepurpleblob
Posts: 20
Joined: 22 Oct 2020, 15:39

Re: Unable to edit HTML

Post by thepurpleblob » 28 Oct 2020, 18:26

Ahh ok - I'd got the idea that the ext/ files are not the core files.

I see now, I'll try that.

thepurpleblob
Posts: 20
Joined: 22 Oct 2020, 15:39

Re: Unable to edit HTML

Post by thepurpleblob » 28 Oct 2020, 21:34

It didn't help that I was looking at the wrong file as well :D

However, creating an extension and copying the files works as advertised. Thanks for the help (again)!

Post Reply