How can I display a message for a specific product combination order?

Hi all.

I’m trying to amend my customers’ order status page with an additional message.

I’ve followed the Shopify guide “Show content based on an order for a particular product” which works fine, but I only want a message to appear if a particular combination of products has been ordered.

So only if the customer’s order contains ‘product A’ AND ‘product B’, then display the message.

I know the code below is wrong (obviously) but does anyone know the correct code to make this work?


Can anybody help me at all?

Hi there! Glad to help - you can search our free video answers for help at https://app.hopps.io/videos/browse or hop on a 1:1 screen share with a Shopify expert who can walk you through. https://app.hopps.io/session/create.

Anybody else?