[Bug] Cart attributes are not passed to functions when "Buy it Now" button is used

Sam9516
Shopify Partner
42 1 14

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.

Replies 0 (0)