PRODUCT MULTIPLE PRICES - HOW TO SELECT ONE ?
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!
Re: PRODUCT MULTIPLE PRICES - HOW TO SELECT ONE ?
Ok !
Thank you very much
Thank you very much
Re: PRODUCT MULTIPLE PRICES - HOW TO SELECT ONE ?
Hello,
I coded some tests, it is almost ok.
So I would like to add my custom files to my extension.
What do I need to write exactly to make the modified files be taken in account?
Is this the /ext/myext/config/mshop.php file that has to be changed?
I tried this in mshop.php
But it doesn't seem to work...
Thank you very much,
sbn
I coded some tests, it is almost ok.
So I would like to add my custom files to my extension.
What do I need to write exactly to make the modified files be taken in account?
Is this the /ext/myext/config/mshop.php file that has to be changed?
I tried this in mshop.php
Code: Select all
return [
'plugin' => [
'provider' => [
'order' => [
'productstock' => [
],
],
],
],
];
Thank you very much,
sbn
Re: PRODUCT MULTIPLE PRICES - HOW TO SELECT ONE ?
No, that won't do anything because there's no such configuration. What do you want to achive?
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
Re: PRODUCT MULTIPLE PRICES - HOW TO SELECT ONE ?
Hello,
Sorry for the misunderstanding! I would like just AimeOs to use my modified files :
- https://github.com/aimeos/aimeos-core/b ... tStock.php
- https://github.com/aimeos/aimeos-core/b ... andard.php
I'm not really sure about how I should do that... I copied the new files to my /myext/ folder with this structure :
/ext/myext/lib/custom/src/MShop/Plugin/Provider/Order/ProductStock.php
and
/ext/myext/controller/common/src/Controller/Common/Order/Standard.php
And I'm probably supposed to change my config files to make them being used by AimeOs?
Thank you a lot !
Sorry for the misunderstanding! I would like just AimeOs to use my modified files :
- https://github.com/aimeos/aimeos-core/b ... tStock.php
- https://github.com/aimeos/aimeos-core/b ... andard.php
I'm not really sure about how I should do that... I copied the new files to my /myext/ folder with this structure :
/ext/myext/lib/custom/src/MShop/Plugin/Provider/Order/ProductStock.php
and
/ext/myext/controller/common/src/Controller/Common/Order/Standard.php
And I'm probably supposed to change my config files to make them being used by AimeOs?
Thank you a lot !
Re: PRODUCT MULTIPLE PRICES - HOW TO SELECT ONE ?
Only templates can be copied, classes must be renamed and the new name configured as you mentioned.
For the common order controller, you need to configure the new name using:
https://github.com/aimeos/aimeos-core/b ... ry.php#L51
The ProductStock plugin is different because you configure that in the "plugin" panel of the admin interface. Rename your class and add a new plugin entry in the panel. Disable the original ProductStock plugin afterwards.
For the common order controller, you need to configure the new name using:
https://github.com/aimeos/aimeos-core/b ... ry.php#L51
The ProductStock plugin is different because you configure that in the "plugin" panel of the admin interface. Rename your class and add a new plugin entry in the panel. Disable the original ProductStock plugin afterwards.
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