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