$product = {"id":7954141216867,"title":"iPhone 15 Plus Clear 布丁狗30週年 超市拼貼款","handle":"iphone-15-plus-jellytint-rp06","description":null,"published_at":"2026-01-20T11:21:19+08:00","created_at":"2026-01-19T15:33:18+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-pompompurin-cinnamoroll","device-iPhone 15 Plus","merge","reseller-pompompurin-cinnamoroll"],"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":43957509455971,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012960J-RP06","requires_shipping":true,"taxable":true,"featured_image":{"id":36059964833891,"product_id":7954141216867,"position":8,"created_at":"2026-06-23T15:38:17+08:00","updated_at":"2026-06-23T15:38:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e64143f1da891e207006b1ec7877ab6e7e16bb35_97aedd2f-ba69-4a15-bd41-4e4ec9f144ab.webp?v=1782200299","variant_ids":[43957509455971]},"available":true,"name":"iPhone 15 Plus Clear 布丁狗30週年 超市拼貼款 - 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":"CCN012960J-RP06","featured_media":{"alt":null,"id":27572811006051,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e64143f1da891e207006b1ec7877ab6e7e16bb35_97aedd2f-ba69-4a15-bd41-4e4ec9f144ab.webp?v=1782200299"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43957509849187,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012960I-RP06","requires_shipping":true,"taxable":true,"featured_image":{"id":36059964768355,"product_id":7954141216867,"position":7,"created_at":"2026-06-23T15:38:16+08:00","updated_at":"2026-06-23T15:38:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e0b3247cb9855a01cbeb24b7ad5f300d610b1b0_414bc454-5028-469f-884b-53f486f93437.webp?v=1782200299","variant_ids":[43957509849187]},"available":true,"name":"iPhone 15 Plus Clear 布丁狗30週年 超市拼貼款 - 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":"CCN012960I-RP06","featured_media":{"alt":null,"id":27572810907747,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e0b3247cb9855a01cbeb24b7ad5f300d610b1b0_414bc454-5028-469f-884b-53f486f93437.webp?v=1782200299"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e0b3247cb9855a01cbeb24b7ad5f300d610b1b0.webp?v=1768808012","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c639ead1ccbaf42637708edd5af5fec4e455ba2.webp?v=1768808013","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e64143f1da891e207006b1ec7877ab6e7e16bb35.webp?v=1768808013","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e64143f1da891e207006b1ec7877ab6e7e16bb35_c1a9ba5f-11e7-4342-a449-99f805e1acbb.webp?v=1768815082","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c639ead1ccbaf42637708edd5af5fec4e455ba2_099179cb-bfb5-46a0-9a70-64a03cedc8f6.webp?v=1768815082","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e0b3247cb9855a01cbeb24b7ad5f300d610b1b0_bfc9cbd4-0445-4ff5-8805-5d8fea934b97.webp?v=1768815084","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e0b3247cb9855a01cbeb24b7ad5f300d610b1b0_414bc454-5028-469f-884b-53f486f93437.webp?v=1782200299","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e64143f1da891e207006b1ec7877ab6e7e16bb35_97aedd2f-ba69-4a15-bd41-4e4ec9f144ab.webp?v=1782200299","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c639ead1ccbaf42637708edd5af5fec4e455ba2_cc26ff15-0f0c-4708-87e6-a42974eccad9.webp?v=1782200300"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e0b3247cb9855a01cbeb24b7ad5f300d610b1b0.webp?v=1768808012","options":["color"],"media":[{"alt":null,"id":26675859423331,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e0b3247cb9855a01cbeb24b7ad5f300d610b1b0.webp?v=1768808012"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e0b3247cb9855a01cbeb24b7ad5f300d610b1b0.webp?v=1768808012","width":2000},{"alt":null,"id":26675859751011,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c639ead1ccbaf42637708edd5af5fec4e455ba2.webp?v=1768808013"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c639ead1ccbaf42637708edd5af5fec4e455ba2.webp?v=1768808013","width":2000},{"alt":null,"id":26675860111459,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e64143f1da891e207006b1ec7877ab6e7e16bb35.webp?v=1768808013"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e64143f1da891e207006b1ec7877ab6e7e16bb35.webp?v=1768808013","width":2000},{"alt":null,"id":26676357300323,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e64143f1da891e207006b1ec7877ab6e7e16bb35_c1a9ba5f-11e7-4342-a449-99f805e1acbb.webp?v=1768815082"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e64143f1da891e207006b1ec7877ab6e7e16bb35_c1a9ba5f-11e7-4342-a449-99f805e1acbb.webp?v=1768815082","width":2000},{"alt":null,"id":26676357529699,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c639ead1ccbaf42637708edd5af5fec4e455ba2_099179cb-bfb5-46a0-9a70-64a03cedc8f6.webp?v=1768815082"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c639ead1ccbaf42637708edd5af5fec4e455ba2_099179cb-bfb5-46a0-9a70-64a03cedc8f6.webp?v=1768815082","width":2000},{"alt":null,"id":26676357988451,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e0b3247cb9855a01cbeb24b7ad5f300d610b1b0_bfc9cbd4-0445-4ff5-8805-5d8fea934b97.webp?v=1768815084"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e0b3247cb9855a01cbeb24b7ad5f300d610b1b0_bfc9cbd4-0445-4ff5-8805-5d8fea934b97.webp?v=1768815084","width":2000},{"alt":null,"id":27572810907747,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e0b3247cb9855a01cbeb24b7ad5f300d610b1b0_414bc454-5028-469f-884b-53f486f93437.webp?v=1782200299"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e0b3247cb9855a01cbeb24b7ad5f300d610b1b0_414bc454-5028-469f-884b-53f486f93437.webp?v=1782200299","width":2000},{"alt":null,"id":27572811006051,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e64143f1da891e207006b1ec7877ab6e7e16bb35_97aedd2f-ba69-4a15-bd41-4e4ec9f144ab.webp?v=1782200299"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e64143f1da891e207006b1ec7877ab6e7e16bb35_97aedd2f-ba69-4a15-bd41-4e4ec9f144ab.webp?v=1782200299","width":2000},{"alt":null,"id":27572811038819,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c639ead1ccbaf42637708edd5af5fec4e455ba2_cc26ff15-0f0c-4708-87e6-a42974eccad9.webp?v=1782200300"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c639ead1ccbaf42637708edd5af5fec4e455ba2_cc26ff15-0f0c-4708-87e6-a42974eccad9.webp?v=1782200300","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43957509455971,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012960J-RP06","requires_shipping":true,"taxable":true,"featured_image":{"id":36059964833891,"product_id":7954141216867,"position":8,"created_at":"2026-06-23T15:38:17+08:00","updated_at":"2026-06-23T15:38:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e64143f1da891e207006b1ec7877ab6e7e16bb35_97aedd2f-ba69-4a15-bd41-4e4ec9f144ab.webp?v=1782200299","variant_ids":[43957509455971]},"available":true,"name":"iPhone 15 Plus Clear 布丁狗30週年 超市拼貼款 - 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":"CCN012960J-RP06","featured_media":{"alt":null,"id":27572811006051,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e64143f1da891e207006b1ec7877ab6e7e16bb35_97aedd2f-ba69-4a15-bd41-4e4ec9f144ab.webp?v=1782200299"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43957509849187,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012960I-RP06","requires_shipping":true,"taxable":true,"featured_image":{"id":36059964768355,"product_id":7954141216867,"position":7,"created_at":"2026-06-23T15:38:16+08:00","updated_at":"2026-06-23T15:38:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e0b3247cb9855a01cbeb24b7ad5f300d610b1b0_414bc454-5028-469f-884b-53f486f93437.webp?v=1782200299","variant_ids":[43957509849187]},"available":true,"name":"iPhone 15 Plus Clear 布丁狗30週年 超市拼貼款 - 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":"CCN012960I-RP06","featured_media":{"alt":null,"id":27572810907747,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e0b3247cb9855a01cbeb24b7ad5f300d610b1b0_414bc454-5028-469f-884b-53f486f93437.webp?v=1782200299"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43957509455971,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012960J-RP06","requires_shipping":true,"taxable":true,"featured_image":{"id":36059964833891,"product_id":7954141216867,"position":8,"created_at":"2026-06-23T15:38:17+08:00","updated_at":"2026-06-23T15:38:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e64143f1da891e207006b1ec7877ab6e7e16bb35_97aedd2f-ba69-4a15-bd41-4e4ec9f144ab.webp?v=1782200299","variant_ids":[43957509455971]},"available":true,"name":"iPhone 15 Plus Clear 布丁狗30週年 超市拼貼款 - 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":"CCN012960J-RP06","featured_media":{"alt":null,"id":27572811006051,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e64143f1da891e207006b1ec7877ab6e7e16bb35_97aedd2f-ba69-4a15-bd41-4e4ec9f144ab.webp?v=1782200299"}},"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: "停產" }