Spaces:
Sleeping
Sleeping
Update templates/order.html
Browse files- templates/order.html +8 -6
templates/order.html
CHANGED
@@ -122,27 +122,29 @@
|
|
122 |
<img src="{{ item_parts[4].strip().replace('Image:', '') }}"
|
123 |
alt="{{ item_parts[0].strip() }}"
|
124 |
onerror="this.src='/static/placeholder.jpg';">
|
125 |
-
|
126 |
<!-- Item Details -->
|
127 |
<div class="cart-item-details">
|
128 |
<div class="cart-item-title">{{ item_parts[0].strip() }}</div> <!-- Item Name & Quantity -->
|
129 |
-
|
130 |
<div class="cart-item-addons">
|
131 |
-
<small class="text-muted">Add-ons: {{ item_parts[
|
132 |
</div>
|
133 |
|
134 |
<div class="cart-item-instructions">
|
135 |
-
<small class="text-muted">Instructions: {{ item_parts[
|
136 |
</div>
|
137 |
</div>
|
138 |
-
|
139 |
<!-- Price -->
|
140 |
<div class="cart-item-actions">
|
141 |
-
<strong>{{ item_parts[
|
142 |
</div>
|
143 |
</div>
|
144 |
{% endfor %}
|
145 |
|
|
|
|
|
146 |
<!-- Total Section -->
|
147 |
<div class="order-summary mt-4">
|
148 |
<p><strong>Sub-Total:</strong> <span class="total-price">${{ order.Total_Amount__c }}</span></p>
|
|
|
122 |
<img src="{{ item_parts[4].strip().replace('Image:', '') }}"
|
123 |
alt="{{ item_parts[0].strip() }}"
|
124 |
onerror="this.src='/static/placeholder.jpg';">
|
125 |
+
|
126 |
<!-- Item Details -->
|
127 |
<div class="cart-item-details">
|
128 |
<div class="cart-item-title">{{ item_parts[0].strip() }}</div> <!-- Item Name & Quantity -->
|
129 |
+
|
130 |
<div class="cart-item-addons">
|
131 |
+
<small class="text-muted">Add-ons: {{ item_parts[2].strip().replace('Add-Ons:', '').replace('None', 'None') }}</small>
|
132 |
</div>
|
133 |
|
134 |
<div class="cart-item-instructions">
|
135 |
+
<small class="text-muted">Instructions: {{ item_parts[3].strip().replace('Instructions:', '') }}</small>
|
136 |
</div>
|
137 |
</div>
|
138 |
+
|
139 |
<!-- Price -->
|
140 |
<div class="cart-item-actions">
|
141 |
+
<strong>{{ item_parts[5].strip().replace('Total Price:', '') }}</strong>
|
142 |
</div>
|
143 |
</div>
|
144 |
{% endfor %}
|
145 |
|
146 |
+
|
147 |
+
|
148 |
<!-- Total Section -->
|
149 |
<div class="order-summary mt-4">
|
150 |
<p><strong>Sub-Total:</strong> <span class="total-price">${{ order.Total_Amount__c }}</span></p>
|