How to create a new configurable product in Magento 2

How to create a new configurable product in Magento 2

Configurable products are products that have multiple options.For example, a ball comes in three colors. Here we will have a single Configurable product with an option:color; that ties three simple products.Stock, price and other product attributes are managed on the simple product’s level.

How do you proceed if you need to create a new configurable product in Magento 2? The following instructions take you through the process of creating a New Configurable Product in Magento 2.

  • Step 1

To add a new configurable product in Magento 2, Navigate to the Products>Catalog section from the Magento admin panel.Click the Add Product button to start configuring a new Product.You can choose the “Configurable product” from the drop-down options available with the Add Product button.

Catalog_product1

  • Step 2

Fill up the product information of the main configurable product. And then click on ” Create Configurations” button at the bottom of the page.

Catalog_product2

  • Step 3

Select the attribute which you need to use in the product details page.You can add new attributes by clicking at “Create new attribute” button.After selecting the attribute , press “Next” button.

Catalog_product3

ou need to add/choose value for each attribute. Each value will create a unique product SKU.After selecting the attribute values , press “Next” button.
For example,Color is an attribute. Blue is an attribute value.

Catalog_product4

Here it will show options for adding image, price and quantity for your new simple products.You can upload the images for each set of attributes or a single set of images to all SKUs.Add the price and quantity details in the same way.Then you scroll up and press “Next”.

Catalog_product5

Let’s take a look at the result. Yes, we have the products summary and then click on “generate product” button.

Catalog_product6

  • Step 4

Magento 2 will automatically generate the simple products. Click on ” save” button to save all product information you have created.

Catalog_product7

Now configurable product is created and displayed.You can manage the product and all of its configurations in the Products>Catalog section from the Magento admin panel.

configurable product

 

Hope this helped you a lot 🙂 🙂 !!!!!!!!

How to Add a New Simple Product in Magento 2

How to Add a New Simple Product in Magento 2

Creating new products is a major step to building your Magento store.The following instructions take you through the process of creating a New Product in Magento 2.

Video tutorial:

Steps explained with screen shots:

  • Step 1

To add a new product in Magento 2, Navigate to the Products>Catalog section from the Magento admin panel.

Catalog_product

 

  • Step 2

Press the Add Product button to start configuring a new Product.You can select the type of product you need to add from the drop-down options available with the Add Product button.Choose the type you need from the list (Simple Product, Configurable Product, Grouped Product, Virtual Product, Bundle Product, Downloadable Product).

Catalog_product1

  • Step 3

Now you will be able to configure:

  • Name: The name of the product.
  • SKU:  The unique Stock keeping Unit of the product.
  • Price: The price value of the product.
  • Tax Class:  To identify the appropriate tax classification for the product.
  • Images and Videos: Upload an Image/Video for your product.
  • Quantity:  The Quantity of products you have in stock.
  • Weight: The weight of the product (Used for shipping calculations).
  • Categories:  Choose the Category of a product or create a new category.
  • Description: A short description regarding the features of the product.This will appear on the Product View page.

Catalog_product2

  • Step 4

Now fill the Fields on the Image Management tab,Search Engine Optimization tab, and the Websites tab.

Catalog_product3

Here you can upload more images in order to show your product.

Catalog_product4

  • URL Key: URL Key will be the last part of the URL when your product is being accessed (http://example.com/magento/URLkey).
  • Meta Title:Meta Title specifies the title of the web page appearing on the browser.
  • Meta Keywords: Help the search engines with indexing your product page.
  • Meta Description:Describes the content of the product page to the search engines.

Catalog_product5

If you’re managing multiple Websites,Select the Websites you want the product to be available at.

  • Step 5

Please check the Product Online button in the upper-right corner to be ON.

Catalog_product6

When you are done, click on the Save button to add the new product to your Magento 2 based Store.

Zgento Light Box for Magento 2.0

Magento2 Zgento Light Box

zgento-lightboxThis package allows to change the default product image gallery with jquery Light Box plugin. Normal gallery of magento2 images will be replaced with cool lightbox gallery with next and previous buttons to easily navigate through product images. A must have feature for your Magento2.0 store, if you have multiple images on the product page then certainly use this extension to make it a lightbox gallery, and all this can be done for free.

 

download_now

 Screenshots:

 

 Zgento LightBox extension:

  1. Tested with all major browsers
  2. A must-have extension for every ecommerce website.
  3. Easy 1 minute installation. Installation is very easy, no coding experience is required to have module up-and-running.
  4. Don’t affect Magento2 core files.
  5. You can enable or disable it in a click.

All our extensions and templates:

  •  100% Open source.
  • Easy to install and use.
  • Created according to Magento2 programming guidelines.
  • Our fanatic support will do everything you need to solve your problems.
  • Still have doubts, want answers then please feel free to explore our QA section. Don’t hesitate to contact our awesome support team.

 

How to include the module name in magento2

How to include the module name in magento2

public function __construct(
..
\Magento\Framework\ObjectManagerInterface $objectManager,
..
) {
$this->_objectManager = $objectManager;
}

and then

$this->_objectManager->create('Magento\Sales\Model\Resource\Order\Invoice\Collection')
->addAttributeToFilter('order_id', array('eq'=>$order->getId()))

 

Cache Types available in Magento 2

Cache Types available in Magento 2

The Magento version 2 works with the following Cache Types:

  • Block HTML output (block_html) cache : This is about HTML page fragments per each block. Clean or flush block_html cache after changing the view layer.
  • Configuration (config) cache : Configuration cache appears when Magento gathers configuration from all its modules, merges it, and saves to the cache. It also includes store-specific settings from the file system and database. You should flush or clean this type of cache after changing configuration files.
  • Layout (layout) cache : Layout cache consists of compiled page layouts . This cache type requires cleaning or flushing after you modify layout files.
  • Page cache (full_page) cache: The page cache occurs due to generated HTML pages. It is automatically cleaned by Magento and can be modified by but third-party developers. Clean full_page cache after changing code level that influences HTML output.
  • Collections data (collections) cache: This one is about database queries. Magento offers an automated cleaning for this cache if necessary. At the same time, it is possible to put any data in any segment of collections cache . You should flush it if your custom modules use logic that leads to cache entries that Magento is unable to clean.
  • DDL (db_ddl) cache: DDL cache related to database schema.It is possible to put any data in any segment of db_ddl cache . DDL cache should be flushed after custom changes to the database schema.
  • Entity attribute value (eav) cache: eav cache includes Metadata related to EAV attributes, such as search settings, store labels, attribute rendering, etc. There is no need to flush or clean this cache.
  • Translations (translate) cache: It consist of merged translations from all modules.
  • Integration configuration (config_integration) cache : Integration configuration cache is related to compiled integrations. Clean it after modifying existing ones or adding new integrations.
  • Integration API configuration (config_integration_api) cache: This type of cache is about compiled integration APIs.
  • Web services configuration (config_webservice) cache : config_webservice cache is the cache of web API structure.

I hope this helps!!!

How to create a configurable product in Magento?

How to create a configurable product in Magento?

A Configurable product in Magento is a combination of simple products.For example, a mobile phone cover comes in three colors for two versions. Here we will have a single Configurable product with two options: version and color; that ties six simple products.Each variation has its own SKU and inventory listing.You would create six Simple Products individually and then group these six as a Configurable Product; allowing customers to select which version and color they wish to buy.

The following instructions take you through the process of creating a configurable product in Magento.

The basic steps to create a configurable product in Magento are:

  • Create attributes.
  • Create the attribute set.
  • Create a new configurable product.
  • Adding Associated Products to a Configurable Product.

Create attributes.

Create an attribute for each option that you want to include in the configurable product.If the attribute already exists, you can assign it to a particular attribute set in the next step.To create an attribute,Go to “Catalog> Attributes> Manage Attributes”. Then select “Add New Attribute” in the top right corner.Enter an Attribute Code for your attribute and the Scope should be set to Global.The Catalog Input Type for Store Owner is set to Dropdown. Apply To should be Selected Product Types, and in the box below select Simple Product and Configurable Product to make the attribute apply to these two types. Set the Use to Create Configurable Product drop-down menu to Yes in order to use the attribute for creating configurable products.

attribute

attribute

The attribute option values and their sort order have been entered in the Manage Label/Options section.
Make sure to click “Save Attribute” when you’re done the above steps.

Create the attribute set.

Before you add a configurable product you have to make sure that the necessary attribute(s) is added to your Magento. Go to “Catalog >> Attributes >> Manage Attribute Sets” and press “Add New Set”. Give the attribute set name and leave it based on default. Continue to the next page.

configurable_attribute_set

Here you’ll see two panels where the left panel shows attributes that are part of the set and the right panel has unassigned attributes.Drag  the required attributes into the left panel, and then click “Save Attribute Set” button in the top right.You can then select that set when adding the new configurable product.

Create a new configurable product.

Navigate to “Catalog >> Manage Products”. Press “Add Product” button.Create a Configurable Product based on the required attribute set.In the next screen you need to pick which attributes you want to associate.Select all required attributes for your Configurable product and then press “Continue” button.Complete the Product Information as you would do for a Simple product.

configurable_product

configurable_product

configurable_attribute

configurable_attribute

Adding Associated Products to a Configurable Product.

After you set up all the basic settings of the configurable product, it’s time to create the associated products.In the panel on the left, select the tab option “Associated Products”.There are three different ways to add the associated products: Create Empty, Copy from Configurable and Quick Create.

The “Create Empty” option will give a new product configuration page with all the options and fields empty. This is exactly the same as creating a simple product.
The “Copy From Configurable” option will also display the same product configuration page but most of the fields will be filled with the values that you entered for the configurable product.
In “Quick Create”, there are several options that you have to configure. This is the fastest way to add the associated products. Fill all fields and then click “Quick Create” button to create the associated product record.Repeat this step for each associated product for your configurable product.

configurable product in magento

Associated_Products_Magento

Use the Super Products Attributes Configuration section just under the Quick Create section to make price adjustments to a specific associated product.

 

You’re all done.Click Save button in the top menu to save your Configurable product. 🙂

Important features of MAGENTO 2.0

Magento 2.0 has launched. Here,we are discussing some important features of Magento 2.0. Hope this will help you and be worthy for reading.

  • New Directories Structure

There are significant changes in the structure of directory of Magento 2.0. The four types of directories in Magento 2.0 file system are:

  1. Primary directories (base directory, code directory /app/code, lib directory /lib).
  2. System directories (DI directory /var/di, generation directory /var/generation, etc directory /app/etc).
  3. Application directories ( app directory /app/code, design directory /app/design, var directory /var, temporary directory /var/tmp, cache directory /var/cache), log directory /var/log, session directory /var/session, systmp directory sys_get_temp_dir() ).
  4. Public directories ( pub directory /pub, pub_lib directory /pub/lib, media directory /pub/media, upload directory /pub/upload, static directory /pub/static, pub_view_cache directory /pub/cache ).The new directory “pub” is to provide a better view structure for developer
  • Improved Layout elements

With the introduction of Visual Design Editor, you can make many changes in the admin panel at ease. Modifying containers and blocks will not require specialized technical knowledge. Magento 2 now introduces a whole new concept of container wrapper. Container wrapper has replaced the original structural block concept of Magento 1.x which used to be listed in core/text_list. A Container can include blocks as well as other containers and render them all.

  • Stable jQuery Library

In the earlier magento version, prototypes were used as the main JavaScript library. But,in Magento 2.0, jQuery library is the default JavaScript library. This is one of the most important changes in Magento 2.0.

  • CSS Preprocessing

Magento 2 uses the CSS and LESS, instead of bootstrap, in the core. Using LESS helps users to custom theme faster and easier. Preprocessing helps to make customization easy and the overall speed and performance of the website is increased and enhanced.

  • Improved scalability and performance

Improved scalability includes improved indexers, new Magento performance toolkit and Varnish Cache.
The new default indexers in Magento 2 come with more efficient updates and have been improved to speed up the query performance. To verify and optimize system performance, one can create test environments and test code changes by using Magento 2’s new set of performance test scripts (Magento performance toolkit). Varnish Cache helps reducing server load and speed up the page load.

Magento 2 has definitely brought in some features which improves the interface and overall experience for Magento developers and users.Hope this helped you a lot 🙂