SHARE
TWEET

Untitled

Dzhubal Aug 19th, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {% set itemProps = event["order_items"] %}
  2. {% for b in itemProps %}
  3.     {% set name = json_parse(b.replace("\'", "\"")).name %}
  4.     {% set url = json_parse(b.replace("\'", "\"")).url %}
  5.     {% set img = json_parse(b.replace("\'", "\"")).img %}
  6.     {% set pri = json_parse(b.replace("\'", "\"")).pri %}
  7.     {% set qty = json_parse(b.replace("\'", "\"")).qty %}
  8.     <a href="{{url}}">Название товара: {{name}}</a><br>
  9.     <a href="{{url}}"><img src="{{img}}"></a><br>
  10.     Цена: {{pri}}<br>
  11.     Количество: {{qty}}<br>
  12. {% endfor %}
  13. Вы у нас заказывали это. Оставьте отзыв :)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top