K
K
KoRNeT46RuS2019-02-26 12:29:37
1C-Bitrix
KoRNeT46RuS, 2019-02-26 12:29:37

How to display ordered, but not paid for goods in the "Forgotten Cart" trigger mailing list?

I use the "Forgotten Cart" trigger mailing list, which sends an email when the user has placed an order and left without paying for it. The letter inserts a "Small Mail Basket" component in which the goods are displayed. By default, it is configured to display the items that are in the cart.

<?EventMessageThemeCompiler::includeComponent(
  "bitrix:sale.basket.basket.small.mail",
  ".default",
  Array(
    "COLUMNS_LIST" => array(0=>"NAME",1=>"SUM",),
    "COMPONENT_TEMPLATE" => ".default",
    "PATH_TO_BASKET" => "/personal/basket.php",
    "PATH_TO_ORDER" => "/personal/order.php",
    "SHOW_DELAY" => "Y",
    "SHOW_NOTAVAIL" => "Y",
    "SHOW_SUBSCRIBE" => "Y",
    "USER_ID" => "{#USER_ID#}"
  )
);?>

But how to display products in it that the user ordered, but did not pay for?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anatoly Kirsanov, 2020-03-26
@bitrixworkshop

No way.
This triggered mailing works with authorized carts without an order . This is when a person added items to the cart, but did not place an order .
To solve this problem, you need a component that will display the composition of the order.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question