Personalized checkout and custom promotions with Shopify Scripts
Hi there,
I have to implement a COD transaction fee and I'd like to use scripts.
I added a new shipping method is "Shipping + COD" and I'd like to filter the allowed payment methods to only COD if that payment method is applied.
Unfortunatelly I didn't find a solution. Can anybody help me?
Cheers,
Raffaele.
Yes , i also have the same issue. Can some one pls guide me
There is an example payments script to get started
Keep in mind there's no passing information from a shipping script to a payments script and each has it's own non-global methods.
Save time & money ,Ask Questions The Smart Way
Confused? Busy? Get the solution you need paull.newton+shopifyforum@gmail.com
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Buy Paul a ☕ Coffee for more answers or donate to eff.org
sorry paul what does that mean. can you pls elaborate
Some methods can only be used in line item scripts.
https://help.shopify.com/en/manual/apps/apps-by-shopify/script-editor/shopify-scripts
Meaning in a payment script .shipping_rates is not useable , further afaik there's no property clearly indicating which shipping rate was selected.
Cart attributes are also not accessible https://help.shopify.com/en/manual/apps/apps-by-shopify/script-editor/limitations#cart-checkout-attr...
Save time & money ,Ask Questions The Smart Way
Confused? Busy? Get the solution you need paull.newton+shopifyforum@gmail.com
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Buy Paul a ☕ Coffee for more answers or donate to eff.org
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024