Open
Description
Summary (*)
How prices in select options for configurable products are currently implemented does not provide a good way to customize or extend it. In my specific case I would like to remove it since all my customers don't want it in their shops.
Examples (*)
The only way to possible customize or remove them is to create a mixin and overwrite _fillSelect()
within the mage.configurable widget. This method is complex and huge and overwriting it can cause problems when updating Magento to a newer version and the method changes.
Proposed solution
I have currently these possible solutions in mind:
- Providing a configuration option to either enable or disable showing the price.
Maybe under Stores > Settings > Configuration > Catalog > Catalog > Price. - Using an html template for the option so developers can overwrite the template.
- Extracting this feature into a function which can be extended by a mixin.
Which of the proposed solution makes the most sense and has the highest chance of getting merged?
If you have any other solutions feel free to propose them.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Ready for Grooming