Last active
October 12, 2021 22:06
-
-
Save bartwind/753e9718358f2e544f5c3bc2ef87d46a to your computer and use it in GitHub Desktop.
Webkul QuickBooks plugin PrestaShop - missing functionality to import products with combination
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public function ajaxProcessCreateQbProductOnPs() | |
{ | |
//... | |
if (!$mappedDetail['id_ps_product_attribute']) | |
{ | |
$objProductMap->createUpdatePsProduct($product, $mappedDetail['id_ps_product']); | |
$logger->logInfo($this->l($product['Id'] . 'Updated successfully.')); | |
$data = array( | |
'status' => 'ok', | |
'msg' => 'Product Updated successfully.' | |
); | |
} | |
else | |
{ | |
$logger->logInfo($this->l($product['Id'] . 'Product can not be update. Becuase it have combinations on prestashop.')); | |
$data = array( | |
'status' => 'error', | |
'msg' => 'Product can not be update. Becuase it have combinations on prestashop.' | |
); | |
} | |
//... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment