Jump to content

PS 1.7 Multistore - product combination additional cost overwritten with value of default shop


Smokovsky

Recommended Posts

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 by Smokovsky (see edit history)
Link to comment
Share on other sites

  • Smokovsky changed the title to PS 1.7 Multistore - product combination additional cost overwritten with value of default shop

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...