$product = {"id":7769699352675,"title":"iPhone 14 Clear ilovedoodle Dododo Do It Later 鯊魚","handle":"iphone-14-jellytint-xf01","description":null,"published_at":"2026-04-02T16:53:05+08:00","created_at":"2025-04-15T19:39:15+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師JellyTint專區-I Love Doodle","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ilovedoodle","device-iPhone 14","merge","reseller-ilovedoodle"],"price":128000,"price_min":128000,"price_max":128000,"available":true,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":43303583350883,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-XF01","requires_shipping":true,"taxable":true,"featured_image":{"id":35581065068643,"product_id":7769699352675,"position":6,"created_at":"2026-04-02T14:21:25+08:00","updated_at":"2026-04-02T14:21:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a4c3c339a7343e93143ae07b8d1866c4551cc09_382af8af-82d1-4f45-bc0c-34e24e81aaf2.webp?v=1775110887","variant_ids":[43303583350883]},"available":true,"name":"iPhone 14 Clear ilovedoodle Dododo Do It Later 鯊魚 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600G-XF01","featured_media":{"alt":null,"id":27113685254243,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a4c3c339a7343e93143ae07b8d1866c4551cc09_382af8af-82d1-4f45-bc0c-34e24e81aaf2.webp?v=1775110887"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303585120355,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-XF01","requires_shipping":true,"taxable":true,"featured_image":{"id":35581065461859,"product_id":7769699352675,"position":7,"created_at":"2026-04-02T14:21:26+08:00","updated_at":"2026-04-02T14:21:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36442e99a77f0f755602d9cc4221ca5f7d3eb939_e2e7d56e-c3b7-4b1d-8fbd-aab9979d42d8.webp?v=1775110888","variant_ids":[43303585120355]},"available":true,"name":"iPhone 14 Clear ilovedoodle Dododo Do It Later 鯊魚 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600J-XF01","featured_media":{"alt":null,"id":27113685647459,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36442e99a77f0f755602d9cc4221ca5f7d3eb939_e2e7d56e-c3b7-4b1d-8fbd-aab9979d42d8.webp?v=1775110888"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303585153123,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012600I-XF01","requires_shipping":true,"taxable":true,"featured_image":{"id":35581065822307,"product_id":7769699352675,"position":8,"created_at":"2026-04-02T14:21:26+08:00","updated_at":"2026-04-02T14:21:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0298e688b9b065b38b3d0fecd48411502fef31f5_4e362940-7b1f-4d0e-b61f-a7d8db981762.webp?v=1775110888","variant_ids":[43303585153123]},"available":true,"name":"iPhone 14 Clear ilovedoodle Dododo Do It Later 鯊魚 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600I-XF01","featured_media":{"alt":null,"id":27113686040675,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0298e688b9b065b38b3d0fecd48411502fef31f5_4e362940-7b1f-4d0e-b61f-a7d8db981762.webp?v=1775110888"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6df411aff4934f11a842b2f8cca82352210cf5e_9eaa3edc-ebd3-4b6d-aa01-0cb52092c039.webp?v=1744717161","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e141601efc2452384902066f542fc7fac0d54ec6.webp?v=1774940343","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36442e99a77f0f755602d9cc4221ca5f7d3eb939.webp?v=1774940343","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a4c3c339a7343e93143ae07b8d1866c4551cc09.webp?v=1774940344","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0298e688b9b065b38b3d0fecd48411502fef31f5.webp?v=1774940344","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a4c3c339a7343e93143ae07b8d1866c4551cc09_382af8af-82d1-4f45-bc0c-34e24e81aaf2.webp?v=1775110887","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36442e99a77f0f755602d9cc4221ca5f7d3eb939_e2e7d56e-c3b7-4b1d-8fbd-aab9979d42d8.webp?v=1775110888","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0298e688b9b065b38b3d0fecd48411502fef31f5_4e362940-7b1f-4d0e-b61f-a7d8db981762.webp?v=1775110888","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e141601efc2452384902066f542fc7fac0d54ec6_3b72699b-ff73-49ff-a6aa-8246c759025e.webp?v=1775110889"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6df411aff4934f11a842b2f8cca82352210cf5e_9eaa3edc-ebd3-4b6d-aa01-0cb52092c039.webp?v=1744717161","options":["color"],"media":[{"alt":null,"id":25496138448995,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6df411aff4934f11a842b2f8cca82352210cf5e_9eaa3edc-ebd3-4b6d-aa01-0cb52092c039.webp?v=1744717161"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6df411aff4934f11a842b2f8cca82352210cf5e_9eaa3edc-ebd3-4b6d-aa01-0cb52092c039.webp?v=1744717161","width":2000},{"alt":null,"id":27102501765219,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e141601efc2452384902066f542fc7fac0d54ec6.webp?v=1774940343"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e141601efc2452384902066f542fc7fac0d54ec6.webp?v=1774940343","width":2000},{"alt":null,"id":27102501994595,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36442e99a77f0f755602d9cc4221ca5f7d3eb939.webp?v=1774940343"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36442e99a77f0f755602d9cc4221ca5f7d3eb939.webp?v=1774940343","width":2000},{"alt":null,"id":27102502191203,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a4c3c339a7343e93143ae07b8d1866c4551cc09.webp?v=1774940344"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a4c3c339a7343e93143ae07b8d1866c4551cc09.webp?v=1774940344","width":2000},{"alt":null,"id":27102502289507,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0298e688b9b065b38b3d0fecd48411502fef31f5.webp?v=1774940344"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0298e688b9b065b38b3d0fecd48411502fef31f5.webp?v=1774940344","width":2000},{"alt":null,"id":27113685254243,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a4c3c339a7343e93143ae07b8d1866c4551cc09_382af8af-82d1-4f45-bc0c-34e24e81aaf2.webp?v=1775110887"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a4c3c339a7343e93143ae07b8d1866c4551cc09_382af8af-82d1-4f45-bc0c-34e24e81aaf2.webp?v=1775110887","width":2000},{"alt":null,"id":27113685647459,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36442e99a77f0f755602d9cc4221ca5f7d3eb939_e2e7d56e-c3b7-4b1d-8fbd-aab9979d42d8.webp?v=1775110888"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36442e99a77f0f755602d9cc4221ca5f7d3eb939_e2e7d56e-c3b7-4b1d-8fbd-aab9979d42d8.webp?v=1775110888","width":2000},{"alt":null,"id":27113686040675,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0298e688b9b065b38b3d0fecd48411502fef31f5_4e362940-7b1f-4d0e-b61f-a7d8db981762.webp?v=1775110888"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0298e688b9b065b38b3d0fecd48411502fef31f5_4e362940-7b1f-4d0e-b61f-a7d8db981762.webp?v=1775110888","width":2000},{"alt":null,"id":27113686237283,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e141601efc2452384902066f542fc7fac0d54ec6_3b72699b-ff73-49ff-a6aa-8246c759025e.webp?v=1775110889"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e141601efc2452384902066f542fc7fac0d54ec6_3b72699b-ff73-49ff-a6aa-8246c759025e.webp?v=1775110889","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43303583350883,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-XF01","requires_shipping":true,"taxable":true,"featured_image":{"id":35581065068643,"product_id":7769699352675,"position":6,"created_at":"2026-04-02T14:21:25+08:00","updated_at":"2026-04-02T14:21:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a4c3c339a7343e93143ae07b8d1866c4551cc09_382af8af-82d1-4f45-bc0c-34e24e81aaf2.webp?v=1775110887","variant_ids":[43303583350883]},"available":true,"name":"iPhone 14 Clear ilovedoodle Dododo Do It Later 鯊魚 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600G-XF01","featured_media":{"alt":null,"id":27113685254243,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a4c3c339a7343e93143ae07b8d1866c4551cc09_382af8af-82d1-4f45-bc0c-34e24e81aaf2.webp?v=1775110887"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303585120355,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-XF01","requires_shipping":true,"taxable":true,"featured_image":{"id":35581065461859,"product_id":7769699352675,"position":7,"created_at":"2026-04-02T14:21:26+08:00","updated_at":"2026-04-02T14:21:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36442e99a77f0f755602d9cc4221ca5f7d3eb939_e2e7d56e-c3b7-4b1d-8fbd-aab9979d42d8.webp?v=1775110888","variant_ids":[43303585120355]},"available":true,"name":"iPhone 14 Clear ilovedoodle Dododo Do It Later 鯊魚 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600J-XF01","featured_media":{"alt":null,"id":27113685647459,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36442e99a77f0f755602d9cc4221ca5f7d3eb939_e2e7d56e-c3b7-4b1d-8fbd-aab9979d42d8.webp?v=1775110888"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303585153123,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012600I-XF01","requires_shipping":true,"taxable":true,"featured_image":{"id":35581065822307,"product_id":7769699352675,"position":8,"created_at":"2026-04-02T14:21:26+08:00","updated_at":"2026-04-02T14:21:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0298e688b9b065b38b3d0fecd48411502fef31f5_4e362940-7b1f-4d0e-b61f-a7d8db981762.webp?v=1775110888","variant_ids":[43303585153123]},"available":true,"name":"iPhone 14 Clear ilovedoodle Dododo Do It Later 鯊魚 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600I-XF01","featured_media":{"alt":null,"id":27113686040675,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0298e688b9b065b38b3d0fecd48411502fef31f5_4e362940-7b1f-4d0e-b61f-a7d8db981762.webp?v=1775110888"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43303583350883,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-XF01","requires_shipping":true,"taxable":true,"featured_image":{"id":35581065068643,"product_id":7769699352675,"position":6,"created_at":"2026-04-02T14:21:25+08:00","updated_at":"2026-04-02T14:21:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a4c3c339a7343e93143ae07b8d1866c4551cc09_382af8af-82d1-4f45-bc0c-34e24e81aaf2.webp?v=1775110887","variant_ids":[43303583350883]},"available":true,"name":"iPhone 14 Clear ilovedoodle Dododo Do It Later 鯊魚 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600G-XF01","featured_media":{"alt":null,"id":27113685254243,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a4c3c339a7343e93143ae07b8d1866c4551cc09_382af8af-82d1-4f45-bc0c-34e24e81aaf2.webp?v=1775110887"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $brand_handle = null; $type = ""; var sellingStatus // 只有設計款(SKU 含 '-')才需要合圖 if ($isMerge && $defaultVariant.sku.includes('-')) { $(document).ready(function() { var productImg = $product.images[0]; var bumperImg = window.getProductImageUrl($defaultVariant.sku.split('-')[0]); var layers = ($type === 'mod-nx-backplate' || $type === 'mod-backplate') ? [productImg, bumperImg] : [bumperImg, productImg]; window.mergeProductImages(layers).then(function (mergedImg) { $('.merged-img').attr('src', mergedImg); }); }); }; var sellingStatusData window.fetchSellingStatus().then(data => { try { sellingStatusData = data; } catch (error) { sellingStatusData = null console.error('Unable to parse selling status', error) } $(document).ready(function() { handleSellingStatus($defaultVariant.sku); }); }) function handleSellingStatus(currentSku) { if (!sellingStatusData) { console.error('No selling status available!') return } const sellingStatusElement = document.getElementById('selling-status') const addToCartButton = document.getElementById('AddToCart-product-template') const currentProductSku = currentSku.replace(/-(.*)$/, '-') if ($variants) { const flattenedSellingStatus = [...sellingStatusData.pending, ...sellingStatusData.preorder] const matchSellingStatusProduct = flattenedSellingStatus.filter(product => currentProductSku === product.sku) if (matchSellingStatusProduct.length > 0) { const isProductPending = matchSellingStatusProduct[0].status === 'pending' const matchDate = matchSellingStatusProduct[0].date sellingStatus = isProductPending ? "缺貨中" : "預購完成出貨日:" + matchDate sellingStatusElement.textContent = sellingStatus if (sellingStatus.includes("缺貨中")){ addToCartButton.disabled ='true'; addToCartButton.textContent = "缺貨中無法加入購物車" } else { addToCartButton.textContent = "加到購物車" } } else { sellingStatusElement.textContent = '' addToCartButton.textContent = "加到購物車" }; }; }; document.addEventListener('DOMContentLoaded', function () { var currentVariantSelect = document.getElementById('SingleOptionSelector-0') currentVariantSelect.addEventListener('change', function() { var currentSku = $('#current_sku').text() var skuElement = document.getElementById('current-sku') skuElement.textContent = currentSku handleSellingStatus(currentSku) }); });
// Override default values of shop.strings for each template. // Alternate product templates can change values of // add to cart button, sold out, and unavailable states here. theme.productStrings = { addToCart: "加到購物車", soldOut: "售完", unavailable: "停產" }