Change Table in "Order History" on /account page

I would like to update the “order history” table on the account page to include a header for products and pull in the product title for each of the orders.

I managed to get “Product” to pull in as a header but I can’t figure out how to make the product titles to pull in for each order.

Thanks for any help with trying to pull in these product titles.

Here is the section of code I’ve been working on to try and get it to pull in:

{% if customer.orders.size != 0 %}

{% for order in customer.orders %}

{% endfor %}
{{ 'customer.orders.order_number' | t }} {{ 'customer.order.product' | t }} {{ 'customer.orders.date' | t }} {{ 'customer.orders.fulfillment_status' | t }} {{ 'customer.orders.total' | t }}
{{ order.name | link_to: order.customer_url }} {{ product.title }} {{ order.created_at | date: format: "month_day_year" }} {{ order.financial_status_label }} {{ order.fulfillment_status_label }} {% render 'price-element', price: order.total_price %} {{ order.currency }}

Did you manage to change your order history table?

If you are open to other solutions, we have built the No-login Order History app which would not only display product title, but also the purchase quantity, price and product image.

It also lets any customers (with or without customer account) to be able to view their order history and make repeat purchase.

Here is how it works:

  • Customer goes to the order history page and insert their email address
  • We will send an one-time code to the email address
  • Customer inserts the one-time code in the order history page
  • We confirm the one-time code is correct and we display the customer’s order history based on the email address.

We have a 5-days free trial, you can try it out for free here.


Choong_HueApps_0-1675779756314.png