$product = {"id":7987568640099,"title":"iPhone 15 Pro Clear 麵包超人Anpanman 收藏你的笑容","handle":"iphone-15-pro-jellytint-anp16","description":null,"published_at":"2026-03-31T11:05:21+08:00","created_at":"2026-03-30T11:07:58+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-anpanman","device-iPhone 15 Pro","merge","reseller-anpanman"],"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":44088435900515,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012970H-ANP16","requires_shipping":true,"taxable":true,"featured_image":{"id":35561415475299,"product_id":7987568640099,"position":5,"created_at":"2026-03-30T11:51:48+08:00","updated_at":"2026-03-30T11:51:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7cff81e82d6ec8a94396c3e044826afae80a945_5de4c99c-6686-4f1b-ab73-d70735e953db.webp?v=1774842709","variant_ids":[44088435900515]},"available":true,"name":"iPhone 15 Pro Clear 麵包超人Anpanman 收藏你的笑容 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012970H-ANP16","featured_media":{"alt":null,"id":27094983540835,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7cff81e82d6ec8a94396c3e044826afae80a945_5de4c99c-6686-4f1b-ab73-d70735e953db.webp?v=1774842709"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44088435933283,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012970I-ANP16","requires_shipping":true,"taxable":true,"featured_image":{"id":35561415671907,"product_id":7987568640099,"position":7,"created_at":"2026-03-30T11:51:49+08:00","updated_at":"2026-03-30T11:51:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da6f1851f1e26f08548bbc00af442f691e3ad629_91a65b95-ecd1-496f-9061-21b8cb0cd9e1.webp?v=1774842710","variant_ids":[44088435933283]},"available":true,"name":"iPhone 15 Pro Clear 麵包超人Anpanman 收藏你的笑容 - 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":"CCN012970I-ANP16","featured_media":{"alt":null,"id":27094983737443,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da6f1851f1e26f08548bbc00af442f691e3ad629_91a65b95-ecd1-496f-9061-21b8cb0cd9e1.webp?v=1774842710"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44088435966051,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012970G-ANP16","requires_shipping":true,"taxable":true,"featured_image":{"id":35561415770211,"product_id":7987568640099,"position":8,"created_at":"2026-03-30T11:51:49+08:00","updated_at":"2026-03-30T11:51:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43463625e851d8e1a5bf50217ad05a86ecb17039_de3e0ed4-4092-4f11-bb74-48e9f0e88020.webp?v=1774842711","variant_ids":[44088435966051]},"available":true,"name":"iPhone 15 Pro Clear 麵包超人Anpanman 收藏你的笑容 - 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":"CCN012970G-ANP16","featured_media":{"alt":null,"id":27094983835747,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43463625e851d8e1a5bf50217ad05a86ecb17039_de3e0ed4-4092-4f11-bb74-48e9f0e88020.webp?v=1774842711"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c52b196d2c7e325508080f9b4f0665e3f514c912.webp?v=1774840084","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7cff81e82d6ec8a94396c3e044826afae80a945.webp?v=1774840085","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43463625e851d8e1a5bf50217ad05a86ecb17039.webp?v=1774840085","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da6f1851f1e26f08548bbc00af442f691e3ad629.webp?v=1774840086","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7cff81e82d6ec8a94396c3e044826afae80a945_5de4c99c-6686-4f1b-ab73-d70735e953db.webp?v=1774842709","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c52b196d2c7e325508080f9b4f0665e3f514c912_07061387-9df3-45c5-8286-1ccd52c99e55.webp?v=1774842710","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da6f1851f1e26f08548bbc00af442f691e3ad629_91a65b95-ecd1-496f-9061-21b8cb0cd9e1.webp?v=1774842710","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43463625e851d8e1a5bf50217ad05a86ecb17039_de3e0ed4-4092-4f11-bb74-48e9f0e88020.webp?v=1774842711"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c52b196d2c7e325508080f9b4f0665e3f514c912.webp?v=1774840084","options":["color"],"media":[{"alt":null,"id":27094437593187,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c52b196d2c7e325508080f9b4f0665e3f514c912.webp?v=1774840084"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c52b196d2c7e325508080f9b4f0665e3f514c912.webp?v=1774840084","width":2000},{"alt":null,"id":27094437855331,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7cff81e82d6ec8a94396c3e044826afae80a945.webp?v=1774840085"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7cff81e82d6ec8a94396c3e044826afae80a945.webp?v=1774840085","width":2000},{"alt":null,"id":27094438084707,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43463625e851d8e1a5bf50217ad05a86ecb17039.webp?v=1774840085"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43463625e851d8e1a5bf50217ad05a86ecb17039.webp?v=1774840085","width":2000},{"alt":null,"id":27094438281315,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da6f1851f1e26f08548bbc00af442f691e3ad629.webp?v=1774840086"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da6f1851f1e26f08548bbc00af442f691e3ad629.webp?v=1774840086","width":2000},{"alt":null,"id":27094983540835,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7cff81e82d6ec8a94396c3e044826afae80a945_5de4c99c-6686-4f1b-ab73-d70735e953db.webp?v=1774842709"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7cff81e82d6ec8a94396c3e044826afae80a945_5de4c99c-6686-4f1b-ab73-d70735e953db.webp?v=1774842709","width":2000},{"alt":null,"id":27094983639139,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c52b196d2c7e325508080f9b4f0665e3f514c912_07061387-9df3-45c5-8286-1ccd52c99e55.webp?v=1774842710"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c52b196d2c7e325508080f9b4f0665e3f514c912_07061387-9df3-45c5-8286-1ccd52c99e55.webp?v=1774842710","width":2000},{"alt":null,"id":27094983737443,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da6f1851f1e26f08548bbc00af442f691e3ad629_91a65b95-ecd1-496f-9061-21b8cb0cd9e1.webp?v=1774842710"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da6f1851f1e26f08548bbc00af442f691e3ad629_91a65b95-ecd1-496f-9061-21b8cb0cd9e1.webp?v=1774842710","width":2000},{"alt":null,"id":27094983835747,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43463625e851d8e1a5bf50217ad05a86ecb17039_de3e0ed4-4092-4f11-bb74-48e9f0e88020.webp?v=1774842711"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43463625e851d8e1a5bf50217ad05a86ecb17039_de3e0ed4-4092-4f11-bb74-48e9f0e88020.webp?v=1774842711","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44088435900515,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012970H-ANP16","requires_shipping":true,"taxable":true,"featured_image":{"id":35561415475299,"product_id":7987568640099,"position":5,"created_at":"2026-03-30T11:51:48+08:00","updated_at":"2026-03-30T11:51:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7cff81e82d6ec8a94396c3e044826afae80a945_5de4c99c-6686-4f1b-ab73-d70735e953db.webp?v=1774842709","variant_ids":[44088435900515]},"available":true,"name":"iPhone 15 Pro Clear 麵包超人Anpanman 收藏你的笑容 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012970H-ANP16","featured_media":{"alt":null,"id":27094983540835,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7cff81e82d6ec8a94396c3e044826afae80a945_5de4c99c-6686-4f1b-ab73-d70735e953db.webp?v=1774842709"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44088435933283,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012970I-ANP16","requires_shipping":true,"taxable":true,"featured_image":{"id":35561415671907,"product_id":7987568640099,"position":7,"created_at":"2026-03-30T11:51:49+08:00","updated_at":"2026-03-30T11:51:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da6f1851f1e26f08548bbc00af442f691e3ad629_91a65b95-ecd1-496f-9061-21b8cb0cd9e1.webp?v=1774842710","variant_ids":[44088435933283]},"available":true,"name":"iPhone 15 Pro Clear 麵包超人Anpanman 收藏你的笑容 - 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":"CCN012970I-ANP16","featured_media":{"alt":null,"id":27094983737443,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da6f1851f1e26f08548bbc00af442f691e3ad629_91a65b95-ecd1-496f-9061-21b8cb0cd9e1.webp?v=1774842710"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44088435966051,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012970G-ANP16","requires_shipping":true,"taxable":true,"featured_image":{"id":35561415770211,"product_id":7987568640099,"position":8,"created_at":"2026-03-30T11:51:49+08:00","updated_at":"2026-03-30T11:51:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43463625e851d8e1a5bf50217ad05a86ecb17039_de3e0ed4-4092-4f11-bb74-48e9f0e88020.webp?v=1774842711","variant_ids":[44088435966051]},"available":true,"name":"iPhone 15 Pro Clear 麵包超人Anpanman 收藏你的笑容 - 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":"CCN012970G-ANP16","featured_media":{"alt":null,"id":27094983835747,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43463625e851d8e1a5bf50217ad05a86ecb17039_de3e0ed4-4092-4f11-bb74-48e9f0e88020.webp?v=1774842711"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44088435900515,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012970H-ANP16","requires_shipping":true,"taxable":true,"featured_image":{"id":35561415475299,"product_id":7987568640099,"position":5,"created_at":"2026-03-30T11:51:48+08:00","updated_at":"2026-03-30T11:51:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7cff81e82d6ec8a94396c3e044826afae80a945_5de4c99c-6686-4f1b-ab73-d70735e953db.webp?v=1774842709","variant_ids":[44088435900515]},"available":true,"name":"iPhone 15 Pro Clear 麵包超人Anpanman 收藏你的笑容 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012970H-ANP16","featured_media":{"alt":null,"id":27094983540835,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7cff81e82d6ec8a94396c3e044826afae80a945_5de4c99c-6686-4f1b-ab73-d70735e953db.webp?v=1774842709"}},"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: "停產" }