R
R
RecentForce992022-03-26 20:27:09
1C-Bitrix
RecentForce99, 2022-03-26 20:27:09

How to insert {{PRODUCT_ID}} as array key?

In sale.basket.basket->template->js-templates->basket-item.php , I pass in the $_SESSION['favourites']['{{PRODUCT_ID}}'] array, but it doesn't output anything. If you display {{PRODUCT_ID}} separately, then everything is fine, but it does not want to get into the array as a key.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question