HI,
I’d like to hide the circled items when a customer is not logged into the site.
HI,
I’d like to hide the circled items when a customer is not logged into the site.
You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme.liquid file and add the following code above the tag
{% unless customer %}
.product-block--price .product__price-savings,
.product-block a:first-child,
.grid-product__price .grid-product__price--savings {
display: none !important;
}
{% endunless %}
Hopefully it will help you. If yes then Please don’t forget hit Like and Mark it as solution!
Hi @Luxurymrkt
You can do that by adding this code to theme.liquid file after
{% if customer %}
{% endif %}
Hi @Luxurymrkt
{% unless customer %}
{% endunless %}
Hi @Luxurymrkt
Step 1. Go to Admin → Online store → Theme > Edit code
Step 2. Find the file theme.css. Add the following CSS snippet
[data-product-blocks]:has(.notAuthorizedBoxText) [data-save-price], .product-block:has(.notAuthorizedBoxText)+.product-block {
display: none !important;
}
Result
If it helps you, please like and mark it as the solution.
Best Regards