$product = {"id":8035829416035,"title":"iPhone 14 Clear 蜜糖邦尼 雙胞胎兔排排站","handle":"iphone-14-jellytint-rx04","description":null,"published_at":"2026-06-22T16:25:41+08:00","created_at":"2026-06-17T17:49:34+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-sanrio-family","device-iPhone 14","merge","reseller-sanrio-family"],"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":44265339289699,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-RX04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012259541091,"product_id":8035829416035,"position":4,"created_at":"2026-06-17T17:49:53+08:00","updated_at":"2026-06-17T17:49:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36467823643d35edc9728ff50ff0479322fee6b3_da5ad36b-0a49-42db-9792-a1f6d0ee0413.webp?v=1781689795","variant_ids":[44265339289699]},"available":true,"name":"iPhone 14 Clear 蜜糖邦尼 雙胞胎兔排排站 - 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-RX04","featured_media":{"alt":null,"id":27531063787619,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36467823643d35edc9728ff50ff0479322fee6b3_da5ad36b-0a49-42db-9792-a1f6d0ee0413.webp?v=1781689795"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265346400355,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012600I-RX04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012258066531,"product_id":8035829416035,"position":2,"created_at":"2026-06-17T17:49:52+08:00","updated_at":"2026-06-17T17:49:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cc53989ea85e19c2c3678bd9a09a7cba449a99a_4b844583-bcf5-4a43-bd8e-789ae2c7097c.webp?v=1781689793","variant_ids":[44265346400355]},"available":true,"name":"iPhone 14 Clear 蜜糖邦尼 雙胞胎兔排排站 - 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-RX04","featured_media":{"alt":null,"id":27531062345827,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cc53989ea85e19c2c3678bd9a09a7cba449a99a_4b844583-bcf5-4a43-bd8e-789ae2c7097c.webp?v=1781689793"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265347645539,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-RX04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012257542243,"product_id":8035829416035,"position":1,"created_at":"2026-06-17T17:49:51+08:00","updated_at":"2026-06-17T17:49:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3a479d6ef9f9f88d6a78a4144fa729a016e3e10_c48833e6-4ab9-4b0c-b7be-cc5c3d3f026a.webp?v=1781689793","variant_ids":[44265347645539]},"available":true,"name":"iPhone 14 Clear 蜜糖邦尼 雙胞胎兔排排站 - 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-RX04","featured_media":{"alt":null,"id":27531061657699,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3a479d6ef9f9f88d6a78a4144fa729a016e3e10_c48833e6-4ab9-4b0c-b7be-cc5c3d3f026a.webp?v=1781689793"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3a479d6ef9f9f88d6a78a4144fa729a016e3e10_c48833e6-4ab9-4b0c-b7be-cc5c3d3f026a.webp?v=1781689793","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cc53989ea85e19c2c3678bd9a09a7cba449a99a_4b844583-bcf5-4a43-bd8e-789ae2c7097c.webp?v=1781689793","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e29696352b10702273b5c238359990b7ee5fbcfd_8636b9d4-ec31-48ef-8b7b-8a99e27354b3.webp?v=1781689794","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36467823643d35edc9728ff50ff0479322fee6b3_da5ad36b-0a49-42db-9792-a1f6d0ee0413.webp?v=1781689795"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3a479d6ef9f9f88d6a78a4144fa729a016e3e10_c48833e6-4ab9-4b0c-b7be-cc5c3d3f026a.webp?v=1781689793","options":["color"],"media":[{"alt":null,"id":27531061657699,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3a479d6ef9f9f88d6a78a4144fa729a016e3e10_c48833e6-4ab9-4b0c-b7be-cc5c3d3f026a.webp?v=1781689793"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3a479d6ef9f9f88d6a78a4144fa729a016e3e10_c48833e6-4ab9-4b0c-b7be-cc5c3d3f026a.webp?v=1781689793","width":2000},{"alt":null,"id":27531062345827,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cc53989ea85e19c2c3678bd9a09a7cba449a99a_4b844583-bcf5-4a43-bd8e-789ae2c7097c.webp?v=1781689793"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cc53989ea85e19c2c3678bd9a09a7cba449a99a_4b844583-bcf5-4a43-bd8e-789ae2c7097c.webp?v=1781689793","width":2000},{"alt":null,"id":27531063033955,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e29696352b10702273b5c238359990b7ee5fbcfd_8636b9d4-ec31-48ef-8b7b-8a99e27354b3.webp?v=1781689794"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e29696352b10702273b5c238359990b7ee5fbcfd_8636b9d4-ec31-48ef-8b7b-8a99e27354b3.webp?v=1781689794","width":2000},{"alt":null,"id":27531063787619,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36467823643d35edc9728ff50ff0479322fee6b3_da5ad36b-0a49-42db-9792-a1f6d0ee0413.webp?v=1781689795"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36467823643d35edc9728ff50ff0479322fee6b3_da5ad36b-0a49-42db-9792-a1f6d0ee0413.webp?v=1781689795","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44265339289699,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-RX04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012259541091,"product_id":8035829416035,"position":4,"created_at":"2026-06-17T17:49:53+08:00","updated_at":"2026-06-17T17:49:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36467823643d35edc9728ff50ff0479322fee6b3_da5ad36b-0a49-42db-9792-a1f6d0ee0413.webp?v=1781689795","variant_ids":[44265339289699]},"available":true,"name":"iPhone 14 Clear 蜜糖邦尼 雙胞胎兔排排站 - 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-RX04","featured_media":{"alt":null,"id":27531063787619,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36467823643d35edc9728ff50ff0479322fee6b3_da5ad36b-0a49-42db-9792-a1f6d0ee0413.webp?v=1781689795"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265346400355,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012600I-RX04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012258066531,"product_id":8035829416035,"position":2,"created_at":"2026-06-17T17:49:52+08:00","updated_at":"2026-06-17T17:49:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cc53989ea85e19c2c3678bd9a09a7cba449a99a_4b844583-bcf5-4a43-bd8e-789ae2c7097c.webp?v=1781689793","variant_ids":[44265346400355]},"available":true,"name":"iPhone 14 Clear 蜜糖邦尼 雙胞胎兔排排站 - 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-RX04","featured_media":{"alt":null,"id":27531062345827,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cc53989ea85e19c2c3678bd9a09a7cba449a99a_4b844583-bcf5-4a43-bd8e-789ae2c7097c.webp?v=1781689793"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265347645539,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-RX04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012257542243,"product_id":8035829416035,"position":1,"created_at":"2026-06-17T17:49:51+08:00","updated_at":"2026-06-17T17:49:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3a479d6ef9f9f88d6a78a4144fa729a016e3e10_c48833e6-4ab9-4b0c-b7be-cc5c3d3f026a.webp?v=1781689793","variant_ids":[44265347645539]},"available":true,"name":"iPhone 14 Clear 蜜糖邦尼 雙胞胎兔排排站 - 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-RX04","featured_media":{"alt":null,"id":27531061657699,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3a479d6ef9f9f88d6a78a4144fa729a016e3e10_c48833e6-4ab9-4b0c-b7be-cc5c3d3f026a.webp?v=1781689793"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44265339289699,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-RX04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012259541091,"product_id":8035829416035,"position":4,"created_at":"2026-06-17T17:49:53+08:00","updated_at":"2026-06-17T17:49:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36467823643d35edc9728ff50ff0479322fee6b3_da5ad36b-0a49-42db-9792-a1f6d0ee0413.webp?v=1781689795","variant_ids":[44265339289699]},"available":true,"name":"iPhone 14 Clear 蜜糖邦尼 雙胞胎兔排排站 - 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-RX04","featured_media":{"alt":null,"id":27531063787619,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36467823643d35edc9728ff50ff0479322fee6b3_da5ad36b-0a49-42db-9792-a1f6d0ee0413.webp?v=1781689795"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $type = ""; var sellingStatus if ($isMerge) { $(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: "停產" }