Testé fonctionnel sur une version 2.3. Source: MAGENTO 2 – REMOVE PRICE FROM SELECT DROPDOWN ON CONFIGURABLE PRODUCTS.
Partie à commenter dans la surcharge que vous ferez du fichier vendor/magento/module-configurable-product/view/frontend/web/js/configurable.js
dans votre thème:
1 2 3 4 5 6 7 |
if (optionPriceDiff !== 0) { options[i].label += ' ' + priceUtils.formatPrice( optionPriceDiff, this.options.priceFormat, true ); } |