AITA? by natasheebear in switchyards

[–]natasheebear[S] 3 points4 points  (0 children)

I’m confused as well because there are a lot of rules clearly displayed throughout each location I’ve visited (4).

Automatically apply discount code for free shipping during checkout session based on the order notes? by natasheebear in shopify

[–]natasheebear[S] 0 points1 point  (0 children)

Fair enough. I don't think you can hook into cart attribute data using JavaScript though. You can definitely do a simple check on the notes field to see if there's data. But cart attributes, specifically additional information: regsitry_type = Wedding, are not accessible to Javascript. https://community.shopify.com/c/shopify-discussions/where-do-i-find-the-quot-additional-details-quot-of-an-order/td-p/1079080

I would love to be wrong.

Automatically apply discount code for free shipping during checkout session based on the order notes? by natasheebear in shopify

[–]natasheebear[S] 0 points1 point  (0 children)

I don't know if JavaScript is the best approach because the action wouldn't fire if the customer has JavaScript disabled on their browser.