Import csv with supplier
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!
Import csv with supplier
Hello and thanks again for aimeos.
OS : Ubuntu 18.04
Laravel : 6
package : "aimeos/aimeos-laravel": "~2019.10",
In french we have a saying "never 2 without 3" so it is my third question (and the last I hope).
I search in your documentation without finding any way to set supplier during csv import.
I tried to add a column supplier.code in the mapping only to get a big red error.
Is there a way to set supplier code for products during csv import ?
Thanks
OS : Ubuntu 18.04
Laravel : 6
package : "aimeos/aimeos-laravel": "~2019.10",
In french we have a saying "never 2 without 3" so it is my third question (and the last I hope).
I search in your documentation without finding any way to set supplier during csv import.
I tried to add a column supplier.code in the mapping only to get a big red error.
Is there a way to set supplier code for products during csv import ?
Thanks
Re: Import csv with supplier
At the moment it's not supported to import suppliers in the product CSV file (categories are). You can implement a processor for suppliers in exactly the same way than for categories:
https://github.com/aimeos/ai-controller ... andard.php
Simply replace "catalog" by "supplier" and "Catalog" by "Supplier" (case sensitive). Then, your mapping will work.
If you do so, please create a pull request on Github because we would love to get that feature into the core
https://github.com/aimeos/ai-controller ... andard.php
Simply replace "catalog" by "supplier" and "Catalog" by "Supplier" (case sensitive). Then, your mapping will work.
If you do so, please create a pull request on Github because we would love to get that feature into the core
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: Import csv with supplier
I was not not sure about the process.
Thanks for your reply.
Thanks for your reply.
Re: Import csv with supplier
Hello there
I've "finished" the product/import/csv that take care of supplier.
I would like to know how I can submit it to you.
I followed https://aimeos.org/docs/Developers/Git_workflow it but not really sure.
I will submit it as it and let you come back to me.
I'm expecting a reject
I've "finished" the product/import/csv that take care of supplier.
I would like to know how I can submit it to you.
I followed https://aimeos.org/docs/Developers/Git_workflow it but not really sure.
I will submit it as it and let you come back to me.
I'm expecting a reject
Re: Import csv with supplier
Have you already been able to improve your PR?
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
-
- Posts: 1
- Joined: 19 May 2020, 12:33
Re: Import csv with supplier
Any predictions when we should see this feature? It would be great to import products with supplier
Re: Import csv with supplier
It seems to me a little bit wrong, because of process method is not fully suitable for Supplier domain. Simple replacing is not working, I've tried now.aimeos wrote: ↑29 Apr 2020, 09:32 https://github.com/aimeos/ai-controller ... andard.php
Simply replace "catalog" by "supplier" and "Catalog" by "Supplier" (case sensitive). Then, your mapping will work.
Also, as I see, we have to save supplier <-> product relation to table mshop_supplier_list, not at mshop_product_list despite of price <-> product and media <-> product relations, which store at mshop_product_list
Will do that today
Laravel 6.18.19 | php 7.4.7 | Xubuntu | Aimeos Laravel 2019.10.5
Re: Import csv with supplier
Exactly and the catalog importer for product CSV does the same for mshop_catalog_list instead of mshop_supplier_list
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
- AndreyFedotov
- Posts: 3
- Joined: 01 Mar 2021, 10:52
Re: Import csv with supplier
Is there any update about this case? I need to import products and associate existed suppliers. There are only two possible values how can I do import?aimeos wrote: ↑29 Apr 2020, 09:32 At the moment it's not supported to import suppliers in the product CSV file (categories are). You can implement a processor for suppliers in exactly the same way than for categories:
https://github.com/aimeos/ai-controller ... andard.php
Simply replace "catalog" by "supplier" and "Catalog" by "Supplier" (case sensitive). Then, your mapping will work.
If you do so, please create a pull request on Github because we would love to get that feature into the core
Re: Import csv with supplier
It's implemented and available. Here's the source code:
https://github.com/aimeos/ai-controller ... andard.php
https://github.com/aimeos/ai-controller ... andard.php
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