Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi everyone,
We process a number of order via phone/e-mail and, depending on the Customer, will sometimes apply different discount levels. In order to do this more efficiently it would help if we could display the cost price of each product on the draft order page:
I assume that this would need to be done somewhere like customers/orders.liquid and update
</td>
<td data-label="{{ 'customer.order.sku' | t }}">{{ line_item.sku }}</td>
<td data-label="{{ 'customer.order.price' | t }}">{{ line_item.price | money }}</td>
<td data-label="{{ 'customer.order.quantity' | t }}">{{ line_item.quantity }}</td>
<td data-label="{{ 'customer.order.total' | t }}">{{ line_item.quantity | times: line_item.price | money }}</td>
</tr>
to something like:
</td>
<td data-label="{{ 'customer.order.sku' | t }}">{{ line_item.sku }}</td>
<td data-label="{{ 'customer.order.price' | t }}">{{ line_item.price | money }}</td>
<td data-label="{{ 'customer.order.cost' | t }}">{{ line_item.cost | money }}</td>
<td data-label="{{ 'customer.order.quantity' | t }}">{{ line_item.quantity }}</td>
<td data-label="{{ 'customer.order.total' | t }}">{{ line_item.quantity | times: line_item.price | money }}</td>
</tr>
Am I on the right track?
Thanks a million
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024