Returns reasons to be published on PDP to alert customers on size selection

Topic summary

Main goal: Automate a Shopify Flow that adds a product metafield when a product has >3 returns and at least 33% of return reasons are “size too large” or “size too small,” then surface a message on the PDP (product detail page) recommending a larger/smaller size.

Latest update: A reply confirms it’s feasible via metafields, advising to create a metafield and integrate it into the theme on the PDP. A helper guide on metafields/metaobjects is provided via link.

Gaps/uncertainties:

  • No concrete Flow setup steps (e.g., how to count returns and calculate reason percentages).
  • No details on data source for return reasons within Flow.

Status: Partially addressed. Theme integration and metafield use suggested; the exact Flow logic and data wiring remain open.

Summarized with AI on December 27. AI used: gpt-5.

Hi,

I need to set up a flow that inserts a metafield on a product based on the number of returns (and reasons) for that product. For example: Product returned more than three times, with at least 33% of reasons being “size too large” or “size too small” > insert meta “we recommend purchasing a larger/smaller size”.

This metafield will then be displayed on the product page to help users select the correct size based on previous customers’ return reasons.

Any idea on how to make this flow?

@Silvia_shopifan hi yes this can be done via metafield you just need to create a metafield with the name XYZ and integrate that with your theme on pdp refer to this helper guide .

Do let me know if you need my help.

Thanks