Cards with Mini Bouquets (2024)

${imageHTMLMobile(product)}

${product.title}

${tags.map(tag => productPriceBadgeHTML(tag)).join("")}

${ showSecondaryImageFlag ? ` ` : ``}

${productBadgeHTML(tags)}

${product.title}

${priceHTML(product)}

` } /** * Returns the HTML for a badge based on the provided tag. * @param {string} tag - The tag to determine the badge to return. * @returns {string} - The HTML for the corresponding badge. */ function productPriceBadgeHTML(tag) { switch (tag.trim()) { case "5 for $50 eligible": return '

5 for $50

' case "3 Pack": return '

$39 value

' case "5 Pack": return '

$65 value

' case "7 Pack": return '

$91 value

' case "12 Pack": return '

$156 value

' case "3 Pack licensed": return '

$45 value

' case "5 Pack licensed": return '

$75 value

' case "7 Pack licensed": return '

$105 value

' case "12 Pack Bonus": return '

$169 value

' case "Bouquet 3-Pack": return '

$72 value

' case "Bouquet 5-Pack": return '

$120 value

' case "Small Super Pack": return '

$159 value

' case "bundle": return '

$37 value

' case "licensed bundle": return '

$41 value

' case "gift wrap bundle": return '

$50 value

' case "24 Pack": return '

$312 value

' case "REDROSESHOP": return '

Save 20% with code REDROSE

' case "Handcrafted Paper Flower Bundle": return '

$72 value

' case "licensed bouquet wreath card bundle": return '

$67 value

' case "bouquet wreath bundle": return '

$48 value

' case "VDAYSALE": return '

Save $6 on selected cards with VDAYSALE

' case "trickortreatpromo": return '

Save 20% with code TRICKORTREAT

' case "starwarsday23": return '

Use code STARWARS40

' case "Donation_with_purchase": return '

Donation with Purchase

' case "Val-24-30Percent": return '

30% OFF WITH CODE LOVE30

' default: return } } /** * Returns the HTML for additional information based on the provided tags. * @param {array} tags - List of tags to determine the additional information to return. * @returns {string} - The HTML for the corresponding dditional information. */ function productBadgeHTML(tags) { const allIconsArray = []; let resultIconObject = ''; tags.forEach(tag => { switch (tag.trim()) { case 'low-inventory': allIconsArray.push({ tag: ' Hurry - almost gone! ', priority: 1 }) break; case 'New Releases': allIconsArray.push({ tag: ' New! ', priority: 2 }) break; case 'license': allIconsArray.push({ tag: ' Officially Licensed ', priority: 3 }) break; case 'Direct Relief': allIconsArray.push({ tag: ' Liquid error (snippets/featured-collection line 300): Could not find asset snippets/con-heart.liquid Donation with purchase ', priority: 4 }) break; case "Happy Mother's Day": allIconsArray.push({ tag: ' Sentiment: Happy Mother's Day ', priority: 4 }) break; case "Happy Father's Day": allIconsArray.push({ tag: ' Sentiment: Happy Father's Day ', priority: 4 }) break; case 'To Mom': allIconsArray.push({ tag: ' Sentiment: To Mom ', priority: 5 }) break; case 'To Grandma': allIconsArray.push({ tag: ' Sentiment: To Grandma ', priority: 5 }) break; case 'To Dad': allIconsArray.push({ tag: ' Sentiment: To Dad ', priority: 5 }) break; } }) allIconsArray.forEach( tagObject => { if (resultIconObject === '') resultIconObject = tagObject; if (resultIconObject.priority > tagObject.priority) { resultIconObject = tagObject; } }) if (resultIconObject.tag) { return resultIconObject.tag; } return ''; } /** * Returns the CTA HTML information based on inventory_quantity. * @param {string} product - The tag to determine the additional information to return. * @returns {string} - The HTML for the corresponding additional information. */ function ctaHTML(product) { const variant = product.variants[0]; const inStock = variant.inventory_quantity >= 1 ? "in_stock" : "out_of_stock"; switch (inStock) { case "out_of_stock": return ` Notify Me When Back in Stock Sold Out - Request In Stock Notification ` default: return ` ` } } /** * Returns the product price HTML information based on product compare at price. * @param {string} product - The tag to determine the additional information to return. * @returns {string} - The HTML for the corresponding additional information. */ function priceHTML(product){ const variant = product.variants[0]; const compareAtPrice = variant.compare_at_price; return `

Regular price $${variant.price}

Sale price $${variant.price} Regular price $${compareAtPrice}

Unit price / per

` } /** * Returns the image HTML information based on product type. * @param {string} product - The product to determine the additional information to return. * @returns {string} - The HTML for the corresponding additional information. */ function imageHTML(product){ let defaultMedia = product.images[0]; let hoverMedia = product.images[1]; let showSecondaryImageFlag = false; if(product.product_type == "Pop up greeting card" && product.images[2]){ showSecondaryImageFlag = true defaultMedia = product.images[2] hoverMedia = product.images[1] } if(product.product_type == "Card Pack"){ defaultMedia = product.images[0] showSecondaryImageFlag = false } if(product.product_type != "Card Pack" && product.product_type != "Pop up greeting card" && product.images[2]){ showSecondaryImageFlag = true defaultMedia = product.images[0] hoverMedia = product.images[1] } return showSecondaryImageFlag ? ` Cards with Mini Bouquets (1) Cards with Mini Bouquets (2) ` : `Cards with Mini Bouquets (3) ` } function imageHTMLMobile(product){ let defaultMedia = product.images[0]; let hoverMedia = product.images[1]; let showSecondaryImageFlag = false; if(product.product_type == "Pop up greeting card" && product.images[2]){ showSecondaryImageFlag = true defaultMedia = product.images[2] hoverMedia = product.images[1] } if(product.product_type == "Card Pack"){ defaultMedia = product.images[0] showSecondaryImageFlag = false } if(product.product_type != "Card Pack" && product.product_type != "Pop up greeting card" && product.images[2]){ showSecondaryImageFlag = true defaultMedia = product.images[0] hoverMedia = product.images[1] } return showSecondaryImageFlag ? `

Cards with Mini Bouquets (4)

Cards with Mini Bouquets (5)

` : `

Cards with Mini Bouquets (6)

` }})();

Better Together Pop-Up Card with Mini Potion Bouquet

Personalize

Better Together Pop-Up Card with Mini Potion Bouquet

Regular price $7

Sale price $7 Regular price $13

Unit price / per

Personalize and Send

Sale

Mother's Day Tulips Card with Mini Bouquet

5 for $50

Sentiment: Happy Mother's Day

Personalize

Mother's Day Tulips Card with Mini Bouquet

Regular price $13

Sale price $13 Regular price $0

Unit price / per

Personalize and Send

To My Love Card with Mini Bouquet

Personalize

To My Love Card with Mini Bouquet

Regular price $7

Sale price $7 Regular price $13

Unit price / per

Personalize and Send

Sale

For My Wonderful Mother Card with Mini Bouquet

Sentiment: To Mom

Personalize

For My Wonderful Mother Card with Mini Bouquet

Regular price $7

Sale price $7 Regular price $13

Unit price / per

Personalize and Send

Sale

Lunar New Year Tangerine Tree Card with Mini Bouquet

5 for $50

Personalize

Lunar New Year Tangerine Tree Card with Mini Bouquet

Regular price $13

Sale price $13 Regular price

Unit price / per

Personalize and Send

Be Mine Pop-Up Card with Mini Potion Bouquet

Personalize

Be Mine Pop-Up Card with Mini Potion Bouquet

Regular price $7

Sale price $7 Regular price $13

Unit price / per

Personalize and Send

Sale

Disney Tim Burton's The Nightmare Before Christmas Card with Mini Bouquet

Officially Licensed

Personalize

Disney Tim Burton's The Nightmare Before Christmas Card with Mini Bouquet

Regular price $15

Sale price $15 Regular price

Unit price / per

Personalize and Send

Sunflower Card with Mini Bouquet

5 for $50

Personalize

Sunflower Card with Mini Bouquet

Regular price $13

Sale price $13 Regular price

Unit price / per

Personalize and Send

Happy Birthday Card with Mini Bouquet

5 for $50

Personalize

Happy Birthday Card with Mini Bouquet

Regular price $13

Sale price $13 Regular price

Unit price / per

Personalize and Send

For My Wonderful Grandma Card with Mini Bouquet

5 for $50

Sentiment: To Grandma

Personalize

For My Wonderful Grandma Card with Mini Bouquet

Regular price $11

Sale price $11 Regular price $13

Unit price / per

Personalize and Send

Sale

Mother's Day Flower Basket Card with Mini Bouquet

5 for $50

Sentiment: To Mom

Personalize

Mother's Day Flower Basket Card with Mini Bouquet

Regular price $11

Sale price $11 Regular price $13

Unit price / per

Personalize and Send

Sale

XOXO Card with Mini Bouquet

Personalize

XOXO Card with Mini Bouquet

Regular price $7

Sale price $7 Regular price $13

Unit price / per

Personalize and Send

Sale

You Have My Heart Card with Mini Bouquet

Personalize

You Have My Heart Card with Mini Bouquet

Regular price $7

Sale price $7 Regular price $13

Unit price / per

Personalize and Send

Sale

Never miss an important date. Get timely email reminders for all important occasions.

We apologize, but it seems there was an issue processing your request. Please try again later. Thank you for your understanding

We will send reminders to your email {email}.

We apologize, but it seems there was an issue processing your request. Please try again later. Thank you for your understanding

We sent a confirmation email to {email}. If you don’t receive your confirmation email or need to make a change on reminders reach out to us at support@lovepop.com

You can fill out this form for each upcoming occasion.

We apologize, but it seems there was an issue processing your request. Please try again later. Thank you for your understanding

Cards with Mini Bouquets (2024)
Top Articles
Latest Posts
Article information

Author: Duncan Muller

Last Updated:

Views: 5768

Rating: 4.9 / 5 (79 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Duncan Muller

Birthday: 1997-01-13

Address: Apt. 505 914 Phillip Crossroad, O'Konborough, NV 62411

Phone: +8555305800947

Job: Construction Agent

Hobby: Shopping, Table tennis, Snowboarding, Rafting, Motor sports, Homebrewing, Taxidermy

Introduction: My name is Duncan Muller, I am a enchanting, good, gentle, modern, tasty, nice, elegant person who loves writing and wants to share my knowledge and understanding with you.