Liquid, JavaScript, themes, sales channels
Hi all,
I am trying to add a checkbox to the product page that says "Purchase as Gift" and need to pass that value to the cart item such that when the Order/Payment webhook fires with a collection of purchased items, I can see which were marked as gifts.
I could do this with separate SKUs (one for normal purchase, and one for the gift) but that is a pretty hacky solution, and I figure there must be a better way to do something like this.
Any suggestions or insights greatly appreciated!
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024