ORIGINAL REDDIT POST
Help with code to make gift wrap dependant on another (physical) product
I keep getting fraudulent orders from people just buying gift wrap, which is supposed to be an add on service. Can anyone suggest a code snippet to only have gift wrap in the cart if another physical product is there? Sidekick can’t seem to get it right, I…
I keep getting fraudulent orders from people just buying gift wrap, which is supposed to be an add on service. Can anyone suggest a code snippet to only have gift wrap in the cart if another physical product is there? Sidekick can’t seem to get it right, I think because my theme uses a cart drawer. Not interested in adding another app.
Collected discussion
Your comment in r/shopify was automatically removed as your 'post' karma is below 10 (we do not consider your total karma; your post and comment karma are separate numbers and must both meet their minimum requirement). You can increase your post karma by posting in other areas of Reddit to earn upvotes. The higher quality the content, the higher your karma will become. I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
Your comment in r/shopify was automatically removed as your 'post' karma is below 10 (we do not consider your total karma; your post and comment karma are separate numbers and must both meet their minimum requirement). You can increase your post karma by posting in other areas of Reddit to earn upvotes. The higher quality the content, the higher your karma will become. I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
Your comment in r/shopify was automatically removed as your account is too new (accounts must be at least 30 days old). Try again a little later. I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
Your comment in r/shopify was automatically removed as your 'post' karma is below 10 (we do not consider your total karma; your post and comment karma are separate numbers and must both meet their minimum requirement). You can increase your post karma by posting in other areas of Reddit to earn upvotes. The higher quality the content, the higher your karma will become. I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
We had a similar problem where I work, and we tried everything we could think of, but in the end we had to install an app. I know you said you didn't want an app, but that's probably your best bet, sorry.
Yeah that’s the conclusion I’ve ultimately come too, too. Even asked the theme devs for help, but the cart drawer was a big hurdle. For the time being, I’ve just deleted all gift wrap options from my site and made it free since they still seem to find it somewhere. I’ll just get a dedicated gift wrap app closer to the holidays and leave the gift message option there.
Bummer. The good news is that the apps block the bad purchases everywhere, even in the cart drawers, because they run on Shopify servers. Good luck!
Your comment in r/shopify was automatically removed as your 'post' karma is below 10 (we do not consider your total karma; your post and comment karma are separate numbers and must both meet their minimum requirement). You can increase your post karma by posting in other areas of Reddit to earn upvotes. The higher quality the content, the higher your karma will become. I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
why not remove the gift wrap as a product since its not a product, and just add a gift wrapped variant for each product?
You can write the code into your cart and cancel it in flow in case it gets through. With Shopify’s AI it is pretty easy to do.
This comment was deleted.
This comment was deleted.
This comment was deleted.
This comment was deleted.
This comment was deleted.