Change default stock in Magento2 - magento

I am trying to change the default stock in Magento2 but i can not find any option for doing that. What i want to reach is that i want to equalize the attribute Quantity and Default Stock.
enter image description here
In this picture you are able to see the option to change the quantity.
I have tried it already by increasing the number of articles that are on stock, but nothing changed. I was thinking that Quantity - Notification Number = Default Stock.
enter image description here
But as you see here the default stock number is still remaining at 1.

The default stock and the default source are hardcoded. On the edit product page, under the "Sources" section, you can see the assigned sources list that was reset by the import process most likely. This data is stored in the inventory_source_item database table. Make sure that your import doesn't overwrite sources.

Related

Create magento product that links to an external website

I want to add a product that is not held on my magento website. It must only show on my website. But when a customer clicks on a product it directly goes to the website that holds the product.
I want to give the URL to the product on the site. I am not sure how to do this. Please help me. Thanks.
Here are some screen shots that show what I actually want to do:
product show on my website
Customer goes to other website
The way i would suggest you is to create an attribute called external_url, a textinput field. Assign it to required attribute sets then, while adding product if that particular product will be linked to external; input that field with external url.
And while populating product in listings, check if that external_url attribute value exists or not. (for eg on template/catalog/product/list.phtml check for this value $_product->getData('external_url'))
If the value exists then, change the product link(on product list.phtml change $_product->getProductUrl() with our $_product->getData('external_url'))

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.

Some product are not showing up at front end in magento

I am uploading product on my web site via csv using magmi. Everything was going fine.
But one time i made a mistake while uploading the products via CSV.
The products get uploaded but have not been assigned to corresponding categories. I again uploaded the file.product has been assigned to categories and when i click on categories I can see them
But I can not see them under catalog and at front end
make sure the product is enabled, and is not "out of stock". Usually imported products (at least in my experience) are imported in a disabled state with an available quantity of 0.
Also depending on your caching options, you may have to rebuild the indexes for the categories to show the product.
Please check the Below Possibilities:-
(1). Check that Product "status" is set to "Enabled".
(2). check that product is not set to visible "Not Visible Individually"
(3). Also check that product is set to "In stock" in Inventory.
So those are the possibilities that can affect the product display at front-end.

Associated Product not showing the different price

I have just added a product and everything works fine. The product is a top with different attributes: size and color.
However I want to have reduced price on one of the different colors like in a sale, so I went into the associated products section and changed the price. However, whenever I go to the website and click on the color of the reduced price top, it still shows the original price and not the one I just changed.
How can I get it to show the price I changed it to?
Out of the box the only way to do this is via the price offsets for each configurable option under "Super product attributes configuration" as shown in the attached image:
Otherwise, you can use an extension such as Simple Configurable Products http://www.magentocommerce.com/magento-connect/simple-configurable-products.html
Go to system > Index Management and reindex Product Prices data
It sounds like you are using a configurable product with associated simple products. As far as I'm aware Magento only refreshes the product price for bundle product types.
I have seen a lot of people recommending this module.

Magento Product Qty in stock but not showing in drop down

I have a configurable product which contains a number of simple products (each for a different size of product). Each simple product has an inventory value against it, but for some reason, one particular size, although it has an inventory value of 9, does not appear on the drop down on the front end.
All the other sizes do for the same product and I've compared them to ones appearing and can see no difference. I've cleared caches, updated indexes, etc. but nothing. Can anyone help?
Try opening the Configurable Product and checking that all of the simple products associated with it are added.
Foot of the Product Information -> Associated Products page.
The simple product that's not showing in the front end is most probably missing from the group.
Hope this helps.

Resources