mirror of
https://github.com/retailcrm/prestashop-module.git
synced 2025-04-11 12:50:55 +00:00
ref #90476 dev changes
This commit is contained in:
parent
6b7599ec64
commit
a307b1b4f0
2 changed files with 4 additions and 0 deletions
3
retailcrm/lib/RetailcrmCatalog.php
Normal file → Executable file
3
retailcrm/lib/RetailcrmCatalog.php
Normal file → Executable file
|
@ -208,6 +208,7 @@ class RetailcrmCatalog
|
|||
}
|
||||
|
||||
$offers = Product::getProductAttributesIds($product['id_product']);
|
||||
$features = Product::getFeaturesStatic($product['id_product']);
|
||||
|
||||
if (!empty($offers)) {
|
||||
$offersCount += count($offers);
|
||||
|
@ -290,6 +291,7 @@ class RetailcrmCatalog
|
|||
'weight' => $weight,
|
||||
'dimensions' => $dimensions,
|
||||
'vatRate' => $product['rate'],
|
||||
'features' => $features,
|
||||
];
|
||||
|
||||
if (!empty($combinations)) {
|
||||
|
@ -347,6 +349,7 @@ class RetailcrmCatalog
|
|||
'weight' => $weight,
|
||||
'dimensions' => $dimensions,
|
||||
'vatRate' => $product['rate'],
|
||||
'features' => $features,
|
||||
],
|
||||
[
|
||||
'product' => $product,
|
||||
|
|
|
@ -213,6 +213,7 @@ class RetailcrmIcml
|
|||
|
||||
private function setOffersParams($offer)
|
||||
{
|
||||
RetailcrmLogger::writeCaller('inventories', print_r($offer, true));
|
||||
foreach ($offer as $key => $value) {
|
||||
if (!array_key_exists($key, $this->params)) {
|
||||
continue;
|
||||
|
|
Loading…
Add table
Reference in a new issue