Smokovsky Posted March 29, 2021 Share Posted March 29, 2021 (edited) 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?? Edited March 29, 2021 by Smokovsky (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now