Last active
July 25, 2023 00:34
-
-
Save alquezajanmaverick/1d3b7b6c0c2cdbe08e2c3b726e3401fd to your computer and use it in GitHub Desktop.
Shopify Direct Checkout [Subscription Product]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form method="post" action='/cart'> | |
<input name='id' class='hidden' value="VARIANT_ID" type='hidden'> | |
<input name='selling_plan' class='hidden' value="SELLING_PLAN_ID" type='hidden'> | |
<input name='discount' class='hidden' value="DISCOUNT_CODE" type='hidden'> | |
<input name='qty' class='hidden' value="1" type='hidden'> | |
<button type="submit" name="checkout">Buy Now</button> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment