Yes, it’s possible to have a different confirmation email for specific products in Shopify. One way to accomplish this is by using Shopify’s email triggers and conditional logic to send a different email for certain products.
Here’s an overview of the steps you can take:
Create a new email template in the Shopify admin under Settings > Notifications. This email template will be used for Product B.
In your existing order confirmation email template, use conditional logic to check whether Product B is included in the order. You can do this by checking the order’s line items and checking the product ID or title of each item.
If Product B is included in the order, use Shopify’s email triggers to send the new email template you created in step 1, instead of the default order confirmation template.
{% for line_item in line_items %}
{% if line_item.product.id == 12345 %}
{% assign use_new_email = true %}
{% endif %}
{% endfor %}
{% if use_new_email == true %}
{% capture email %}
{% include 'product-b-confirmation-email' %}
{% endcapture %}
{% include 'email-footer' %}
{% else %}
{% capture email %}
{% include 'order-confirmation-email' %}
{% endcapture %}
{% include 'email-footer' %}
{% endif %}