Magento import multiple product images with sort order - magento

I am trying to import products using Magento 1.7 in built import/export dataflow profile function
So far I can import products details and multiple images as per this tutorial.
But problem here is I am not able to maintain store view and image sort order together.
How I can format CSV so that I can control image sort order and store view?
in short what is magento field name for image sort order?
( options tried but failed: position, image_position, media_gallery_position, gallery_position, gallery_position )
Scenario is:
We have three images per product out of which one image should have first sort order and store view thumbnail, small, base image active ie. this image should use as primary image of product and other two are just inner images only for display purpose on product page.

Magento importing exporting are always quirky problems. as far as I know for 1.7, there aren't much options.
http://devjuhong.com/web/magento-import-products-using-csv/
Check out above page it's pointing that problem too.

Store Manager for Magento does a pretty good job at importing products. For say a 100 products it takes a minute or two which includes time for RE-INDEXING product data. Benefits include -
Nice UI to deal with attributes, attribute sets, categories and products.
Provides column mapping functionality for CSV.
XLS/XLSX files are supported which is a nice touch since a lot of developers use functions to auto fill columns.
Connection manager can handle multiple database connections.
There are many more features. Above are just a subset of what I had tried.

Related

Amazon Seller Inventory File – Where to get main image URLs?

I'm trying to update the inventory with more information on clothing sizes, material composition etc. by uploading the appropriate inventory file. Now, the template table that I got from here has loads and loads of required columns such as country_of_origin and target_gender that I need to fill out, as well as main_image_url. I'm not sure what to enter there, as the existing images are just fine.
After researching (see below), I'd like to know if I need to go through the trouble of somehow downloading and uploading all of the product images just for the sake of the inventory table, or if there is any other way to create an inventory file that will not mess up the product information.
Or am I maybe misguided in the way that I am trying to do the product updates?
Thanks for any help!
My Research
Can I just leave the field blank even though it is a required field?
 
On this Amazon help page, it says to include every piece of information for existing products into the table even it might seem redundant. Whether that is a recommendation or an absolute requirement, I cannot tell.
Is there an efficient way to retrieve all of the main image URLs for existing products?
Apparently, it is not possible to download the main_image_url in a inventory report like I did with most other required product data columns.
As our products are imported to Amazon by a Shopify app, we do not have all of the product images saved on a server by product ID or anything like that.
According to this StackOverflow answer, there are API calls for retrieving product images by ASIN, but those are scaled down, I cannot use those.

Product Data Scraping Magento

The product uploading feature will be automated, so all you need to do is enter a product link through the back-end itself and that then add the product photo and description during the night preferably
Please let us know its possible in Magento
IMHO, the best way to achieve that is to create a csv uploader in the backend like you can find in Mage_ImportExport_Adminhtml_ImportController (the whole module can be source of inspiration). The csv feeds a special table that you create with during your module initialization. At the end, with a cron, at the desired time you check this table for the url and then retrieve the photo and description using curl or something similar.
Side considerations :
If you have a large amount of products to inject, you will prefer direct sql queries than the slow Magento ORM
Do not forget to deactivate the indexation during import process
If you need to update and references are different between your source and your Magento, create a special attribute to be sure to have a link between both
If you feel more confortable with other framework or language and you need to create a large amount of data, the importation process can be done with any language able to interact with mysql.

Show simple product with all possible attribute combinations based on configurable product

I have an e-commerce site that provides made-to-order clothing. I've created a configurable product and just one associated product.
Is it possible to display all of the possible attribute combinations within just one associated product rather than manually add every combination?
I've tried allowing out of stock products to be displayed, but this didn't show all of the possible combinations.
I'm not hugely experienced with Magento, but I've used many CMS systems and inventory management products. I've never once seen a matrix / configurable / multi-variation / whatever you want to call it setup where you didn't have to create each combination as a distinct SKU. I'm not saying it's 100% impossible, but I'd view it as extremely unlikely and probably a waste of time to pursue.
Why not just create your configurable products and their sub SKUs via CSV import? It will be far easier and faster than creating them one at a time. Creating every combination will also be extremely easy. If you're not comfortable with Excel, you need to correct that yesterday if you want to be good at product management.
See this article:
https://www.siteground.com/tutorials/magento/import-products.htm

Product combinations from two or more products

I am trying to make something like in the following link, using Magento:
http://www.gemvara.com/jewelry/cushion-cut-candace-ring-8mm-gem/cushion-diamond-14k-white-gold-ring-with-diamond/2fgxv
You can see that product main images and all other details change.
Now I tried configuring a bundled product with combination of two or more simple products, but this will create too many products.
Suppose I configure the following:
1: 3 products of stones
2: 2 products of ring base
3: Than the total number of products that I will have to create will be 3(stones) + 2(stone base) +6(3*2 bundled product with all possible combinations) = 11 products
For more options, this will be to complicated to manage.
How can we use Magento to do this efficiently?
There are two ways to approach this scenario, depending on whether or not you need to manage inventory stock for each combination.
If you don't need to manage the inventory for each possible combination, then you can use a Simple Product type and use the Custom Options to provide the various options to customers. You can put in price adjustments as well as the SKU that is generated when various selections are shown.
If you do have to manage inventory stock for each combination, then you do have to create — in your example — 6 simple products. Then you can present them using the Configurable product type. In this way if one of the rings is out of stock, the remaining 5 possible combinations are still presented to the customer. Still allowing them to choose a stone and ring base, but not allowing the combination of the one out of stock to be chosen.
So, it really boils down to whether you need to manage stock or not. With Magento CE 1.9.1, there are also more robust swatch image functions that might be helpful with what you're trying achieve, as well.
If you want unique images for every permutation, you will need to create each simple product to achieve this. To make life easier, you could create all the products in a csv and them import with Magmi.
In order to achieve the image option links, check out the latest version of Magento (1.9.1) which now supports option swatches and will load the simple product's base image which would achieve the effect you are after.
Best
Tom

Automatically create configurable products from list of simple products in csv file

I am using magmi to import products into Magento.
I have a long list of simple products in a spreadsheet and it is a right pain going through it and adding a configurable product row for each set of products manually. It is of course also error prone.
I wonder if there is a way of processing this sheet automatically to add in the configurable product rows. It's fairly easy to see when one set of products changes to another.
I've browsed lots of forums and tried to do it through excel but can't seem to find a way of doing it. Has anyone any suggestions please?
Check if this helps!
http://huztechbuzz.wordpress.com/2014/06/03/magento-add-configurable-products-dynamically/
Let me know if you anything else.
Auto creating configurables as a 'feature' may have several pitfalls:
Which sku to use for the configurable ?
What if a similar configurable sku exists:
do you want to "append" associated product list with simples listed
or replace the associated product list with ?
what if the file has :
simples with configurable product to create
AND
"real" simples that should not be associated to any configurable but share the same attribute_set
So, in a "generic" way, many questions may be left without answers and ,as such, couldn't be mass automated that easily.
However, you have a specific need , for a specific workflow, implying specific data. Then in YOUR case, you (or someone you can hire) can write a magmi plugin that would create the configurable according to YOUR specifications.
I hadn't appreciated the capabilities of the magmi configurable product plugin until I saw this: https://www.blinkdata.com/magmi-configurable-item-processor/.
This showed me it's possible to import all the simple products in one file, and then import the configurable products from another file. The "trick" is to have SKUs with two components, along the lines cccc-ssss, with each group of simple products linked together by a common prefix cccc to the SKU. The configurable product has the SKU cccc.
Creating the configurable products file is not easy (for me at least), excel doesn't seem to have the best facilities for this but I found the following helpful: Getting unique values in Excel by using formulas only. I used the macro by totymedli. [I use this as the list of simple products I have are grouped by an attribute that has the same value for all products that can be within a configurable product.]
No doubt there are better ways but the main thing is the amount of manual work I have to do, and which is error prone, is reduced.

Resources