On August 27, 2019, the new version of the Magento 2 Advanced Product Options extension has been released. In version 2.21.0, the extension adds ‘Quantity multiplier’ and ‘Product price display mode’. Read on to learn more about these new features.
Table of Contents
- 1 Quantity Multiplier
- 2 Product Price Display Mode
- 3 Bug Fixes
- 4 Previous Updates Overview
- 4.1 Admin icon tooltips
- 4.2 New modal popups: ‘Option Settings’ & ‘Value Settings’
- 4.3 Weight type feature
- 4.4 Ability to translate option & value titles
- 4.5 ‘Div Class’ feature
- 4.6 ‘Multi swatch’ option type
- 4.7 ‘Color swatch’ option type
- 4.8 New setting for Option SKU Policy
- 4.9 Ability to limit selection for multi-select options
To reach the functionality, go to Stores → Manage Option Templates. Then, pick a template you’d like to modify and click ‘Edit’. In the Customizable Options tab, go to the option values and click the gear icon. You’ll see the ‘Qty Multiplier’ setup at the bottom.
What does the feature allow you to achieve?
The explanatory note you’ll see says as follows:
‘This setting defines the number that will be deducted from the stock of the main product once the order is placed with the particular option value. The Qty multiplier will be multiplied by the product Qty, specified manually in the Qty field on the frontend. Leave ‘0’ to disable this feature.’
To make a long story short, qty multiplier allows making stock management easier by connecting the number of option values entered on the frontend with the real qty of items that should be deducted from the stock quantity.
Let’s consider two use cases to have a better understanding of the functionality.
1. Let’s imagine we are selling oil that goes in different volumes: 345, 500 and 700 units of measure (UM). These will be values for our parent product. At stock, this oil gets stored in a barrel which volume is 1000 UM.
On the frontend, a customer will enter 1 to purchase a bottle of 345 UM, for example. To keep the inventory under control, we would need to deduct 345 UM from 1000 UM, not 1 as entered on the frontend. To achieve this, a store admin will should enter 345 UM as a qty multiplier for a product value that offers 345 UM as an option, and so forth.
2. As a second example, let’s imagine we are selling canned juice that goes in different packs, i.e., 6, 12, and 24 pieces as option values. On the frontend, a customer will enter 1 to get, for example, 6-pack cans. To get 6 (not 1) cans deducted from stock, you’ll need to specify 6 as a qty multiplier for this value, 12 for 12-pack cans and 24 for 24-pack cans. This way, the required number of cans will be deducted from the stock quantity, not 1 can as entered on the frontend.
Note that this should be specified for each option value. If you wish to disable this feature, just enter ‘0’.
Product Price Display Mode
To discover the new feature, go to Stores → Settings → Configuration → MageWorx → Advanced Product Options → Option Features. ‘Product Price Display Mode’ can be found right at the top.
Three options are available here: disabled, per item and final price.
Before we move to explaining each option in more detail, please note that this setting works only for:
- single products,
- downloadable products,
- virtual products.
Configurable and bundle products are not covered by the functionality!
What does the feature allow you to achieve?
The ‘Produce Price Display’ Mode naturally touches on the way product price gets displayed on the frontend:
When disabled, product prices get displayed as in default Magento 2.
This product price display mode expands the default Magento 2 functionality and allows making product prices more user-friendly.
The ‘Per item’ option allows showing the price of one product for your customer that gets calculated providing for tiered prices and so on, divided by the quantity of items.
This option allows you to display the final product price. This means that the price will be calculated providing for the entered quantity of items, i.e., the price gets multiplied or ads specific product options values.
To have a better idea, please see a screencast below:
Within the recent update, the following bugs have been fixed:
- Fixes ‘undefined option_type_id’ issue during option creation in the admin area,
- Fixes special price displaying for swatches,
- Fixes tax displaying issues for special/customer group prices,
- Fixes price conversion issue for special/customer group prices,
- Fixes independent SKU policy and option special/customer group prices issue,
- Fixes independent SKU policy, ‘cart and order’ mode and qty input issue with incorrect quantity in the cart,
- Fixes impossibility to delete all options from a template,
- Fixes several minor issues.
Previous Updates Overview
Admin icon tooltips
To enhance the extension users’ experience, we’ve added tooltips to the recently created icons in the Admin Panel:
New modal popups: ‘Option Settings’ & ‘Value Settings’
As more functionality gets added to the extension and in order to avoid user confusion, we’ve decided to locate product option and value configurations in separate modal popups:
Weight type feature
The ‘Weight Type’ functionality enables you to specify weight type for the weight option. It can be either fixed or percentage. This will come in handy for product options which cost depends on their weight. For example, in the case of handcrafted sweaters of XL size, more crochet threads might be required. This functionality will help you specify such option’s cost in the most appropriate way.
Ability to translate option & value titles
If you run an international online store, the possibility to have your product options & values conveniently translated (with no need to switch store view on the global level) is a must. With this regard, we’ve added an easy to configure ‘Store View Titles’ functionality.
Within this modal popup menu, you’ll be able to either specify the titles globally or for each store views separately. The available Store Views will be conveniently displayed within the setup:
‘Div Class’ feature
Naturally, this new functionality brings more product options customization possibilities. The setup field can be found in the Option Settings Modal Popup:
‘Multi swatch’ option type
Before, ‘Is Swatch; functionality used to be solely available when the drop-down option type was selected. The recent update adds the possibility to choose swatches when ‘Multi Select’ option type is selected:
‘Color swatch’ option type
The configuration for the ‘Color swatch’ option type is available within the ‘Images’ modal popup. There, next to the ‘Browse to find or drag image’ setup, you’ll find the newly added functionality. The color selection has been developed to be as close as possible to the native Magento colors setup experience, i.e., the color selection prosses is equal to the one in default Magento.
New setting for Option SKU Policy
The ‘Split Independent items’ setting has been added to Option SKU Policy functionality and can be done on the global level, i.e., Stores > Configuration > MageWorx > Option SKU Policy. However, upon our users’ request, the configuration is planned to be transferred to the stores level.
To explain what the functionality offers, let’s consider the case of Independent SKU Policy as an example. It is worth reminding that when Independependent SKU Policy type is selected, it transforms custom options into separate items in the order and keeps the original product. If you are selling gift wrap as a product option, and, for instance, your customer purchases three items and selects gift wrap only for two of them in one order, you may get confused which products should be wrapped as a gift at the end as this product options might get displayed randomly within the order. With ‘Split Independent Items’ functionality, you will be able to display gift wrap separately, under the parent products they belong to.
Ability to limit selection for multi-select options
In July, the extension has added the functionality to limit the number of selections (for the customer on the frontrend) for multi-select options. These configurations are located here:
Also, we’ve made certain perfomance improvements. In particular, fixes for the weight type’s backend error for Magento v2.1.x and the template unassignment issue with several templates have been made.
We hope we’ve managed to make the new functionality clear. Should you have further questions, feel free to leave a comment in the comment box below or contact our support team at [email protected] directly.