Discussing Shopify Functions development, deployment, and usage in Shopify apps.
There is one payment customization set on the checkout which hides all the payment options when cart attribute value is set.
When product is added to the cart and the checkout button is used, there is no issue, everything works, all payment options are hidden on the checkout.
But when "buy is now" button is used directly from the product page to checkout, then the cart attribute always receives a value of NULL, even though when checking the cart attributes on the checkout, I can see the cart attribute value is correctly set. It is just not being passed to the function as an input for some reason.
Here is video demo,
https://drive.google.com/file/d/1KMgQx1nnyFV2iUQwMcj4uZm0Y77SzdZz/view?usp=sharing
Please help if possible, thank you.
Figured it out? I've been struggling with the same issue for a few months now. I ended up just straight up hiding the Buy Now button with custom CSS.
Unfortunately, no. Still waiting for a reply from Shopify.