Go to the Theme and click "Customize"
In the top-left corner click on ‘3 dots’ and click ‘Edit code’
- Go to the ‘sections’ folder and into its ‘main-product.liquid’ file
- Call the search bar: Ctrl (Cmd) + F, and type in ‘render block’, click ‘Next
5. Remove line {% render block %} and insert
{% assign wholesalePricingId = 'fena_b2b_wholesale_wholesale_tiers' %} {% assign showWholesalePricing = false %} {% if customer.tags contains "FenaWholesale" %} {% assign showWholesalePricing = true %} {% endif %} {% unless showWholesalePricing==false and block.id contains wholesalePricingId %} {% render block %} {% endunless %}
6. In the same file search for ‘when 'price'’
7. Under {% when ‘price’ %} line insert the code
{% assign showRetailPricing = true %} {% if customer.tags contains 'FenaWholesale' %} {% assign showRetailPricing = false %} {% endif %} {% if showRetailPricing %}
8. Scroll down until you find next {% when ‘***’ %} line
For example here it will be {% when ‘inventory’ %}
9. Insert line {% endif %} before it
10. Save the file.
The result should be as folow:
a) View for retail customer:
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article