Shopify themes, liquid, logos, and UX
Can anyone tell me, whats wrong here? I want to tag customers with different tags and show them separate Products with different pricing. Below you see the code part which is included in the theme.liquid file. It replaces the "{{ content_for_layout }}" part.
<!-- wholesale area -->
{% if template contains 'wholesale' %}
{% if customer %}
{% if customer.tags contains 'wholesale' %}
{{ content_for_layout }}
{% else if template contains 'gastro' %}
{% else if customer %}
{% else if customer.tags contains 'gastro' %}
{{ content_for_layout }}
{% else if template contains 'leh' %}
{% else if customer %}
{% else if customer.tags contains 'leh' %}
{{ content_for_layout }}
{% else %}
{% include 'b2b-note' %}
{% endif %}
{% else %}
{% include 'b2b-note' %}
{% endif %}
{% else%}
{{ content_for_layout }}
{% endif %}
Why do you need to do that?
Please check our app, just plug-n-play. It is very easy to use and setup different custom pricing areas for different customers
https://apps.shopify.com/b2b-solution-custom-pricing
A full-service agency that companions with B2B and B2C ecommerce brands to accelerate their growth. With experience and expertise in multiple platforms
Check our B2B Apps on Shopify
User | RANK |
---|---|
74 | |
68 | |
59 | |
57 | |
43 |
As a business owner, have you ever wondered when your customer's first impression of yo...
By Skye Jun 6, 2023We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023