Magento2 configurable product import quantity - magento

I have followed all instruction of import configurable products given in https://www.mageplaza.com/kb/3-steps-import-configurable-products-magento-2.html
but when i import configurable product quantity sets to 0.

In Magento 2, the default configuration for Configurable Products would have to be changed in order to import inventory as a value other than 0 with that extension (most likely). It's not recommended to change that configuration either, however, and here's why:
Typical Example - A Configurable Product (Shirt with 3 color variations) is included in a Store Catalog. Each of the simple products assigned to that Configurable (a red shirt, a blue shirt, and a green shirt) all have different inventory that is constantly changing, because some colors sell more than others and therefore, some of those Simple Products are restocked more frequently than others. Even though the 3 products are all are assigned to the same Configurable Product in this scenario, tracking inventory for the Configurable (as a sum of all the Simple Product's quantities) wouldn't be especially useful in Sales Reports or in Restocking the Store Inventory. Sometimes there are exceptions (usually with Virtual products) but for the most part, Magento store administrators will leave the default configuration as-is here because otherwise, the Configurable Product's quantity (which is really just the combined sum of the Simple Product's inventory) isn't a valuable metric to track in the majority of business cases.
If there is a business case for tracking inventory at the Configurable level here, however, then I highly recommend uRapidflow Pro by Unirgy. That extension has worked well for bulk imports/exports since Magento 1 and most other similar products have been especially buggy from Magento 2.1.5-2.2.x.

Related

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

250000 Grouped products in Magento

I've started working on a new Magento webshop which has roughly 250000 different products. Each product can have different conditions (new, used, damaged, etc., each with their own price.). Magento doesn't seem to have a method to implement this at the moment. Of those 250000 products, there are about 150000 different conditions in stock and another 150000 conditions which aren't in stock but do have a price (which can be put on the wishlist).
Some numbers: 1500 categories, drop down attributes (country) with > 300 options, integer attributes (year). Starting with two websites 6 languages each.
I've thought out two solutions to solve this problem:
Grouped / Simple product structure
We create a grouped product which is the container product, each condition will be a different simple product. We'll relate these products to the grouped product.
The nice thing about this solution is that is pretty easy to implement, we'll have to import the data in the correct way and all the information is exactly presented in the way we want.
New Product type
We create a new product type which can have multiple conditions, each with their own inventory. On checkout the inventory is substracted. The problem with this is that implementing the CatalogInventory model in this way probably is difficult and building a whole product type is time consuming and bugprone in general.
The advantage of this solution is this that there will be about 2-2.5x times less products in the system.
Others
Are there any other options to solve this? Maybe there is a module that does all this?
In conclusion: Of course I prefer the first solution but can Magento handle that? Does anyone have experience with this much Grouped Products? The system will have about 550000 products (grouped + simple) products in the system, what will be the performance implications of this? What happens when the site grows and we'll have twice the amount of products?
Without knowing more details I'd lean towards using a new product type or just adding the feature independently of product types if you have a use for configurable products (I definitely wouldn't try to duplicate the configurable product type). I'd disable inventory management and use some additional tables which hold individual item inventory with the per-item conditions and maintain a separate inventory that way. Use events and overrides to control the CatalogInventory stock status as needed. Creating new products constantly which are largely duplicates seems like a hassle worth avoiding if this is a long-term endeavor that needs to scale.
However, the Grouped/Simple method might be a viable short-term solution and appropriate if the project is in it's early stages and can't afford a huge initial expenditure. If well-planned, a script should be able to convert all of the old grouped/simple products into your new product type when ready to launch.

How to set Minimum Order Quantiy (MOQ) for a category in magento?

How to add Minimum Qty Allowed in Shopping Cart for a category.
In Magento (ver. 1.6.2.0) backend, System > Configuration > Inventory > Product Stock Options tab, you can set the 'Minimum Qty Allowed in Shopping Cart' but for Customer Group; not for Category.
We have lots of categories having absolutely different kinds of items and need different MOQs for specified category.
How would I force a minimum of 6 products from the jewellery category and 7 dozen from the bra category?
Thanks, Shaman
What you describe would not be natively possible with Magento. Magento natively provides a 1:many relationship with categories and products,
Ie. A product can be in many categories
What you propose would induce a race condition for a product whereby there could be 2 possible critera for a product's inventory controls if the product exists in more than one category.
Eg. If you set Category A to have a MOQ of 6, and Category B to have a MOQ of 10 and Product C exists in both - which rule does it inherit (highest/lowest)?
As a result, this isn't going to be natively possible, but you could build a custom module to achieve it.
Either ...
Via a category->save() observer
You could create a custom attribute for the category - MOQ, then have your module 'listen' to the category save, and iterate through all products accordingly to set the MOQ for said products.
Advantages - More granular control per product, no speed impact/overheads for frontend
Disadvantages - Slow to save category
Or
By modifying the isSaleable() function
You could rewrite the standard function which determines if a product is saleable. In your modified function, check categories of said product, obtain the MOQ (highest/lowest - whichever) then return true; or return false; accordingly.
Advantages - Less administration hanging around, stops having to continually update indexes at a product level needlessly
Disadvantages - Slower to check if product is saleable (frontend would seem slower)
Either way, you need to build a custom module, or seek a professional to make one for you.

Magento - Add configurable product option surcharge to tier pricing

When I set up configurable products and they have options that include surcharges (i.e. the 2XL costs +$2.00) and I select the option with the surcharge, the price itself updates, however, the tier pricing associated with that product does not. So, this is what my customer sees...
Product is $10, the 2XL is +$2.00. If they buy 10 or more, the product is $6. When they select the 2XL, the price updates from $10 to $12, but the tier pricing tells them they are still getting it for $6 each if ordering 10 or more. When they add 10 to their cart, they get the correct price of $8 (the $6 discounted price plus the $2 surcharge) but this is just a bad experience - they think they are getting a deal they were never intended to receive.
How can I add to it so that when the option with the surcharge is selected not only is the price updated, but so is the tier price that displays?
I would suggest looking at an extension called Simple Configurable Products:
http://www.magentocommerce.com/magento-connect/simple-configurable-products.html
It will allow you to make the product price dependent on the simple product that is related to the configurable product. You should be able to set up the tiered pricing on the simple product and have it reflected on the parent.
That extension is not 1.6 compatible out of the box, but the following addresses that issue:
http://www.magentocommerce.com/boards/viewthread/245061/
Magento allows tier prices for products and prices for individual options. However, tier prices for individual options are not supported. Still there are three ways of realizing tier prices for custom options. The last option is the best, from my point of view:
1. Displaying the surcharges on basket price rules:
It is the most elegant option if the products are imported with an import interface from an erp-system. In this case you can generate basket price rules, during or at the end of the import, which deliver discounts on each position. However, there is a major drawback: The discounts on the products are shown as one sum in the checkout. Therefore this option will only be useful in rare cases.
2. Better Configurable Products:
For each variant of the product an additional simple product is added. Better Configurable Product makes sure that the tier price is taken from the simple product. However, with many products and many variants, it will quickly become confusing. All these simple products must be assigned to a configurable product. Furthermore, all products have their own stock. Additionally both of the extensions use numerous rewrites that change the very core of the Magento system.
3. Generating additional individual options with prices:
An individual option only allows one surcharge, when 5 are needed - one for each tier price. So you add 5 individual options with different prices. The advantages of using this solution are moderate changes to the system while displaying the prices for the products in a reasonable way. The solution works with two observers – and additional rewrites of blocks for better visual appearance. Once passed the checkout, Magento just works with standard custom options. Therefore, it is very unlikely to experience problems in the later steps – e.g. invoice, shipment, credit memo and export to an erp-system. The disadvantages are additional options in the backend that are somewhat disturbing when maintaining the products by hand.
There is also a module as a sample for your own development. It requires entering of tier prices and individual options, in the backend. Finally, the prices of the individual options for each tier price are entered in the newly generated options. You can request a copy at http://www.code4business.de/kontakt-impressum/ free of charge.
For more information about tier prices in Magento with custom options or about the use of the module just have a look at http://www.code4business.de/tier-prices-for-magento-custom-options-en/

Resources