Leave imported prices untouched
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!
-
- Posts: 4
- Joined: 01 Jun 2021, 12:03
Leave imported prices untouched
Specific Example: Given that there is a system that produces product CSV files on a daily basis. These files are imported each night automatically. New Products will be imported including their prices. The Shop owner however can change the imported price in the shop. On the next import run, the price must not be overwritten by the import.
Generalized question: Can i - somehow - configure or program a solution to skip the import of certain fields, attributes, or related values (like media) based on external or dynamic logic (like an api call, php closure, or database field value)?
Generalized question: Can i - somehow - configure or program a solution to skip the import of certain fields, attributes, or related values (like media) based on external or dynamic logic (like an api call, php closure, or database field value)?
Re: Leave imported prices untouched
The best way would be to create your own price processor for the product CSV importer where you can implement what you want:
https://github.com/aimeos/ai-controller ... andard.php
You can configure your new processor using:
https://github.com/aimeos/ai-controller ... andard.php
You can configure your new processor using:
Code: Select all
controller/common/product/import/csv/processor/price/name => Myproject
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