Hello, as the title suggests, I want to trigger a warning if the customer goes into a product page based on a certain vendor because the vendor would only ship to specific places and I want to highlight that to the customer as a warning.
Hello,
You can add a pop up to the product section or template.
Add this code in the code editor in shopify
# This is a warning
{% assign p_vendor = product.vendor | downcase %}
{% if p_vendor == ' vendor_name' %}
# This is a warning
{% endif %}
Hello,
Try the app Product Warnings on Checkout to create a warning pop up for your customers. You can create a warning for a certain product, for all products or for a specific collection. So in your case just create a smart collection with product vendor as a condition and target the warning to this collection.