Change Billing Address class
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!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Change Billing Address class
I want overwrite
How to do ? Do I need to write a decorator ?
Or maybe just copy this class to and change its name and file name to and then I will be able to change it ?
And how to assign such a class to a specific shop later ?
Code: Select all
\vendor\aimeos\ai-client-html\client\html\src\Client\Html\Checkout\Standard\Address\Billing\Standard.php
Or maybe just copy this class to
Code: Select all
\packages\new-ext\client\html\src\Client\Html\Checkout\Standard\Address\Billing\Billing.php
Code: Select all
Billing.php
And how to assign such a class to a specific shop later ?
Re: Change Billing Address class
Using a decorator is preferred if you want to add or modify data assigned to the view.
Overwriting the class is only necessary if you need to change the implementation of protected methods and then you give your new class another name (not "Billing" but e.g. "Myproject") and configure the new class name.
Overwriting the class is only necessary if you need to change the implementation of protected methods and then you give your new class another name (not "Billing" but e.g. "Myproject") and configure the new class name.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star