$product = {"id":7921121460323,"title":"iPhone 12 mini Mod NX (MagSafe 兼容) Incrediville 怪奇事物所 所長的力量泉源","handle":"iphone-12-mini-mod-nx-magsafe-hd68","description":null,"published_at":"2025-11-13T09:50:56+08:00","created_at":"2025-11-11T09:38:19+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-incrediville","device-iPhone 12 Mini","merge","reseller-incrediville"],"price":110000,"price_min":110000,"price_max":110000,"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":43830844457059,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118424-HD68","requires_shipping":true,"taxable":true,"featured_image":{"id":34786008694883,"product_id":7921121460323,"position":3,"created_at":"2025-11-11T09:38:26+08:00","updated_at":"2025-11-11T09:38:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6df630dff890f096249a9ed3a18f81793b5a0379.webp?v=1762825108","variant_ids":[43830844457059]},"available":true,"name":"iPhone 12 mini Mod NX (MagSafe 兼容) Incrediville 怪奇事物所 所長的力量泉源 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118424-HD68","featured_media":{"alt":null,"id":26351465824355,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6df630dff890f096249a9ed3a18f81793b5a0379.webp?v=1762825108"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15b01b884b8217e8b7cffa52eb5f8d819401ab22.webp?v=1762825106","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fba2c0be10210992cb7cba7b7296131e6f7545b.webp?v=1762825107","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6df630dff890f096249a9ed3a18f81793b5a0379.webp?v=1762825108","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a0574b01710c5617afc607725839ce5a089c09e.webp?v=1762825108","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4834d51cc40b03c0930df56ba989f648a8307fb.webp?v=1762825109","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3382db89cad83912af7703d1e1e700016f9784d8.webp?v=1762825110","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7100494e8df6109ba3090d79ac5e9649b47f23a5.webp?v=1762825110","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39ba35a932dad782b7a5d0201e9eccee4f590841.webp?v=1762825111","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/282d8d0a35838786eb56a1ddb6e6b69361abae7c.webp?v=1762825112","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d75b0ee4d0d68003c8f2e56d123d60c9fc3a264.webp?v=1762825113","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/056555c7fd0dca19b0761113dc36f340bfb60cec.webp?v=1762825113"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15b01b884b8217e8b7cffa52eb5f8d819401ab22.webp?v=1762825106","options":["color"],"media":[{"alt":null,"id":26351465103459,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15b01b884b8217e8b7cffa52eb5f8d819401ab22.webp?v=1762825106"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15b01b884b8217e8b7cffa52eb5f8d819401ab22.webp?v=1762825106","width":2000},{"alt":null,"id":26351465594979,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fba2c0be10210992cb7cba7b7296131e6f7545b.webp?v=1762825107"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fba2c0be10210992cb7cba7b7296131e6f7545b.webp?v=1762825107","width":2000},{"alt":null,"id":26351465824355,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6df630dff890f096249a9ed3a18f81793b5a0379.webp?v=1762825108"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6df630dff890f096249a9ed3a18f81793b5a0379.webp?v=1762825108","width":2000},{"alt":null,"id":26351466086499,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a0574b01710c5617afc607725839ce5a089c09e.webp?v=1762825108"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a0574b01710c5617afc607725839ce5a089c09e.webp?v=1762825108","width":2000},{"alt":null,"id":26351466348643,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4834d51cc40b03c0930df56ba989f648a8307fb.webp?v=1762825109"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4834d51cc40b03c0930df56ba989f648a8307fb.webp?v=1762825109","width":2000},{"alt":null,"id":26351466709091,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3382db89cad83912af7703d1e1e700016f9784d8.webp?v=1762825110"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3382db89cad83912af7703d1e1e700016f9784d8.webp?v=1762825110","width":2000},{"alt":null,"id":26351466971235,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7100494e8df6109ba3090d79ac5e9649b47f23a5.webp?v=1762825110"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7100494e8df6109ba3090d79ac5e9649b47f23a5.webp?v=1762825110","width":2000},{"alt":null,"id":26351467331683,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39ba35a932dad782b7a5d0201e9eccee4f590841.webp?v=1762825111"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39ba35a932dad782b7a5d0201e9eccee4f590841.webp?v=1762825111","width":2000},{"alt":null,"id":26351467724899,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/282d8d0a35838786eb56a1ddb6e6b69361abae7c.webp?v=1762825112"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/282d8d0a35838786eb56a1ddb6e6b69361abae7c.webp?v=1762825112","width":2000},{"alt":null,"id":26351468052579,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d75b0ee4d0d68003c8f2e56d123d60c9fc3a264.webp?v=1762825113"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d75b0ee4d0d68003c8f2e56d123d60c9fc3a264.webp?v=1762825113","width":2000},{"alt":null,"id":26351468314723,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/056555c7fd0dca19b0761113dc36f340bfb60cec.webp?v=1762825113"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/056555c7fd0dca19b0761113dc36f340bfb60cec.webp?v=1762825113","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43830844457059,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118424-HD68","requires_shipping":true,"taxable":true,"featured_image":{"id":34786008694883,"product_id":7921121460323,"position":3,"created_at":"2025-11-11T09:38:26+08:00","updated_at":"2025-11-11T09:38:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6df630dff890f096249a9ed3a18f81793b5a0379.webp?v=1762825108","variant_ids":[43830844457059]},"available":true,"name":"iPhone 12 mini Mod NX (MagSafe 兼容) Incrediville 怪奇事物所 所長的力量泉源 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118424-HD68","featured_media":{"alt":null,"id":26351465824355,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6df630dff890f096249a9ed3a18f81793b5a0379.webp?v=1762825108"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43830844457059,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118424-HD68","requires_shipping":true,"taxable":true,"featured_image":{"id":34786008694883,"product_id":7921121460323,"position":3,"created_at":"2025-11-11T09:38:26+08:00","updated_at":"2025-11-11T09:38:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6df630dff890f096249a9ed3a18f81793b5a0379.webp?v=1762825108","variant_ids":[43830844457059]},"available":true,"name":"iPhone 12 mini Mod NX (MagSafe 兼容) Incrediville 怪奇事物所 所長的力量泉源 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118424-HD68","featured_media":{"alt":null,"id":26351465824355,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6df630dff890f096249a9ed3a18f81793b5a0379.webp?v=1762825108"}},"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: "停產" }