$product = {"id":7931228749923,"title":"iPhone 14 Clear 白白日記 By Darylhochi OOOPS!!","handle":"iphone-14-jellytint-ei80","description":null,"published_at":"2025-11-28T11:11:17+08:00","created_at":"2025-11-28T09:29:47+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-darylhochi","device-iPhone 14","merge","reseller-darylhochi"],"price":108000,"price_min":108000,"price_max":108000,"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":43860665663587,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-EI80","requires_shipping":true,"taxable":true,"featured_image":{"id":34861463961699,"product_id":7931228749923,"position":8,"created_at":"2025-11-28T10:03:31+08:00","updated_at":"2025-11-28T10:03:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/762b01fbc4e5ae628f486e7472c3affae8e4d99e_55e68a1c-159a-4987-94e2-cc3af90c72e3.webp?v=1764295413","variant_ids":[43860665663587]},"available":true,"name":"iPhone 14 Clear 白白日記 By Darylhochi OOOPS!! - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600J-EI80","featured_media":{"alt":null,"id":26425883590755,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/762b01fbc4e5ae628f486e7472c3affae8e4d99e_55e68a1c-159a-4987-94e2-cc3af90c72e3.webp?v=1764295413"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43860666318947,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012600I-EI80","requires_shipping":true,"taxable":true,"featured_image":{"id":34861463568483,"product_id":7931228749923,"position":5,"created_at":"2025-11-28T10:03:24+08:00","updated_at":"2025-11-28T10:03:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71b75cc7f73453e17606ede231adfbf98bedee2c_5061f335-7266-46d0-b8e8-b607bdd3f80d.webp?v=1764295406","variant_ids":[43860666318947]},"available":true,"name":"iPhone 14 Clear 白白日記 By Darylhochi OOOPS!! - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600I-EI80","featured_media":{"alt":null,"id":26425883197539,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71b75cc7f73453e17606ede231adfbf98bedee2c_5061f335-7266-46d0-b8e8-b607bdd3f80d.webp?v=1764295406"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43860666351715,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-EI80","requires_shipping":true,"taxable":true,"featured_image":{"id":34861463666787,"product_id":7931228749923,"position":6,"created_at":"2025-11-28T10:03:26+08:00","updated_at":"2025-11-28T10:03:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bbb547c527adaeb44f2e5e6d024c667afab399a_043d81ff-4d44-488f-99d6-29ced8f7d62b.webp?v=1764295408","variant_ids":[43860666351715]},"available":true,"name":"iPhone 14 Clear 白白日記 By Darylhochi OOOPS!! - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600G-EI80","featured_media":{"alt":null,"id":26425883263075,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bbb547c527adaeb44f2e5e6d024c667afab399a_043d81ff-4d44-488f-99d6-29ced8f7d62b.webp?v=1764295408"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43860666384483,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012600H-EI80","requires_shipping":true,"taxable":true,"featured_image":{"id":34861463928931,"product_id":7931228749923,"position":7,"created_at":"2025-11-28T10:03:30+08:00","updated_at":"2025-11-28T10:03:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b46b34e56638bb92de0beb71d17bd64a81694145_5498e8df-0247-4395-8b37-8fda93256aaf.webp?v=1764295412","variant_ids":[43860666384483]},"available":true,"name":"iPhone 14 Clear 白白日記 By Darylhochi OOOPS!! - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600H-EI80","featured_media":{"alt":null,"id":26425883557987,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b46b34e56638bb92de0beb71d17bd64a81694145_5498e8df-0247-4395-8b37-8fda93256aaf.webp?v=1764295412"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/762b01fbc4e5ae628f486e7472c3affae8e4d99e.webp?v=1764293391","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bbb547c527adaeb44f2e5e6d024c667afab399a.webp?v=1764293391","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b46b34e56638bb92de0beb71d17bd64a81694145.webp?v=1764293391","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71b75cc7f73453e17606ede231adfbf98bedee2c.webp?v=1764293393","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71b75cc7f73453e17606ede231adfbf98bedee2c_5061f335-7266-46d0-b8e8-b607bdd3f80d.webp?v=1764295406","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bbb547c527adaeb44f2e5e6d024c667afab399a_043d81ff-4d44-488f-99d6-29ced8f7d62b.webp?v=1764295408","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b46b34e56638bb92de0beb71d17bd64a81694145_5498e8df-0247-4395-8b37-8fda93256aaf.webp?v=1764295412","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/762b01fbc4e5ae628f486e7472c3affae8e4d99e_55e68a1c-159a-4987-94e2-cc3af90c72e3.webp?v=1764295413"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/762b01fbc4e5ae628f486e7472c3affae8e4d99e.webp?v=1764293391","options":["color"],"media":[{"alt":null,"id":26425609977955,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/762b01fbc4e5ae628f486e7472c3affae8e4d99e.webp?v=1764293391"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/762b01fbc4e5ae628f486e7472c3affae8e4d99e.webp?v=1764293391","width":2000},{"alt":null,"id":26425610076259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bbb547c527adaeb44f2e5e6d024c667afab399a.webp?v=1764293391"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bbb547c527adaeb44f2e5e6d024c667afab399a.webp?v=1764293391","width":2000},{"alt":null,"id":26425610141795,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b46b34e56638bb92de0beb71d17bd64a81694145.webp?v=1764293391"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b46b34e56638bb92de0beb71d17bd64a81694145.webp?v=1764293391","width":2000},{"alt":null,"id":26425610371171,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71b75cc7f73453e17606ede231adfbf98bedee2c.webp?v=1764293393"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71b75cc7f73453e17606ede231adfbf98bedee2c.webp?v=1764293393","width":2000},{"alt":null,"id":26425883197539,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71b75cc7f73453e17606ede231adfbf98bedee2c_5061f335-7266-46d0-b8e8-b607bdd3f80d.webp?v=1764295406"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71b75cc7f73453e17606ede231adfbf98bedee2c_5061f335-7266-46d0-b8e8-b607bdd3f80d.webp?v=1764295406","width":2000},{"alt":null,"id":26425883263075,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bbb547c527adaeb44f2e5e6d024c667afab399a_043d81ff-4d44-488f-99d6-29ced8f7d62b.webp?v=1764295408"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bbb547c527adaeb44f2e5e6d024c667afab399a_043d81ff-4d44-488f-99d6-29ced8f7d62b.webp?v=1764295408","width":2000},{"alt":null,"id":26425883557987,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b46b34e56638bb92de0beb71d17bd64a81694145_5498e8df-0247-4395-8b37-8fda93256aaf.webp?v=1764295412"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b46b34e56638bb92de0beb71d17bd64a81694145_5498e8df-0247-4395-8b37-8fda93256aaf.webp?v=1764295412","width":2000},{"alt":null,"id":26425883590755,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/762b01fbc4e5ae628f486e7472c3affae8e4d99e_55e68a1c-159a-4987-94e2-cc3af90c72e3.webp?v=1764295413"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/762b01fbc4e5ae628f486e7472c3affae8e4d99e_55e68a1c-159a-4987-94e2-cc3af90c72e3.webp?v=1764295413","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43860665663587,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-EI80","requires_shipping":true,"taxable":true,"featured_image":{"id":34861463961699,"product_id":7931228749923,"position":8,"created_at":"2025-11-28T10:03:31+08:00","updated_at":"2025-11-28T10:03:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/762b01fbc4e5ae628f486e7472c3affae8e4d99e_55e68a1c-159a-4987-94e2-cc3af90c72e3.webp?v=1764295413","variant_ids":[43860665663587]},"available":true,"name":"iPhone 14 Clear 白白日記 By Darylhochi OOOPS!! - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600J-EI80","featured_media":{"alt":null,"id":26425883590755,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/762b01fbc4e5ae628f486e7472c3affae8e4d99e_55e68a1c-159a-4987-94e2-cc3af90c72e3.webp?v=1764295413"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43860666318947,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012600I-EI80","requires_shipping":true,"taxable":true,"featured_image":{"id":34861463568483,"product_id":7931228749923,"position":5,"created_at":"2025-11-28T10:03:24+08:00","updated_at":"2025-11-28T10:03:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71b75cc7f73453e17606ede231adfbf98bedee2c_5061f335-7266-46d0-b8e8-b607bdd3f80d.webp?v=1764295406","variant_ids":[43860666318947]},"available":true,"name":"iPhone 14 Clear 白白日記 By Darylhochi OOOPS!! - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600I-EI80","featured_media":{"alt":null,"id":26425883197539,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71b75cc7f73453e17606ede231adfbf98bedee2c_5061f335-7266-46d0-b8e8-b607bdd3f80d.webp?v=1764295406"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43860666351715,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-EI80","requires_shipping":true,"taxable":true,"featured_image":{"id":34861463666787,"product_id":7931228749923,"position":6,"created_at":"2025-11-28T10:03:26+08:00","updated_at":"2025-11-28T10:03:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bbb547c527adaeb44f2e5e6d024c667afab399a_043d81ff-4d44-488f-99d6-29ced8f7d62b.webp?v=1764295408","variant_ids":[43860666351715]},"available":true,"name":"iPhone 14 Clear 白白日記 By Darylhochi OOOPS!! - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600G-EI80","featured_media":{"alt":null,"id":26425883263075,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bbb547c527adaeb44f2e5e6d024c667afab399a_043d81ff-4d44-488f-99d6-29ced8f7d62b.webp?v=1764295408"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43860666384483,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012600H-EI80","requires_shipping":true,"taxable":true,"featured_image":{"id":34861463928931,"product_id":7931228749923,"position":7,"created_at":"2025-11-28T10:03:30+08:00","updated_at":"2025-11-28T10:03:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b46b34e56638bb92de0beb71d17bd64a81694145_5498e8df-0247-4395-8b37-8fda93256aaf.webp?v=1764295412","variant_ids":[43860666384483]},"available":true,"name":"iPhone 14 Clear 白白日記 By Darylhochi OOOPS!! - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600H-EI80","featured_media":{"alt":null,"id":26425883557987,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b46b34e56638bb92de0beb71d17bd64a81694145_5498e8df-0247-4395-8b37-8fda93256aaf.webp?v=1764295412"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43860665663587,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-EI80","requires_shipping":true,"taxable":true,"featured_image":{"id":34861463961699,"product_id":7931228749923,"position":8,"created_at":"2025-11-28T10:03:31+08:00","updated_at":"2025-11-28T10:03:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/762b01fbc4e5ae628f486e7472c3affae8e4d99e_55e68a1c-159a-4987-94e2-cc3af90c72e3.webp?v=1764295413","variant_ids":[43860665663587]},"available":true,"name":"iPhone 14 Clear 白白日記 By Darylhochi OOOPS!! - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600J-EI80","featured_media":{"alt":null,"id":26425883590755,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/762b01fbc4e5ae628f486e7472c3affae8e4d99e_55e68a1c-159a-4987-94e2-cc3af90c72e3.webp?v=1764295413"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null var sellingStatus if ($bumper) { $(document).ready(function() { var productImg = $product.images[0] var bumperVariants = $bumper.variants; var bumperColors = new Object(); var currentVariant = ''; var productType = ''; bumperVariants.forEach(variant => { bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src; }); if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') { mergeImages( [productImg, bumperColors[currentVariant]], { crossOrigin: 'anonymous' } ).then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } else { mergeImages( [bumperColors[currentVariant], productImg], { crossOrigin: 'anonymous' } ).then(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: "停產" }