$product = {"id":7940049502307,"title":"iPhone 15 Clear (MagSafe 兼容) 常態系列 警告:開箱風險自負","handle":"iphone-15-jellytint-magsafe-fug03","description":null,"published_at":"2025-12-19T14:08:18+08:00","created_at":"2025-12-17T12:41:16+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-fuggler","device-iPhone 15","merge","reseller-fuggler"],"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":43895030317155,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"MCN012950H-FUG03","requires_shipping":true,"taxable":true,"featured_image":{"id":35673187123299,"product_id":7940049502307,"position":7,"created_at":"2026-04-20T09:38:50+08:00","updated_at":"2026-04-20T09:38:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b56eacbea46180ada09d2272715e0de0f639c28a_ea9d56d9-dffc-4dbf-9da3-2f0d90cafa09.webp?v=1776649132","variant_ids":[43895030317155]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 常態系列 警告:開箱風險自負 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950H-FUG03","featured_media":{"alt":null,"id":27200458293347,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b56eacbea46180ada09d2272715e0de0f639c28a_ea9d56d9-dffc-4dbf-9da3-2f0d90cafa09.webp?v=1776649132"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43895030349923,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"MCN012950J-FUG03","requires_shipping":true,"taxable":true,"featured_image":{"id":35673187024995,"product_id":7940049502307,"position":6,"created_at":"2026-04-20T09:38:50+08:00","updated_at":"2026-04-20T09:38:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d62e7ba563ad675eeabb5a611c7d42b38544f0d_de56b662-08d6-4e9f-a28e-3c8add51ad47.webp?v=1776649131","variant_ids":[43895030349923]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 常態系列 警告:開箱風險自負 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950J-FUG03","featured_media":{"alt":null,"id":27200458195043,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d62e7ba563ad675eeabb5a611c7d42b38544f0d_de56b662-08d6-4e9f-a28e-3c8add51ad47.webp?v=1776649131"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43895030415459,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012950G-FUG03","requires_shipping":true,"taxable":true,"featured_image":{"id":35673186926691,"product_id":7940049502307,"position":5,"created_at":"2026-04-20T09:38:49+08:00","updated_at":"2026-04-20T09:38:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/349a8dfeaf85d68ef01bbed7666a26ea385c2ede_9cf31809-5fe8-432a-a35c-321403c00819.webp?v=1776649131","variant_ids":[43895030415459]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 常態系列 警告:開箱風險自負 - 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":"MCN012950G-FUG03","featured_media":{"alt":null,"id":27200458096739,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/349a8dfeaf85d68ef01bbed7666a26ea385c2ede_9cf31809-5fe8-432a-a35c-321403c00819.webp?v=1776649131"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d62e7ba563ad675eeabb5a611c7d42b38544f0d.webp?v=1765946493","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b80afce6a4cdcf9ab884901f0a1963c92253e8f.webp?v=1765946493","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b56eacbea46180ada09d2272715e0de0f639c28a.webp?v=1765946493","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/349a8dfeaf85d68ef01bbed7666a26ea385c2ede.webp?v=1765946494","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/349a8dfeaf85d68ef01bbed7666a26ea385c2ede_9cf31809-5fe8-432a-a35c-321403c00819.webp?v=1776649131","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d62e7ba563ad675eeabb5a611c7d42b38544f0d_de56b662-08d6-4e9f-a28e-3c8add51ad47.webp?v=1776649131","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b56eacbea46180ada09d2272715e0de0f639c28a_ea9d56d9-dffc-4dbf-9da3-2f0d90cafa09.webp?v=1776649132","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b80afce6a4cdcf9ab884901f0a1963c92253e8f_bb0eccfc-82af-45b8-9c24-645b0d02c2d0.webp?v=1776649133"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d62e7ba563ad675eeabb5a611c7d42b38544f0d.webp?v=1765946493","options":["color"],"media":[{"alt":null,"id":26522180747363,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d62e7ba563ad675eeabb5a611c7d42b38544f0d.webp?v=1765946493"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d62e7ba563ad675eeabb5a611c7d42b38544f0d.webp?v=1765946493","width":2000},{"alt":null,"id":26522180780131,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b80afce6a4cdcf9ab884901f0a1963c92253e8f.webp?v=1765946493"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b80afce6a4cdcf9ab884901f0a1963c92253e8f.webp?v=1765946493","width":2000},{"alt":null,"id":26522180812899,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b56eacbea46180ada09d2272715e0de0f639c28a.webp?v=1765946493"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b56eacbea46180ada09d2272715e0de0f639c28a.webp?v=1765946493","width":2000},{"alt":null,"id":26522180845667,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/349a8dfeaf85d68ef01bbed7666a26ea385c2ede.webp?v=1765946494"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/349a8dfeaf85d68ef01bbed7666a26ea385c2ede.webp?v=1765946494","width":2000},{"alt":null,"id":27200458096739,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/349a8dfeaf85d68ef01bbed7666a26ea385c2ede_9cf31809-5fe8-432a-a35c-321403c00819.webp?v=1776649131"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/349a8dfeaf85d68ef01bbed7666a26ea385c2ede_9cf31809-5fe8-432a-a35c-321403c00819.webp?v=1776649131","width":2000},{"alt":null,"id":27200458195043,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d62e7ba563ad675eeabb5a611c7d42b38544f0d_de56b662-08d6-4e9f-a28e-3c8add51ad47.webp?v=1776649131"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d62e7ba563ad675eeabb5a611c7d42b38544f0d_de56b662-08d6-4e9f-a28e-3c8add51ad47.webp?v=1776649131","width":2000},{"alt":null,"id":27200458293347,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b56eacbea46180ada09d2272715e0de0f639c28a_ea9d56d9-dffc-4dbf-9da3-2f0d90cafa09.webp?v=1776649132"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b56eacbea46180ada09d2272715e0de0f639c28a_ea9d56d9-dffc-4dbf-9da3-2f0d90cafa09.webp?v=1776649132","width":2000},{"alt":null,"id":27200458391651,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b80afce6a4cdcf9ab884901f0a1963c92253e8f_bb0eccfc-82af-45b8-9c24-645b0d02c2d0.webp?v=1776649133"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b80afce6a4cdcf9ab884901f0a1963c92253e8f_bb0eccfc-82af-45b8-9c24-645b0d02c2d0.webp?v=1776649133","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43895030317155,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"MCN012950H-FUG03","requires_shipping":true,"taxable":true,"featured_image":{"id":35673187123299,"product_id":7940049502307,"position":7,"created_at":"2026-04-20T09:38:50+08:00","updated_at":"2026-04-20T09:38:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b56eacbea46180ada09d2272715e0de0f639c28a_ea9d56d9-dffc-4dbf-9da3-2f0d90cafa09.webp?v=1776649132","variant_ids":[43895030317155]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 常態系列 警告:開箱風險自負 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950H-FUG03","featured_media":{"alt":null,"id":27200458293347,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b56eacbea46180ada09d2272715e0de0f639c28a_ea9d56d9-dffc-4dbf-9da3-2f0d90cafa09.webp?v=1776649132"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43895030349923,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"MCN012950J-FUG03","requires_shipping":true,"taxable":true,"featured_image":{"id":35673187024995,"product_id":7940049502307,"position":6,"created_at":"2026-04-20T09:38:50+08:00","updated_at":"2026-04-20T09:38:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d62e7ba563ad675eeabb5a611c7d42b38544f0d_de56b662-08d6-4e9f-a28e-3c8add51ad47.webp?v=1776649131","variant_ids":[43895030349923]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 常態系列 警告:開箱風險自負 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950J-FUG03","featured_media":{"alt":null,"id":27200458195043,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d62e7ba563ad675eeabb5a611c7d42b38544f0d_de56b662-08d6-4e9f-a28e-3c8add51ad47.webp?v=1776649131"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43895030415459,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012950G-FUG03","requires_shipping":true,"taxable":true,"featured_image":{"id":35673186926691,"product_id":7940049502307,"position":5,"created_at":"2026-04-20T09:38:49+08:00","updated_at":"2026-04-20T09:38:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/349a8dfeaf85d68ef01bbed7666a26ea385c2ede_9cf31809-5fe8-432a-a35c-321403c00819.webp?v=1776649131","variant_ids":[43895030415459]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 常態系列 警告:開箱風險自負 - 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":"MCN012950G-FUG03","featured_media":{"alt":null,"id":27200458096739,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/349a8dfeaf85d68ef01bbed7666a26ea385c2ede_9cf31809-5fe8-432a-a35c-321403c00819.webp?v=1776649131"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43895030317155,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"MCN012950H-FUG03","requires_shipping":true,"taxable":true,"featured_image":{"id":35673187123299,"product_id":7940049502307,"position":7,"created_at":"2026-04-20T09:38:50+08:00","updated_at":"2026-04-20T09:38:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b56eacbea46180ada09d2272715e0de0f639c28a_ea9d56d9-dffc-4dbf-9da3-2f0d90cafa09.webp?v=1776649132","variant_ids":[43895030317155]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 常態系列 警告:開箱風險自負 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950H-FUG03","featured_media":{"alt":null,"id":27200458293347,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b56eacbea46180ada09d2272715e0de0f639c28a_ea9d56d9-dffc-4dbf-9da3-2f0d90cafa09.webp?v=1776649132"}},"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: "停產" }