How can I change the media type when importing csv ?

How to configure and adapt Aimeos based shops as developer
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!
santfather
Posts: 27
Joined: 02 Feb 2022, 10:43

How can I change the media type when importing csv ?

Post by santfather » 02 Feb 2022, 10:59

Laravel version: 8.80
Aimeos version: 2021.10
PHP version: 8.0.8
Win user
In the admin panel, I created a new media type for images. This is the media type I want to use for the generated component (widget). I made changes to the shop.php file. Added the necessary information to csv. The import went without errors, but the media type for the selected products did not change.
Screenshot_7.png
Screenshot_7.png (44.65 KiB) Viewed 911 times
Screenshot_8.png
Screenshot_8.png (156.98 KiB) Viewed 911 times

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

Re: How can I change the media type when importing csv ?

Post by aimeos » 02 Feb 2022, 17:02

Add a new column for media.type in your CSV file directly before or behind the column for the media paths:
https://aimeos.org/docs/latest/cronjobs ... ort/#media
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

santfather
Posts: 27
Joined: 02 Feb 2022, 10:43

Re: How can I change the media type when importing csv ?

Post by santfather » 03 Feb 2022, 14:05

aimeos wrote: 02 Feb 2022, 17:02 Add a new column for media.type in your CSV file directly before or behind the column for the media paths:
https://aimeos.org/docs/latest/cronjobs ... ort/#media
unfortunately it didn't help. maybe there is a possibility to add Media title in Media / Media properties via csv import?
Screenshot_10.png
Screenshot_10.png (133.23 KiB) Viewed 885 times

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

Re: How can I change the media type when importing csv ?

Post by aimeos » 04 Feb 2022, 10:00

Importing media properties are not supported by the CSV importer.
Can you post your mapping and a snippet of your CSV file so we can check if there's something wrong?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply