$product = {"id":7987606978659,"title":"iPhone 13 Clear 麵包超人Anpanman 角色大頭貼","handle":"iphone-13-jellytint-anp11","description":null,"published_at":"2026-03-31T10:57:13+08:00","created_at":"2026-03-30T11:13:39+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-anpanman","device-iPhone 13","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":44088517132387,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-ANP11","requires_shipping":true,"taxable":true,"featured_image":{"id":35561311240291,"product_id":7987606978659,"position":8,"created_at":"2026-03-30T11:45:29+08:00","updated_at":"2026-03-30T11:45:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25c4f276b15fc7ad133469f1f32183749546eeaf_87f5aa9a-f0f4-45cd-8d00-fae10dd9a69f.webp?v=1774842331","variant_ids":[44088517132387]},"available":true,"name":"iPhone 13 Clear 麵包超人Anpanman 角色大頭貼 - 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-ANP11","featured_media":{"alt":null,"id":27094879600739,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25c4f276b15fc7ad133469f1f32183749546eeaf_87f5aa9a-f0f4-45cd-8d00-fae10dd9a69f.webp?v=1774842331"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44088518738019,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012600I-ANP11","requires_shipping":true,"taxable":true,"featured_image":{"id":35561310781539,"product_id":7987606978659,"position":6,"created_at":"2026-03-30T11:45:28+08:00","updated_at":"2026-03-30T11:45:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05000816705d734c4d663d39666009c1cfc354e4_77d271aa-6cbb-4423-8c2e-0db8c24f824f.webp?v=1774842330","variant_ids":[44088518738019]},"available":true,"name":"iPhone 13 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":"CCN012600I-ANP11","featured_media":{"alt":null,"id":27094879141987,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05000816705d734c4d663d39666009c1cfc354e4_77d271aa-6cbb-4423-8c2e-0db8c24f824f.webp?v=1774842330"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44088518770787,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-ANP11","requires_shipping":true,"taxable":true,"featured_image":{"id":35561310552163,"product_id":7987606978659,"position":5,"created_at":"2026-03-30T11:45:28+08:00","updated_at":"2026-03-30T11:45:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2624d344dc7d5a67f4678233a50d1137f6ebaac_83c7b99a-4649-4dbf-9d8f-7a02d76ec826.webp?v=1774842329","variant_ids":[44088518770787]},"available":true,"name":"iPhone 13 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":"CCN012600G-ANP11","featured_media":{"alt":null,"id":27094878912611,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2624d344dc7d5a67f4678233a50d1137f6ebaac_83c7b99a-4649-4dbf-9d8f-7a02d76ec826.webp?v=1774842329"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d6980b9f8e5ee8e1ee0be56f6c032f9d3f11401_02dcbb08-5f4b-4fa4-adc2-10fc5a14b8a6.webp?v=1774840425","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05000816705d734c4d663d39666009c1cfc354e4_7356447e-75e9-41e6-8c33-3b45cd11b000.webp?v=1774840426","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25c4f276b15fc7ad133469f1f32183749546eeaf_986a2a33-b21a-47b1-a25e-a9b9744f4609.webp?v=1774840427","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2624d344dc7d5a67f4678233a50d1137f6ebaac_7aabe501-1042-4682-a53d-275b59b425b4.webp?v=1774840428","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2624d344dc7d5a67f4678233a50d1137f6ebaac_83c7b99a-4649-4dbf-9d8f-7a02d76ec826.webp?v=1774842329","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05000816705d734c4d663d39666009c1cfc354e4_77d271aa-6cbb-4423-8c2e-0db8c24f824f.webp?v=1774842330","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d6980b9f8e5ee8e1ee0be56f6c032f9d3f11401_9ac6d6b9-58f1-4ef0-b5e5-139540d5602d.webp?v=1774842331","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25c4f276b15fc7ad133469f1f32183749546eeaf_87f5aa9a-f0f4-45cd-8d00-fae10dd9a69f.webp?v=1774842331"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d6980b9f8e5ee8e1ee0be56f6c032f9d3f11401_02dcbb08-5f4b-4fa4-adc2-10fc5a14b8a6.webp?v=1774840425","options":["color"],"media":[{"alt":null,"id":27094524788835,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d6980b9f8e5ee8e1ee0be56f6c032f9d3f11401_02dcbb08-5f4b-4fa4-adc2-10fc5a14b8a6.webp?v=1774840425"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d6980b9f8e5ee8e1ee0be56f6c032f9d3f11401_02dcbb08-5f4b-4fa4-adc2-10fc5a14b8a6.webp?v=1774840425","width":2000},{"alt":null,"id":27094524854371,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05000816705d734c4d663d39666009c1cfc354e4_7356447e-75e9-41e6-8c33-3b45cd11b000.webp?v=1774840426"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05000816705d734c4d663d39666009c1cfc354e4_7356447e-75e9-41e6-8c33-3b45cd11b000.webp?v=1774840426","width":2000},{"alt":null,"id":27094525116515,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25c4f276b15fc7ad133469f1f32183749546eeaf_986a2a33-b21a-47b1-a25e-a9b9744f4609.webp?v=1774840427"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25c4f276b15fc7ad133469f1f32183749546eeaf_986a2a33-b21a-47b1-a25e-a9b9744f4609.webp?v=1774840427","width":2000},{"alt":null,"id":27094525280355,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2624d344dc7d5a67f4678233a50d1137f6ebaac_7aabe501-1042-4682-a53d-275b59b425b4.webp?v=1774840428"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2624d344dc7d5a67f4678233a50d1137f6ebaac_7aabe501-1042-4682-a53d-275b59b425b4.webp?v=1774840428","width":2000},{"alt":null,"id":27094878912611,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2624d344dc7d5a67f4678233a50d1137f6ebaac_83c7b99a-4649-4dbf-9d8f-7a02d76ec826.webp?v=1774842329"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2624d344dc7d5a67f4678233a50d1137f6ebaac_83c7b99a-4649-4dbf-9d8f-7a02d76ec826.webp?v=1774842329","width":2000},{"alt":null,"id":27094879141987,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05000816705d734c4d663d39666009c1cfc354e4_77d271aa-6cbb-4423-8c2e-0db8c24f824f.webp?v=1774842330"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05000816705d734c4d663d39666009c1cfc354e4_77d271aa-6cbb-4423-8c2e-0db8c24f824f.webp?v=1774842330","width":2000},{"alt":null,"id":27094879338595,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d6980b9f8e5ee8e1ee0be56f6c032f9d3f11401_9ac6d6b9-58f1-4ef0-b5e5-139540d5602d.webp?v=1774842331"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d6980b9f8e5ee8e1ee0be56f6c032f9d3f11401_9ac6d6b9-58f1-4ef0-b5e5-139540d5602d.webp?v=1774842331","width":2000},{"alt":null,"id":27094879600739,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25c4f276b15fc7ad133469f1f32183749546eeaf_87f5aa9a-f0f4-45cd-8d00-fae10dd9a69f.webp?v=1774842331"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25c4f276b15fc7ad133469f1f32183749546eeaf_87f5aa9a-f0f4-45cd-8d00-fae10dd9a69f.webp?v=1774842331","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44088517132387,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-ANP11","requires_shipping":true,"taxable":true,"featured_image":{"id":35561311240291,"product_id":7987606978659,"position":8,"created_at":"2026-03-30T11:45:29+08:00","updated_at":"2026-03-30T11:45:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25c4f276b15fc7ad133469f1f32183749546eeaf_87f5aa9a-f0f4-45cd-8d00-fae10dd9a69f.webp?v=1774842331","variant_ids":[44088517132387]},"available":true,"name":"iPhone 13 Clear 麵包超人Anpanman 角色大頭貼 - 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-ANP11","featured_media":{"alt":null,"id":27094879600739,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25c4f276b15fc7ad133469f1f32183749546eeaf_87f5aa9a-f0f4-45cd-8d00-fae10dd9a69f.webp?v=1774842331"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44088518738019,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012600I-ANP11","requires_shipping":true,"taxable":true,"featured_image":{"id":35561310781539,"product_id":7987606978659,"position":6,"created_at":"2026-03-30T11:45:28+08:00","updated_at":"2026-03-30T11:45:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05000816705d734c4d663d39666009c1cfc354e4_77d271aa-6cbb-4423-8c2e-0db8c24f824f.webp?v=1774842330","variant_ids":[44088518738019]},"available":true,"name":"iPhone 13 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":"CCN012600I-ANP11","featured_media":{"alt":null,"id":27094879141987,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05000816705d734c4d663d39666009c1cfc354e4_77d271aa-6cbb-4423-8c2e-0db8c24f824f.webp?v=1774842330"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44088518770787,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-ANP11","requires_shipping":true,"taxable":true,"featured_image":{"id":35561310552163,"product_id":7987606978659,"position":5,"created_at":"2026-03-30T11:45:28+08:00","updated_at":"2026-03-30T11:45:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2624d344dc7d5a67f4678233a50d1137f6ebaac_83c7b99a-4649-4dbf-9d8f-7a02d76ec826.webp?v=1774842329","variant_ids":[44088518770787]},"available":true,"name":"iPhone 13 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":"CCN012600G-ANP11","featured_media":{"alt":null,"id":27094878912611,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2624d344dc7d5a67f4678233a50d1137f6ebaac_83c7b99a-4649-4dbf-9d8f-7a02d76ec826.webp?v=1774842329"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44088517132387,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-ANP11","requires_shipping":true,"taxable":true,"featured_image":{"id":35561311240291,"product_id":7987606978659,"position":8,"created_at":"2026-03-30T11:45:29+08:00","updated_at":"2026-03-30T11:45:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25c4f276b15fc7ad133469f1f32183749546eeaf_87f5aa9a-f0f4-45cd-8d00-fae10dd9a69f.webp?v=1774842331","variant_ids":[44088517132387]},"available":true,"name":"iPhone 13 Clear 麵包超人Anpanman 角色大頭貼 - 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-ANP11","featured_media":{"alt":null,"id":27094879600739,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25c4f276b15fc7ad133469f1f32183749546eeaf_87f5aa9a-f0f4-45cd-8d00-fae10dd9a69f.webp?v=1774842331"}},"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: "停產" }