Digital Marketing

Magento 2 Custom Option Stock & Images

Custom Option Stock and Images for Magento 2 module permits the administrator to show content swatches for custom choices determination. The administrator can include custom choices, oversee swatch and oversee varieties for the item.

The module is pertinent for straightforward, virtual, configurable, group and downloadable item type. For every custom alternative, the administrator can oversee stock, weight, cost and furthermore transfer a picture.

Each content swatch has its particular picture as indicated by the varieties included. In the event that the client will choose red shading content swatch, at that point the item picture will likewise be of red shading.


Module Features

This module is good with straightforward, virtual, configurable, group and downloadable item types.

Administrator can set stock for every alternative.

Administrator can set to indicate custom alternative as swatches.

Dynamic item picture dependent on the selected custom choice mix.

Show custom choice as content swatch.

Set swatch and custom alternative marks.

Oversee stock on buys and return.

Ajax based the module, so no page reload.

Notice weight for each custom alternative variation

The source code is completely open for customization.


Establishment – Custom Option with Stock and Images for Magento 2

Clients will get a zip folder and they have to extract the contents of this zip envelope on their framework. The removed organizer has an src folder, inside the src folder you have the app folder.

You need to transfer this app folder into the Magento2 root directory on the server as demonstrated as follows:

After the effective establishment, you need to run these directions in the Magento2 root catalog.

First Command – php bin/magento setup:upgrade


Second Command – php bin/magento setup:di:compile


Third Command – php bin/magento setup:static-content:deploy


After running the commands, you have to flush the cache from the Magento admin panel by navigating through ->System->Cache management as shown below in the snapshot.

Multilingual Support

For the multilingual support, the admin will explore through Store > Configuration > General > Locale Options and select the district as German (the language into which administrator need to interpret his store content).

Module Translation

On the off chance that a client needs to decipher their module from English to German, at that point they have to pursue the way application/code/Webkul/Marketplace/i18n in their unfastened Magento Marketplace envelope and will get a csv document with name “en_US.csv”.

Presently they will rename that csv as “de_DE.csv” and interpret okay side substance after the comma in the German language.

In the wake of altering the CSV, spare it and after that transfer it to the way application/code/Webkul/Marketplace/i18n where they have introduced Magento2 on the server.

Presently, the module will interpret in the German Language. It underpins both the LTR and RTL dialects.

Item Configuration

Once, the establishment of the module is done, the administrator will explore through Catalog > Products.

From that point forward, the administrator will make another item or will utilize the current item to include the custom option(s).

The administrator will alter the item and select the adaptable choices. From here the administrator can Add choices, Manage swatch and Manage variety.

Include Option

The administrator will go to the “Choice Title” and select “Choice Type” ( this module just works with Dropdown and Radio Buttons info type).

At that point the administrator will include different qualities for the particular custom alternative made and select the “Required” checkbox.

Note:- It is must to tick on the “Required” checkbox, at that point no one but you can “Oversee Swatch” and “Oversee Variation”.

On the off chance that you won’t tick the Required checkbox, at that point a popup will show up as appeared in beneath the picture:


Oversee Swatch

The administrator can deal with the content swatch by choosing the Option Label which will be shown on the item page.

The Option Label which isn’t chosen by the administrator won’t be noticeable on the item page.

Oversee Variations

In the wake of making the custom choices, the administrator will tap on “Oversee Variations” from where administrator can include the picture, weight, and amount which can be same or diverse for each variety.

In the wake of dealing with the varieties administrator will spare the item.

Please Note: In the present form of Magento, when the administrator enters the stock for a particular variety then it won’t influence the worldwide amount of the item.

While, in past adaptations, the worldwide amount used to change with the estimation of stock in “Oversee Variations”

Client end

The client needs to choose in the middle of the obvious content swatches. It is must for the client to choose one alternative from every content swatch.

The client will choose the item according to the ideal variety and continue to checkout by adding items to the truck.

In the wake of adding the item to the truck, the client will continue to look at, enter the delivery subtleties and continue to the installment audit page.

The client will pick the suitable installment technique and submit the request effectively.

Once, the request has been set, the client will get an affirmation email with all the request subtleties.

Item Configuration

After the request has been set, the item stock will consequently get adjusted in explicit item variety.

As appeared in beneath screen captures.

Worldwide Quantity: The worth will be equivalent to previously. There won’t be any impact on the primary amount of the item.

Explicit item variety amount: The worth will get deducted from the load of that specific variety of the item.

Soon after the client put in the request effectively, the administrator can make the Invoice and shipment. From that point onward, the administrator will make shipment of the item and complete the request.

In the event that the client want to restore the item, at that point the administrator should make a credit reminder for a similar request.

In that, the administrator needs to tap on the “Discount disconnected” choice.

This will make a credit notice for the request, and in the wake of making the credit reminder, the stock for the returned item will consequently get refreshed for the particular item variety.

When the credit reminder is made, the administrator will explore to Sales > Credit Memo to see the current credit notices to check the subtleties of the discounted request.

Once, the discount is finished, the returned item amount will get moved to the load of the variety of that specific item.

How about us view underneath screen captures :

Worldwide amount: The fundamental amount will continue as before.

Explicit item variety: There will be an expansion in the stock measure of item variety which is discounted.

That is in support of the Magento 2 Custom Option Stock and Images module. On the off chance that regardless you have any issue, it would be ideal if you don’t hesitate to include a ticket and let us realize your perspectives to make this

More information: magento 2 custom option


Related Articles

Back to top button