Import/update product prices only

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!
User avatar
whatdaro
Posts: 42
Joined: 19 May 2021, 17:48

Import/update product prices only

Post by whatdaro » 05 Jun 2022, 05:20

Laravel: 9.13.0
Aimeos: 2022.04
PHP: 8.1.6
DB: MariaDB 15.1

Hi,
I need to update prices from another system, I already can provide the data to Laravel/Aimeos in any format.
However, import csv only works with new products, I need to be able to update existing products.
Since Aimeos does not have Eloquent models, what is the mechanism to update product prices please, thanks.

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

Re: Import/update product prices only

Post by aimeos » 06 Jun 2022, 06:58

You could configure the CSV import for the product.code and price.* columns only:
https://aimeos.org/docs/latest/cronjobs ... he-mapping

Alternatively, you can create your own importer, which uses the product manager to update the prices of the products.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply