EASY INSTALL
Modules install without additional software
15 DAYS RETURN
Refund for any unsolvable issues
SECURE PAYMENT
Pay securely through Paypal
DEDICATED SUPPORT
Our experts are here to help
|
Title: [QuickFix] Adding product combination sets price instead of quantity Post by: admin on June 04, 2012, 04:42:43 PM Affected:
QuickUpdate v4.5 on PS v1.4.x Problem: When adding a new combination for products in the shop, the price is increased with the value of the "quanitty" field. This is actually bith a bug in QuickUpdate and Prestashop because for objective reasons the PS management of the combinations is not very consistent. Solution: 1. Edit "/adminfolder/quickupdate/database.php" 2. Go to LINE 318 (or LINE 635 depending on editor) - identify the approximate section by searching the file for "addCombination()" 3. Replace line with: Code: $combinationID = $this->versionCompare("1.4") ? $product->addCombinationEntity($wholesale_price, $price, $weight, $unit_impact, $ecotax, $quantity, $id_images, $reference, $supplier_reference, $ean13, $default, $location, $upc) : $product->addCombinationEntity($wholesale_price, $price, $weight, $ecotax, $quantity, $id_images, $reference, $supplier_reference, $ean13, $default, $location); |