Personalized checkout and custom promotions with Shopify Scripts
Hello, im adding a store delivery option and i need to hide my courrier Shipping method depending on Store Adress.
Its possible do this with any Script?
Solved! Go to the solution
This is an accepted solution.
Sorry, not sure what happened there. Let me try to attach again.
Hi Cpuga,
Yep, this possible to do using Scripts. I'm happy to generate one for you. Two questions for you:
Best,
Matthew
Thanks you for reply.
This is the rate i need to hide
when we select this adress
This is how its working right now so i need to hide the one i told u.
Give this a try and see if it works for you. You can adjust some of the settings at the bottom of the script. If you need a different configuration, just let me know and I can use Playwright to create a new one.
Best,
Matthew
Its not working
Hi Cpuga,
Make sure that you are creating a "Shipping Script" when you are using the script editor (the default may be Line item). See the screenshot below:
Also be sure that the address and shipping rate name are accurate. I hope that is helpful.
Matthew
Now its working!! thanks you so much!
How can i add more addresses??
Hey Cpuga,
I've attached an example of multiple addresses. Feel free to give the app a try if you want to manage more configurations.
Also, marking this solution as accepted will help others in the future.
Best,
Matthew
Where did u attatch the example with multiple adresses?
This is an accepted solution.
Sorry, not sure what happened there. Let me try to attach again.
Hi Mike!
I know this comment is coming almost two years after this post but i'm having a similar issue and wondering if this script would work or if there's something similar.
I'm trying to hide the curbside pick up option from any address that isn't local to us in ontario.
Thanks in advance
April
Now, in 2023, you can easily achieve this, even for Shopify basic store. You will need to use the BeSure Checkout Rules app. Here are the steps,
1. Create a rule for "Hide shipping methods".
2. Select the condition of "Address line" and enter the word(s) which when present in the address, should hide the given shipping methods.
3. Enter the names of the shipping methods which you want to hide.
Click on create rule and done. Here is an article with detailed steps, https://dub.sh/address-hide
Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024