src/Product.php 2 locations
|
@@ 92-98 (lines=7) @@
|
| 89 |
|
} |
| 90 |
|
} |
| 91 |
|
|
| 92 |
|
private function getOrderPrice($product) |
| 93 |
|
{ |
| 94 |
|
$sql = 'SELECT ps.price from '._DB_PREFIX_.'product_shop as ps WHERE ps.id_product = '.(int) $product; |
| 95 |
|
$result = $this->dbConn->fetchColumn($sql); |
| 96 |
|
|
| 97 |
|
return $result; |
| 98 |
|
} |
| 99 |
|
|
| 100 |
|
private function getProductCat($category) |
| 101 |
|
{ |
|
@@ 100-106 (lines=7) @@
|
| 97 |
|
return $result; |
| 98 |
|
} |
| 99 |
|
|
| 100 |
|
private function getProductCat($category) |
| 101 |
|
{ |
| 102 |
|
$sql = 'SELECT cl.name from '._DB_PREFIX_.'category_lang as cl WHERE cl.id_category = '.(int) $category; |
| 103 |
|
$result = $this->dbConn->fetchColumn($sql); |
| 104 |
|
|
| 105 |
|
return $result; |
| 106 |
|
} |
| 107 |
|
} |
| 108 |
|
|
src/Combination.php 1 location
|
@@ 252-258 (lines=7) @@
|
| 249 |
|
/** |
| 250 |
|
* @param string $product |
| 251 |
|
*/ |
| 252 |
|
private function getProductName($product) |
| 253 |
|
{ |
| 254 |
|
$sql = 'SELECT pl.name from '._DB_PREFIX_.'product_lang as pl WHERE pl.id_product = '.(int) $product; |
| 255 |
|
$result = $this->dbConn->fetchColumn($sql); |
| 256 |
|
|
| 257 |
|
return $result; |
| 258 |
|
} |
| 259 |
|
|
| 260 |
|
} |
| 261 |
|
|