My question is related to already solved issue where saving product in "All shops" context made prices in all shops the same no matter the currency. So if product in Poland would cost for example 100 PLN, then in Germany 100 EUR and in Great Britain 100 GBP. Link to this topic:
https://stackoverflow.com/questions/40867954/prestashop-multistore-local-store-prices-are-overwritten-with-price-from-defau/40917071#40917071
Solved with /classes/Product.php -> getFieldsShop():
if (Shop::getContext() != Shop::CONTEXT_SHOP) {
unset($fields['price']);
unset($fields['wholesale_price']);
}
Anyways the provided solution doesn't cover this very same problem of product combinations additional costs. So I want to ignore those fields too when saving product in "All shops" context.
Does anyone know how to solve it??