@@ -253,6 +253,7 @@ discard block |
||
| 253 | 253 | |
| 254 | 254 | /** |
| 255 | 255 | * @param null|string $attribute |
| 256 | + * @param string $product |
|
| 256 | 257 | */ |
| 257 | 258 | private function getStockQuantity($product, $attribute) |
| 258 | 259 | { |
@@ -423,6 +424,9 @@ discard block |
||
| 423 | 424 | return $result; |
| 424 | 425 | } |
| 425 | 426 | |
| 427 | + /** |
|
| 428 | + * @param string $product |
|
| 429 | + */ |
|
| 426 | 430 | private function getProductName($product) |
| 427 | 431 | { |
| 428 | 432 | $sql = 'SELECT pl.name from '._DB_PREFIX_.'product_lang as pl WHERE pl.id_product = '.(int) $product; |