$product = {"id":7989112897635,"title":"iPhone 13 Clear (MagSafe 兼容) The Powerpuff Girls 飛天小女警 長腿飛天小女警","handle":"iphone-13-jellytint-magsafe-sr43","description":null,"published_at":"2026-04-02T13:35:19+08:00","created_at":"2026-04-01T11:53:29+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-the-power-puff-girls","device-iPhone 13","merge","reseller-the-power-puff-girls"],"price":148000,"price_min":148000,"price_max":148000,"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":44094356455523,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012600G-SR43","requires_shipping":true,"taxable":true,"featured_image":{"id":35637506441315,"product_id":7989112897635,"position":4,"created_at":"2026-04-13T15:36:13+08:00","updated_at":"2026-04-13T15:36:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2987a86bfdd1b37156d907b6b0ea9f7fcc1e51a7_388d8acf-82e1-4d7a-b68e-cc33f4011990.webp?v=1776065775","variant_ids":[44094356455523]},"available":true,"name":"iPhone 13 Clear (MagSafe 兼容) The Powerpuff Girls 飛天小女警 長腿飛天小女警 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012600G-SR43","featured_media":{"alt":null,"id":27166641356899,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2987a86bfdd1b37156d907b6b0ea9f7fcc1e51a7_388d8acf-82e1-4d7a-b68e-cc33f4011990.webp?v=1776065775"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63d713bd4b2eb4a85470149c890aebeff56a2ef9_48d8cf5f-c8bb-463e-978c-1a6a0e2ac509.webp?v=1775015612","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c0336df64b7b8acdcfcdee2ff089073a16ede16_6e3d3488-8e28-4a4f-9885-47515bee0f64.webp?v=1775015612","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2987a86bfdd1b37156d907b6b0ea9f7fcc1e51a7_2e7e0450-c6d2-470f-9503-24a4121efdf0.webp?v=1775015613","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2987a86bfdd1b37156d907b6b0ea9f7fcc1e51a7_388d8acf-82e1-4d7a-b68e-cc33f4011990.webp?v=1776065775","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c0336df64b7b8acdcfcdee2ff089073a16ede16_30133481-07e4-450a-85f2-5e0f2a97ec4c.webp?v=1776065776","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63d713bd4b2eb4a85470149c890aebeff56a2ef9_b0ddf235-220c-44e0-900c-02bc514ced38.webp?v=1776065777"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63d713bd4b2eb4a85470149c890aebeff56a2ef9_48d8cf5f-c8bb-463e-978c-1a6a0e2ac509.webp?v=1775015612","options":["color"],"media":[{"alt":null,"id":27106306949219,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63d713bd4b2eb4a85470149c890aebeff56a2ef9_48d8cf5f-c8bb-463e-978c-1a6a0e2ac509.webp?v=1775015612"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63d713bd4b2eb4a85470149c890aebeff56a2ef9_48d8cf5f-c8bb-463e-978c-1a6a0e2ac509.webp?v=1775015612","width":2000},{"alt":null,"id":27106307113059,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c0336df64b7b8acdcfcdee2ff089073a16ede16_6e3d3488-8e28-4a4f-9885-47515bee0f64.webp?v=1775015612"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c0336df64b7b8acdcfcdee2ff089073a16ede16_6e3d3488-8e28-4a4f-9885-47515bee0f64.webp?v=1775015612","width":2000},{"alt":null,"id":27106307244131,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2987a86bfdd1b37156d907b6b0ea9f7fcc1e51a7_2e7e0450-c6d2-470f-9503-24a4121efdf0.webp?v=1775015613"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2987a86bfdd1b37156d907b6b0ea9f7fcc1e51a7_2e7e0450-c6d2-470f-9503-24a4121efdf0.webp?v=1775015613","width":2000},{"alt":null,"id":27166641356899,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2987a86bfdd1b37156d907b6b0ea9f7fcc1e51a7_388d8acf-82e1-4d7a-b68e-cc33f4011990.webp?v=1776065775"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2987a86bfdd1b37156d907b6b0ea9f7fcc1e51a7_388d8acf-82e1-4d7a-b68e-cc33f4011990.webp?v=1776065775","width":2000},{"alt":null,"id":27166641553507,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c0336df64b7b8acdcfcdee2ff089073a16ede16_30133481-07e4-450a-85f2-5e0f2a97ec4c.webp?v=1776065776"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c0336df64b7b8acdcfcdee2ff089073a16ede16_30133481-07e4-450a-85f2-5e0f2a97ec4c.webp?v=1776065776","width":2000},{"alt":null,"id":27166641913955,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63d713bd4b2eb4a85470149c890aebeff56a2ef9_b0ddf235-220c-44e0-900c-02bc514ced38.webp?v=1776065777"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63d713bd4b2eb4a85470149c890aebeff56a2ef9_b0ddf235-220c-44e0-900c-02bc514ced38.webp?v=1776065777","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44094356455523,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012600G-SR43","requires_shipping":true,"taxable":true,"featured_image":{"id":35637506441315,"product_id":7989112897635,"position":4,"created_at":"2026-04-13T15:36:13+08:00","updated_at":"2026-04-13T15:36:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2987a86bfdd1b37156d907b6b0ea9f7fcc1e51a7_388d8acf-82e1-4d7a-b68e-cc33f4011990.webp?v=1776065775","variant_ids":[44094356455523]},"available":true,"name":"iPhone 13 Clear (MagSafe 兼容) The Powerpuff Girls 飛天小女警 長腿飛天小女警 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012600G-SR43","featured_media":{"alt":null,"id":27166641356899,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2987a86bfdd1b37156d907b6b0ea9f7fcc1e51a7_388d8acf-82e1-4d7a-b68e-cc33f4011990.webp?v=1776065775"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44094356455523,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012600G-SR43","requires_shipping":true,"taxable":true,"featured_image":{"id":35637506441315,"product_id":7989112897635,"position":4,"created_at":"2026-04-13T15:36:13+08:00","updated_at":"2026-04-13T15:36:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2987a86bfdd1b37156d907b6b0ea9f7fcc1e51a7_388d8acf-82e1-4d7a-b68e-cc33f4011990.webp?v=1776065775","variant_ids":[44094356455523]},"available":true,"name":"iPhone 13 Clear (MagSafe 兼容) The Powerpuff Girls 飛天小女警 長腿飛天小女警 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012600G-SR43","featured_media":{"alt":null,"id":27166641356899,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2987a86bfdd1b37156d907b6b0ea9f7fcc1e51a7_388d8acf-82e1-4d7a-b68e-cc33f4011990.webp?v=1776065775"}},"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: "停產" }