Hallo, für eine globale Preiserhöhung ansich habe ich den SQL Befehl /// update products set products_price=products_price*1.05; gefunden. Ich müsste allerdings ebenso die Preise für Eigenschaften, Attribute und die Staffelpreise ändern. Gibt es hierzu auch einen SQL Befehl? Vielen Dank!
Wenn ich alle Preise um 6% erhöhen will sollte es dann also so aussehen? update products_attributes set options_values_price = options_values_price *1.06; update properties_values set value_price = value_price *1.06; update products set products_price=products_price*1.06;
Hat super funktioniert. Danke nochmal. Weißt du auch wie die tabelle der Sonderangebotspreise heist? Um diese auch zu erhöhen?
und damit man gambio format = 4 nachkommastellen voll einhält am besten noch alles runden: update products set products_price = ROUND (products_price * 1.1, 4); update products_attributes set options_values_price = ROUND (options_values_price * 1.1, 4); update properties_values set value_price = ROUND (value_price * 1.1, 4); update products_properties_combis set combi_price = ROUND (combi_price * 1.1, 4);