Rammohan0504 commited on
Commit
601bbed
·
verified ·
1 Parent(s): 81af76e

Update templates/order_history.html

Browse files
Files changed (1) hide show
  1. templates/order_history.html +4 -3
templates/order_history.html CHANGED
@@ -87,9 +87,10 @@
87
  {% for line in order.Order_Details__c.split('\n') %}
88
  {% set item_parts = line.split('|') %}
89
  <div class="order-item">
90
- <img src="{{ item_parts[4].strip().replace('Image:', '') }}"
91
- alt="{{ item_parts[0].strip() }}"
92
- onerror="this.src='/static/placeholder.jpg';">
 
93
 
94
  <div class="order-item-details">
95
  <div class="order-item-title">{{ item_parts[0].strip() }}</div>
 
87
  {% for line in order.Order_Details__c.split('\n') %}
88
  {% set item_parts = line.split('|') %}
89
  <div class="order-item">
90
+ <img src="/static/images/{{ item_parts[4].strip().replace('Image:', '') }}"
91
+ alt="{{ item_parts[0].strip() }}"
92
+ onerror="this.src='/static/placeholder.jpg';">
93
+
94
 
95
  <div class="order-item-details">
96
  <div class="order-item-title">{{ item_parts[0].strip() }}</div>