mirror of
https://github.com/retailcrm/prestashop-module.git
synced 2025-03-01 19:03:14 +03:00
Updated 'Known issues'
This commit is contained in:
parent
d8fa2abbd5
commit
730000b47b
@ -1,3 +1,6 @@
|
||||
# Known issues
|
||||
|
||||
Content
|
||||
## Подписка клиента
|
||||
|
||||
Модуль успешно передает статус подписки клиента из Prestashop в CRM, когда этот статус меняется непосредственно в карточке клиента.
|
||||
В случае подписки клиента через форму подписки на странице сайта, Prestashop никак не уведомляет об этом модули. Следовательно, такое обновление статуса подписки не передается в CRM.
|
@ -150,7 +150,7 @@ class RetailcrmCartUploader
|
||||
$response = static::$api->ordersGet($cartExternalId);
|
||||
|
||||
if (!($response instanceof RetailcrmApiResponse)) {
|
||||
//TODO
|
||||
// TODO
|
||||
// Extract address from cart (if exists) and append to customer?
|
||||
// Or maybe this customer will not order anything, so we don't need it's address...
|
||||
static::$api->customersCreate(RetailcrmOrderBuilder::buildCrmCustomer(new Customer($cart->id_customer)));
|
||||
|
@ -167,7 +167,7 @@ class RetailcrmExport
|
||||
if (!empty($orderCustomer->id)) {
|
||||
$orderBuilder->setCmsCustomer($orderCustomer);
|
||||
} else {
|
||||
//TODO
|
||||
// TODO
|
||||
// Caused crash before because of empty RetailcrmOrderBuilder::cmsCustomer.
|
||||
// Current version *shouldn't* do this, but I suggest more tests for guest customers.
|
||||
$orderBuilder->setCmsCustomer(null);
|
||||
|
@ -187,7 +187,7 @@ class RetailcrmMissingEvent extends RetailcrmAbstractEvent implements RetailcrmE
|
||||
|
||||
foreach ($products as $product) {
|
||||
$item = [
|
||||
//'productId' => $product['product_id'],
|
||||
// 'productId' => $product['product_id'],
|
||||
'offer' => ['externalId' => $product['product_id']],
|
||||
'productName' => $product['product_name'],
|
||||
'quantity' => $product['product_quantity'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user