Customising the Single product page, adding custom fields and saving them in Store backend

Highlighted
Shopify Partner
3 0 1

I have shopify store, i have implemented Gift Card Auto Fulfill app to generate gift vouchers for users to receive gift vouchers, now i am adding custom fields on single product page as name, email and gift voucher value, I need to save these values when doing checkout so that on placing the order , the gift voucher will be received to the mentioned email I have added on Add to Cart single product page.

Can we do that in shopify? If yes, then kindly elaborate.

Also, I have implemented Stripe gateway through code but i am unable to do proper checkout having issues in it.

 

 
 
0 Likes
Shopify Expert
9778 86 1524

You'd want to look at adding line item properties to the product, then pulling that data out later via your app.

https://help.shopify.com/en/themes/liquid/objects/line_item

 

If you are generating Gift Cards I assume this is a Plus store with access to the Gift Card API.

★ Winning Partner of the Build a Business competition. ★ http://freakdesign.com.au
0 Likes