문제

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?

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top