Magento 2 configurable product Dropdown sort options - sorting

I want to ask how I can sort options in dropdown on magento 2 configurable product
I add products with Import csv file.
example:
First option is SIZE, second is COLOR
How I can sort options to make first COLOR, second SIZE. I use Import csv for add products.
enter image description here

Related

magmi configurable product multiple prices for same option

I am trying to import configurable products into magento using magmi.
Consider simple products for configurable :
Product, Color, Quantity, Price
Product 1, Blue, 100, 10
Product 2, Blue, 50, 5
Product 3, Red, 50, 6
Problem that I am facing is that product might have different quantities which will have different prices.
So configurable options would look like this:
Quantity::50:5;50:6
Is there any solutions to disambiguate which price is for which option?
I'm assuming this is what you're wanting as your question lacks detail.
Customer views configurable product with drop-down (configurable) options
Customer selects drop-down attribute values and hits add to cart.
The simple product (that matches the selected attributes) is added to the cart including the price for that simple product.
Magento does not do this out of the box. If you want the actual simple products to be added to the cart along with their prices, you'll need to modify Magento with an extension that does this.
Personally I use Simple Configurable Products which does exactly what I've described above.
Then in Magmi, you simply upload the simple products, and also one configurable product that has those simple products associated to it. You can use the simple_skus column in the CSV for the configurable product to define which simple products are assigned to the configurable product.
Just make sure your simple products are imported before you import the configurable products. You can simply make sure the configurable product is BELOW all the simple products in the CSV datasource file you import.

Magmi configurable and simple products CSV confusion - Magento import

I am trying to import a list of products which contain both simple and configurable products.
Having read the manual and other resources, I am still very confused on a few aspects on the CSV file.
What I have is various attributes such as colour, size, style, search colour, scent, pack qty and wesco type.
I have a few questions to clarify the model of the CSV I am to generate:
1) I read that you need to setup the attributes beforehand in Magento - for this I need to set up a attribute value as I have set the attribute to 'values required - yes'.
So for example 'Colour - values required yes' now when I try and save this it wants me to set up an actual colour. Can I just use the value 'none' and let Magmi handle the actual attributes (the real colour values)? Or do I need to go through all the possible options and input them into Magento manually (blue, yellow, green ...)?
2) Having looked at examples on the internet, do I set my CSV like this:
sku, type, colour, size, style, search, colour, scent, pack qty, wesco type, configurable_attributes
slave, simple, blue, , , , , , , , blue
master, configurable, , , , , , , , , colour
OR
sku, type, configurable_attributes
slave, simple, blue
master, configurable, colour
3) Is it possible for me to do all the configurable products first like in question 2. Then after do another import for just the standalone simple products. As you can see I am trying to automatically link the products.
If you require any clarification, please feel free to ask me to be more precise with any of the questions.
4) Regarding prices for simple and configurable products, can I use the price field and set £0.00 for a configurable product and the actual price on each simple product?
1) Can I just use the value 'none' and let Magmi handle the actual attributes (the real colour values)? Or do I need to go through all the possible options and input them into Magento manually (blue, yellow, green ...)?
Magmi will create the attribute options for you, just not the attributes themselves. So you will need to create the Colour attribute, but you do not have to input each option such as black, red, green etc.
2) Having looked at examples on the internet, do I set my CSV like this:
If you read the CSV Datasource documentation, it will tell you that the correct format for the attribute columns is the actual attribute code. You can find the Attribute Code for an attribute under Catalog > Attributes > Manage Attributes in the Magento admin.
Also, make sure you are including the required columns for Magmi. These required columns can again be found on the Import new products documentation page.
The required columns for Magmi 0.7.17+ are:
"attribute_set","type","sku"
So to properly import configurable Colour products, your CSV should also follow the documentation for the Configurable Item Processor.
"attribute_set","type","sku","colour","configurable_attributes","simple_skus"
"Colour","simple","mysimpleproduct","Red","colour",""
"Colour","configurable","myconfigproduct","","colour","mysimpleproduct"
Then be sure to enable the Configurable Item processor plugin in Magmi and set the Perform simples/configurable link option for the plugin to Yes.
3) Is it possible for me to do all the configurable products first like in question 2. Then after do another import for just the standalone simple products. As you can see I am trying to automatically link the products.
Yes, you can associate simple products to an already created configurable product at a later time, however you MUST include the configurable product in your import CSV to associate skus to it. The simple_skus column should contain a comma separated list of simple product skus that you want assigned to a configurable product. Any skus not listed in the simple_skus column upon import will be disassociated with the configurable product.
4) Regarding prices for simple and configurable products, can I use the price field and set £0.00 for a configurable product and the actual price on each simple product?
No. Magento by default uses the Base Price for the configurable product as the pricing for all associated simple products. Simple product prices are not actually used when adding to the cart, it's the configurable parent product and based on the super attribute pricing, the price changes.
To have Magento use the simple product prices based on the attribute combination selected, you will need to install a 3rd party extension. I personally use and recommend the Simple Configurable Products extension that will do just that.

How to change shown price of a configurable product when filtering by size

I have a problem whereby I have set up configurable products, lets say t shirts in small, medium & large, with different prices for each size.
On my t shirt category page the price shown against each product is for the cheapest size (single).
If the user filters to show double, the price shown will still be for the single. How can I show prices for the double? (I do need to have products set up in this configuration, otherwise I would use simple products in each size)
Thanks!
You can use Custom Options which is a standard feature for Magento.
When editing the product (simple r configurable) goto the custom options tab near the bottom.
then add a new custom option and choose dropdown.
All you need to do then is mark it as a required field and input the various sizes and the increase in cost for each.

Magento configurable product not showing all posible combinations

I am using an attribute set for all the jeans products which have waist size, inseam and color. I managed to add the products to the configurable product but now all the options don't show in the front end. I already add all the options to the attributes and also linked the single products to the configurable product. The first product I created shows the correct attributes but the second one doesnt, instead it shows exactly the same options than the first product even when the extra options were already added as single products.
This is the product in question:http://geveysim.net/ValleyBigandTall/index.php/copper-cove-big-and-tall-stonewashed-denim-jeans.html
This is the product showing correctly: http://geveysim.net/ValleyBigandTall/index.php/casual-wear/jeans/greystone-big-and-tall-570-cargo-jeans.html
01) check the quantity in all simple products and make it as in stock
02) after changed go to configuration and re-index

How to display size attribute selection on Magento simple product front end

I created configurable products on Magento with attributes colour and size for the main category. I also have a sub category for simple products to display individually, however, i would like the user to be able to select size on simple products as well. How can i enable Magento to display size attribute on simple products? Thanks in advance.
You can't have this directly.
Example : You have a configurable product named T-Shirt.
You have some simple products named
Red T-Shirt L
Red T-Shirt XL
Blue T-Shirt M
Blue T-Shirt L
Blue T-Shirt XXL
Green T-Shirt L
Each simple product correspond to a particular combination of Size and Colour, so it's pointless to be able to change size on the simple product. To fit your needs there are several possibilities :
-1°) Review the $_product->getProductUrl() function to force people going to the configurable, on the subcategory they can see each simple combinations, but if they clic they are redirected to the configurable, pre-configured to the simple clicked, but they are able to change size and colour.
-2°) If you just want to change size once colour selected, just create intermediate configurable product like Blue T-Shirt where use can just select size. Then you redirect to this configurable product. To sum up you have the "main" configurable where you can choose color and size, but if you look at subcategory and already like a color, you have an "intermediate" configurable where you can just choose the size.
-3°) There are other possibility, but less good for this task, but I may name them : using Custom Option of size in each simple, using upsell product to have other size information in the product page and do some scripting (js and html) to show them as a dropdown size selector, ...
Hope this helps

Resources