Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save wp126/569b18cee2c77edc613ab7e860cb28fc to your computer and use it in GitHub Desktop.
Save wp126/569b18cee2c77edc613ab7e860cb28fc to your computer and use it in GitHub Desktop.
Update Attribute and Combination Price in Prestashop
$combination = new Combination(20);//id_product_attribute add there
$combination->price = (float)20;
$combination->save();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment