I have a discount form on cart page where I am trying to check if discount code is valid or not on cart page in Shopify. I looked at the forum of the Shopify and found code whic