Price configuration options
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!
Price configuration options
Hi
How can I get configuration options (key/value) for product price ?
I have tried getConfigValue() method but with no success:
How can I get configuration options (key/value) for product price ?
I have tried getConfigValue() method but with no success:
Code: Select all
Called unknown macro "getConfigValue" on class "Aimeos\MShop\Price\Item\Standard"
Re: Price configuration options
The price items doesn't have a config property, so there's no way to store key/value pair there. The only items with config properties are:
- catalog
- product
- list items for referencing items from other domains
If you want to store arbitrary key/value pairs for prices, use properties (for prices, there's a mshop_price_property table available). How to manage and retrieve properties is documented here:
https://aimeos.org/docs/latest/models/m ... properties
- catalog
- product
- list items for referencing items from other domains
If you want to store arbitrary key/value pairs for prices, use properties (for prices, there's a mshop_price_property table available). How to manage and retrieve properties is documented here:
https://aimeos.org/docs/latest/models/m ... properties
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