How can I create product bundles using scripts for discount offers?

Gunay_Zort
Excursionist
35 0 9

Hi,

I am currently trying to implement bundle discount on orders including certain products as product 1 and other certain products as product 2. I mean Product 1 should be any of our NMN or NR products and product 2 should be one of our Preservage or Resveratrol products. I have found the general code on https://help.shopify.com/en/manual/checkout-settings/script-editor/examples/line-item-scripts#bundle... . However, I am looking for some advice on how should I manipulate it? Should I tag the product list 1 and 2 respectively and then input the tags on the code. Also, can you please advise me where I should amend on the script code? Our store URL is www.youthandearth.com. I have also added the links for product 1 and 2 respectively.

Regards,

Gounay.

 

Product 1 List:

1. https://youthandearth.com/collections/nad-boosters/products/nmn-sublingual-powder-10g-1?variant=3650...

2.https://youthandearth.com/collections/nad-boosters/products/nmn-sublingual-powder-15g-1?variant=3650...

3.https://youthandearth.com/collections/nad-boosters/products/nmn-%CE%B2-nicotinamide-mononucleotide-s...

4.https://youthandearth.com/collections/nad-boosters/products/nmn-60-x-125mg-delayed-release-capsules?...

5.https://youthandearth.com/collections/nad-boosters/products/copy-of-nmn-%CE%B2-nicotinamide-mononucl...

6.https://youthandearth.com/collections/nad-boosters/products/nr-delayed-release-capsules-nicotinamide...

7.https://youthandearth.com/collections/nad-boosters/products/nr-sublingual-powder-10g-nicotinamide-ri...

 

Product 2 List:

1.https://youthandearth.com/collections/longevity-pathways/products/preservage?variant=36505456738467

2.https://youthandearth.com/collections/longevity-pathways/products/resveratrol?variant=41235214565539

 

Replies 0 (0)