Skip to content

Commit

Permalink
fix: bundles
Browse files Browse the repository at this point in the history
  • Loading branch information
fox-john committed Dec 4, 2024
1 parent 76a5789 commit 166111b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Repository/BundleRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,10 @@ public function generateFullQuery($langIso, $withSelecParameters)

if ($withSelecParameters) {
$this->query
->select('p.id_product')
->select('pac.id_product_item as id_product')
->select("CONCAT(p.id_product, '-', IFNULL(pas.id_product_attribute, 0), '-', '" . pSQL($langIso) . "') as unique_product_id")
->select('pac.id_product_pack as id_bundle')
->select('pac.id_product_attribute_item as id_product_attribute')
->select('p.id_product')
->select('pac.quantity')
;
}
Expand Down

0 comments on commit 166111b

Please sign in to comment.