$product = {"id":7888367485027,"title":"iPhone 13 mini Mod NX (MagSafe 兼容) KINGJUN 太空貼貼貼","handle":"iphone-13-mini-mod-nx-magsafe-printable-iq06","description":null,"published_at":"2025-09-23T09:23:41+08:00","created_at":"2025-09-22T15:13:16+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-kingjun","device-iPhone 13 Mini","merge","reseller-kingjun"],"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":43742845665379,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-IQ06","requires_shipping":true,"taxable":true,"featured_image":{"id":34514132926563,"product_id":7888367485027,"position":6,"created_at":"2025-09-22T15:13:22+08:00","updated_at":"2025-09-22T15:13:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6640d04c7ec1ab681516158174a9f76c0ff96e52.webp?v=1758525204","variant_ids":[43742845665379]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) KINGJUN 太空貼貼貼 - 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-IQ06","featured_media":{"alt":null,"id":26084575477859,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6640d04c7ec1ab681516158174a9f76c0ff96e52.webp?v=1758525204"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43742845861987,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-IQ06","requires_shipping":true,"taxable":true,"featured_image":{"id":34514133385315,"product_id":7888367485027,"position":9,"created_at":"2025-09-22T15:13:24+08:00","updated_at":"2025-09-22T15:13:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb3f96819f3e19eda2940a44a9669b045ea1a562.webp?v=1758525206","variant_ids":[43742845861987]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) KINGJUN 太空貼貼貼 - 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-IQ06","featured_media":{"alt":null,"id":26084575903843,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb3f96819f3e19eda2940a44a9669b045ea1a562.webp?v=1758525206"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43742845927523,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-IQ06","requires_shipping":true,"taxable":true,"featured_image":{"id":34514132664419,"product_id":7888367485027,"position":5,"created_at":"2025-09-22T15:13:21+08:00","updated_at":"2025-09-22T15:13:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80dfd827c7bdf6c80df4e00cbc766bd6aab24b7f.webp?v=1758525203","variant_ids":[43742845927523]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) KINGJUN 太空貼貼貼 - 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-IQ06","featured_media":{"alt":null,"id":26084575182947,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80dfd827c7bdf6c80df4e00cbc766bd6aab24b7f.webp?v=1758525203"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/717b127f59a954ae5562c9bbc1ae85b5868d07b7.webp?v=1758525201","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1bdcf98c0341055f4e8ed4c41f51a2d46881c1b.webp?v=1758525202","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a8edff6945e47c588821ca21383e78c1621f65d.webp?v=1758525202","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75835d6a3dfe182da45c8dd9e2a2f74d214c93da.webp?v=1758525203","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80dfd827c7bdf6c80df4e00cbc766bd6aab24b7f.webp?v=1758525203","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6640d04c7ec1ab681516158174a9f76c0ff96e52.webp?v=1758525204","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e59a18d78af823d36a94b3b4a40f840b9e07d0cd.webp?v=1758525205","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d78382130c40f530de1b1df1c9f537900adc8a2.webp?v=1758525205","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb3f96819f3e19eda2940a44a9669b045ea1a562.webp?v=1758525206","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67b7745c55efe7f480f85cb558e35175df3f808c.webp?v=1758525207"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/717b127f59a954ae5562c9bbc1ae85b5868d07b7.webp?v=1758525201","options":["color"],"media":[{"alt":null,"id":26084574298211,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/717b127f59a954ae5562c9bbc1ae85b5868d07b7.webp?v=1758525201"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/717b127f59a954ae5562c9bbc1ae85b5868d07b7.webp?v=1758525201","width":2000},{"alt":null,"id":26084574593123,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1bdcf98c0341055f4e8ed4c41f51a2d46881c1b.webp?v=1758525202"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1bdcf98c0341055f4e8ed4c41f51a2d46881c1b.webp?v=1758525202","width":2000},{"alt":null,"id":26084574756963,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a8edff6945e47c588821ca21383e78c1621f65d.webp?v=1758525202"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a8edff6945e47c588821ca21383e78c1621f65d.webp?v=1758525202","width":2000},{"alt":null,"id":26084574986339,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75835d6a3dfe182da45c8dd9e2a2f74d214c93da.webp?v=1758525203"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75835d6a3dfe182da45c8dd9e2a2f74d214c93da.webp?v=1758525203","width":2000},{"alt":null,"id":26084575182947,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80dfd827c7bdf6c80df4e00cbc766bd6aab24b7f.webp?v=1758525203"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80dfd827c7bdf6c80df4e00cbc766bd6aab24b7f.webp?v=1758525203","width":2000},{"alt":null,"id":26084575477859,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6640d04c7ec1ab681516158174a9f76c0ff96e52.webp?v=1758525204"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6640d04c7ec1ab681516158174a9f76c0ff96e52.webp?v=1758525204","width":2000},{"alt":null,"id":26084575608931,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e59a18d78af823d36a94b3b4a40f840b9e07d0cd.webp?v=1758525205"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e59a18d78af823d36a94b3b4a40f840b9e07d0cd.webp?v=1758525205","width":2000},{"alt":null,"id":26084575772771,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d78382130c40f530de1b1df1c9f537900adc8a2.webp?v=1758525205"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d78382130c40f530de1b1df1c9f537900adc8a2.webp?v=1758525205","width":2000},{"alt":null,"id":26084575903843,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb3f96819f3e19eda2940a44a9669b045ea1a562.webp?v=1758525206"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb3f96819f3e19eda2940a44a9669b045ea1a562.webp?v=1758525206","width":2000},{"alt":null,"id":26084576100451,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67b7745c55efe7f480f85cb558e35175df3f808c.webp?v=1758525207"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67b7745c55efe7f480f85cb558e35175df3f808c.webp?v=1758525207","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43742845665379,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-IQ06","requires_shipping":true,"taxable":true,"featured_image":{"id":34514132926563,"product_id":7888367485027,"position":6,"created_at":"2025-09-22T15:13:22+08:00","updated_at":"2025-09-22T15:13:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6640d04c7ec1ab681516158174a9f76c0ff96e52.webp?v=1758525204","variant_ids":[43742845665379]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) KINGJUN 太空貼貼貼 - 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-IQ06","featured_media":{"alt":null,"id":26084575477859,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6640d04c7ec1ab681516158174a9f76c0ff96e52.webp?v=1758525204"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43742845861987,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-IQ06","requires_shipping":true,"taxable":true,"featured_image":{"id":34514133385315,"product_id":7888367485027,"position":9,"created_at":"2025-09-22T15:13:24+08:00","updated_at":"2025-09-22T15:13:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb3f96819f3e19eda2940a44a9669b045ea1a562.webp?v=1758525206","variant_ids":[43742845861987]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) KINGJUN 太空貼貼貼 - 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-IQ06","featured_media":{"alt":null,"id":26084575903843,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb3f96819f3e19eda2940a44a9669b045ea1a562.webp?v=1758525206"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43742845927523,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-IQ06","requires_shipping":true,"taxable":true,"featured_image":{"id":34514132664419,"product_id":7888367485027,"position":5,"created_at":"2025-09-22T15:13:21+08:00","updated_at":"2025-09-22T15:13:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80dfd827c7bdf6c80df4e00cbc766bd6aab24b7f.webp?v=1758525203","variant_ids":[43742845927523]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) KINGJUN 太空貼貼貼 - 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-IQ06","featured_media":{"alt":null,"id":26084575182947,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80dfd827c7bdf6c80df4e00cbc766bd6aab24b7f.webp?v=1758525203"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43742845665379,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-IQ06","requires_shipping":true,"taxable":true,"featured_image":{"id":34514132926563,"product_id":7888367485027,"position":6,"created_at":"2025-09-22T15:13:22+08:00","updated_at":"2025-09-22T15:13:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6640d04c7ec1ab681516158174a9f76c0ff96e52.webp?v=1758525204","variant_ids":[43742845665379]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) KINGJUN 太空貼貼貼 - 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-IQ06","featured_media":{"alt":null,"id":26084575477859,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6640d04c7ec1ab681516158174a9f76c0ff96e52.webp?v=1758525204"}},"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: "停產" }