$product = {"id":7848008122467,"title":"iPhone 13 mini Mod NX (MagSafe 兼容) 嗨小強 Party Pop","handle":"iphone-13-mini-mod-nx-magsafe-bumper-crossover-design-fv62","description":null,"published_at":"2025-08-07T09:27:01+08:00","created_at":"2025-08-05T09:33:27+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-hijohnnn","device-iPhone 13 Mini","merge","reseller-hijohnnn"],"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":43562739859555,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-FV62","requires_shipping":true,"taxable":true,"featured_image":{"id":34287561900131,"product_id":7848008122467,"position":3,"created_at":"2025-08-05T09:33:32+08:00","updated_at":"2025-08-05T09:33:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae936050901e3e7e312f9222f20649d7e8ca856c.webp?v=1754357614","variant_ids":[43562739859555]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 嗨小強 Party Pop - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-FV62","featured_media":{"alt":null,"id":25888729727075,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae936050901e3e7e312f9222f20649d7e8ca856c.webp?v=1754357614"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43562739957859,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-FV62","requires_shipping":true,"taxable":true,"featured_image":{"id":34287562686563,"product_id":7848008122467,"position":5,"created_at":"2025-08-05T09:33:33+08:00","updated_at":"2025-08-05T09:33:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/447ef293f0147c13cea9bd3c47a5fc8b3ead45bd.webp?v=1754357615","variant_ids":[43562739957859]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 嗨小強 Party Pop - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01228J5-FV62","featured_media":{"alt":null,"id":25888730284131,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/447ef293f0147c13cea9bd3c47a5fc8b3ead45bd.webp?v=1754357615"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43562740056163,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-FV62","requires_shipping":true,"taxable":true,"featured_image":{"id":34287562457187,"product_id":7848008122467,"position":4,"created_at":"2025-08-05T09:33:33+08:00","updated_at":"2025-08-05T09:33:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a798785a5a1bb1e0044aeb2421d0e048fbaa0ae1.webp?v=1754357615","variant_ids":[43562740056163]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 嗨小強 Party Pop - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-FV62","featured_media":{"alt":null,"id":25888730054755,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a798785a5a1bb1e0044aeb2421d0e048fbaa0ae1.webp?v=1754357615"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e52c6ed0ed4e8744c6ff013debe9fceef14ccf3d.webp?v=1754357613","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/178ee71c8bef6034bfbc7892ff645f5c8684aaeb.webp?v=1754357614","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae936050901e3e7e312f9222f20649d7e8ca856c.webp?v=1754357614","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a798785a5a1bb1e0044aeb2421d0e048fbaa0ae1.webp?v=1754357615","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/447ef293f0147c13cea9bd3c47a5fc8b3ead45bd.webp?v=1754357615","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a850f8fb2789bd76c51a9845891662271a2447e5.webp?v=1754357616","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/243bc58d2e7afb317a2f6a6835f221303e7e1d54.webp?v=1754357617","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd7fc2236a3da3b2ab653c92279474a38d8bf2df.webp?v=1754357617","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9b7d9f3b313fb62445e35252e57ae85250a4c3b.webp?v=1754357618","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f712dba3cfeb2202de2929bbeefbe3a15165a6e.webp?v=1754357618","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a895e5cb5cdc9af4c841b71ffe1424f470da3fe0.webp?v=1754357619"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e52c6ed0ed4e8744c6ff013debe9fceef14ccf3d.webp?v=1754357613","options":["color"],"media":[{"alt":null,"id":25888729432163,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e52c6ed0ed4e8744c6ff013debe9fceef14ccf3d.webp?v=1754357613"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e52c6ed0ed4e8744c6ff013debe9fceef14ccf3d.webp?v=1754357613","width":2000},{"alt":null,"id":25888729628771,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/178ee71c8bef6034bfbc7892ff645f5c8684aaeb.webp?v=1754357614"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/178ee71c8bef6034bfbc7892ff645f5c8684aaeb.webp?v=1754357614","width":2000},{"alt":null,"id":25888729727075,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae936050901e3e7e312f9222f20649d7e8ca856c.webp?v=1754357614"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae936050901e3e7e312f9222f20649d7e8ca856c.webp?v=1754357614","width":2000},{"alt":null,"id":25888730054755,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a798785a5a1bb1e0044aeb2421d0e048fbaa0ae1.webp?v=1754357615"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a798785a5a1bb1e0044aeb2421d0e048fbaa0ae1.webp?v=1754357615","width":2000},{"alt":null,"id":25888730284131,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/447ef293f0147c13cea9bd3c47a5fc8b3ead45bd.webp?v=1754357615"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/447ef293f0147c13cea9bd3c47a5fc8b3ead45bd.webp?v=1754357615","width":2000},{"alt":null,"id":25888730480739,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a850f8fb2789bd76c51a9845891662271a2447e5.webp?v=1754357616"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a850f8fb2789bd76c51a9845891662271a2447e5.webp?v=1754357616","width":2000},{"alt":null,"id":25888730677347,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/243bc58d2e7afb317a2f6a6835f221303e7e1d54.webp?v=1754357617"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/243bc58d2e7afb317a2f6a6835f221303e7e1d54.webp?v=1754357617","width":2000},{"alt":null,"id":25888730808419,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd7fc2236a3da3b2ab653c92279474a38d8bf2df.webp?v=1754357617"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd7fc2236a3da3b2ab653c92279474a38d8bf2df.webp?v=1754357617","width":2000},{"alt":null,"id":25888731005027,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9b7d9f3b313fb62445e35252e57ae85250a4c3b.webp?v=1754357618"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9b7d9f3b313fb62445e35252e57ae85250a4c3b.webp?v=1754357618","width":2000},{"alt":null,"id":25888731168867,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f712dba3cfeb2202de2929bbeefbe3a15165a6e.webp?v=1754357618"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f712dba3cfeb2202de2929bbeefbe3a15165a6e.webp?v=1754357618","width":2000},{"alt":null,"id":25888731398243,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a895e5cb5cdc9af4c841b71ffe1424f470da3fe0.webp?v=1754357619"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a895e5cb5cdc9af4c841b71ffe1424f470da3fe0.webp?v=1754357619","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43562739859555,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-FV62","requires_shipping":true,"taxable":true,"featured_image":{"id":34287561900131,"product_id":7848008122467,"position":3,"created_at":"2025-08-05T09:33:32+08:00","updated_at":"2025-08-05T09:33:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae936050901e3e7e312f9222f20649d7e8ca856c.webp?v=1754357614","variant_ids":[43562739859555]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 嗨小強 Party Pop - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-FV62","featured_media":{"alt":null,"id":25888729727075,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae936050901e3e7e312f9222f20649d7e8ca856c.webp?v=1754357614"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43562739957859,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-FV62","requires_shipping":true,"taxable":true,"featured_image":{"id":34287562686563,"product_id":7848008122467,"position":5,"created_at":"2025-08-05T09:33:33+08:00","updated_at":"2025-08-05T09:33:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/447ef293f0147c13cea9bd3c47a5fc8b3ead45bd.webp?v=1754357615","variant_ids":[43562739957859]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 嗨小強 Party Pop - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01228J5-FV62","featured_media":{"alt":null,"id":25888730284131,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/447ef293f0147c13cea9bd3c47a5fc8b3ead45bd.webp?v=1754357615"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43562740056163,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-FV62","requires_shipping":true,"taxable":true,"featured_image":{"id":34287562457187,"product_id":7848008122467,"position":4,"created_at":"2025-08-05T09:33:33+08:00","updated_at":"2025-08-05T09:33:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a798785a5a1bb1e0044aeb2421d0e048fbaa0ae1.webp?v=1754357615","variant_ids":[43562740056163]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 嗨小強 Party Pop - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-FV62","featured_media":{"alt":null,"id":25888730054755,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a798785a5a1bb1e0044aeb2421d0e048fbaa0ae1.webp?v=1754357615"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43562739859555,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-FV62","requires_shipping":true,"taxable":true,"featured_image":{"id":34287561900131,"product_id":7848008122467,"position":3,"created_at":"2025-08-05T09:33:32+08:00","updated_at":"2025-08-05T09:33:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae936050901e3e7e312f9222f20649d7e8ca856c.webp?v=1754357614","variant_ids":[43562739859555]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 嗨小強 Party Pop - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-FV62","featured_media":{"alt":null,"id":25888729727075,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae936050901e3e7e312f9222f20649d7e8ca856c.webp?v=1754357614"}},"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: "停產" }