How To Get All Ordered Products of a Customer in Shopify

You want to show all ordered products for each customer on your Shopify store. This article will guide you how to do that for free manually.

  • From your Shopify admin, go to Online Store > Themes.
  • Find the theme you want to edit, and then click Actions > Edit code.
  • In the Templates directory, click Add a new template.
  • In the dialog appear, you choose Page for the select box dropdown and fill ordered-products for the next input field.
  • You paste the below code to the end of this new file template.
  • Click Save.

Now, you must creat new page to show ordered products.

From your Shopify admin, go to Online Store > Pages. Click Add page to create a new page.

After you press “<>” you will be able to manage the chosen web page in HTML. Paste the code  into the needed area and click Save button.

  • From your Shopify admin, go to Online Store > Pages
  • Click Add page to create a new page
  • Set page title for this page
  • Choose page.ordered-products template for this page
  • In Visual Editor, there you should press “<>” to show HTML
  • Paste the code into the content arena
  • Click Save and you are done.

I hope this article is useful for you.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *