Modify Custom Option Percent Functionality to final price in Magento 2.3.4
-
13-04-2021 - |
Pergunta
I am trying to modify the way Magento 2.3.4
calculates percentage prices in product custom options to use the final price instead of base price so it returns this (base price £30 + options £10 + option 30% = £52
)
I have updated updated :--
/app/design/frontend/Designnbuy/Printshop/Magento_Catalog/model/product/type/price.php
$finalPrice += $group->getOptionPrice($quoteItemOption->getValue(), $finalPrice);
and the percentage is added correctly to the cart but not updating on product page?
Nenhuma solução correta
Licenciado em: CC-BY-SA com atribuição
Não afiliado a magento.stackexchange