We’re a charity. We have an app that allows us to collect donations in the cart/basket.
This quickly became our most popular product. As a result it is first result in every auto-populated product recomendation list.
I would like to hide this from the product recommendation section. I have applied a tag of ‘HIDE’ to that product but don’t know where to add it in product-recomendation.liquid
Presumably there needs to be a for loop and an if statement to check for the tag but I don’t really understand how this section is working.
Any help would be greatly appreciated.
{%- style -%}
.section-{{ section.id }}-padding {
padding-top: {{ section.settings.padding_top | times: 0.75 | round: 0 }}px;
padding-bottom: {{ section.settings.padding_bottom | times: 0.75 | round: 0 }}px;
}
@media screen and (min-width: 750px) {
.section-{{ section.id }}-padding {
padding-top: {{ section.settings.padding_top }}px;
padding-bottom: {{ section.settings.padding_bottom }}px;
}
}
{%- endstyle -%}
p.s. I know this has been asked before but in all those threads nobodies code looked like this so couldn’t take learnings from it.
thanks
