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
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024