Liquid, JavaScript, themes, sales channels
I am using the GAF Store Pickup app and it seems to work fine but I am wanting to disable the shipping or store pickup options based on product tags. I found this in the apps FAQ page so I added it to my theme.liquid. It works great if I add a tag to the CUSTOMER but I need it to be based off of the PRODUCT TAG and not the customer tag. Any suggestions on how I can make it look at the product tag instead of the customer tag?
< script >
var disable_gafcnc = false;
{% if customer %}
{% if customer.tags contains "Pickup Disabled" %}
disable_gafcnc = true;
{% endif %}
{% endif %}
< / script >
Hi @Klpye01 ,
We've carefully checked and found your problem quite complicated. So we suggest hiring a developer.
It's what we can help with an optimal solution. If you need help from our expert, kindly share your request with us via Shopify experts: https://experts.shopify.com/bss-commerce/services?utm_source=Shopify+Community&utm_medium=Post+reply...
We will check it and give you a detailed solution. We're looking forward to working with you.
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
For B2B solutions and custom pricing, check out B2B Solution & Custom Pricing |
For adding product labels/badges, visit Product Labels by BSS
BSS Commerce - Shopify Apps & Store Development Service Provider
Hire a Shopify expert | Shopify Plus Store Development
User | RANK |
---|---|
38 | |
29 | |
13 | |
11 | |
8 |
Transform this holiday season into a shopping spree. Plus, learn how to effortlessly open ...
By Jasonh Dec 8, 2023Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023