All things Shopify and commerce
My code currently reads;
{%- endunless -%}
{% if line_item.title contains 'SPECIAL ORDER' %}
<strong><p><font color='RED'>Ships in 2-4 Weeks </font></p></strong>
{% endif %}
However, I want it to draw from the vendor name to add the message. I have tried this, however had no sucess with it working;
{%- endunless -%}
{%- if product.vendor == "Warehouse" -%}
<strong><p><font color='RED'>Ships in 2-4 Weeks </font></p></strong>
{% endif %}
How do I code it to Vendor details in this instance?
can you please send store urk
What is your recommendation for the code?
Try this code instead of
{%- endunless -%}
{%- if line_item.vendor == "Warehouse" -%}
<strong><p><font color='RED'>Ships in 2-4 Weeks </font></p></strong>
{% endif %}
- Solved it? Hit Like and Accept solution! Support me: ❤️Buy Me a Coffee❤️
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Thanks Dan - This was successful!!!
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025