$product = {"id":7892712521827,"title":"iPhone 13 mini Mod NX (MagSafe 兼容) Aaron Chang I seek rough diamond","handle":"iphone-13-mini-mod-nx-magsafe-printable-aar07","description":null,"published_at":"2025-10-03T09:35:45+08:00","created_at":"2025-10-02T10:17:55+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-aaronchang","device-iPhone 13 Mini","merge","reseller-aaronchang"],"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":43756868894819,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-AAR07","requires_shipping":true,"taxable":true,"featured_image":{"id":34543921430627,"product_id":7892712521827,"position":6,"created_at":"2025-10-02T10:18:00+08:00","updated_at":"2025-10-02T10:18:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76970a355661c16b0928c69885efe71ca8cb35e1.webp?v=1759371482","variant_ids":[43756868894819]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Aaron Chang I seek rough diamond - 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-AAR07","featured_media":{"alt":null,"id":26113676312675,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76970a355661c16b0928c69885efe71ca8cb35e1.webp?v=1759371482"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756868927587,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-AAR07","requires_shipping":true,"taxable":true,"featured_image":{"id":34543920971875,"product_id":7892712521827,"position":4,"created_at":"2025-10-02T10:17:58+08:00","updated_at":"2025-10-02T10:18:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1aeaa7d3df3d775a24c7a41960d3f2d436e0b86d.webp?v=1759371481","variant_ids":[43756868927587]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Aaron Chang I seek rough diamond - 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-AAR07","featured_media":{"alt":null,"id":26113675853923,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1aeaa7d3df3d775a24c7a41960d3f2d436e0b86d.webp?v=1759371481"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756869058659,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-AAR07","requires_shipping":true,"taxable":true,"featured_image":{"id":34543921987683,"product_id":7892712521827,"position":7,"created_at":"2025-10-02T10:18:02+08:00","updated_at":"2025-10-02T10:18:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba61546a69585c298e9f4c4b75255d5a22060869.webp?v=1759371484","variant_ids":[43756869058659]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Aaron Chang I seek rough diamond - 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-AAR07","featured_media":{"alt":null,"id":26113676869731,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba61546a69585c298e9f4c4b75255d5a22060869.webp?v=1759371484"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c99b85fe7fc38d8cd268a0637552d2c975bf2b4.webp?v=1759371478","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1cfd901fb95193e41cbdd292ebde10163e177d9.webp?v=1759371479","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67258858615d0125124e6ab846d8b0b815f989e3.webp?v=1759371480","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1aeaa7d3df3d775a24c7a41960d3f2d436e0b86d.webp?v=1759371481","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f0d20fe41971dd910823ea195067e2b18f171c4.webp?v=1759371482","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76970a355661c16b0928c69885efe71ca8cb35e1.webp?v=1759371482","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba61546a69585c298e9f4c4b75255d5a22060869.webp?v=1759371484","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c5f93880f0a0bf1d5d12030106c3d5366f04d1a.webp?v=1759371485","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0daf047167632002d99859adee47272c24c528f.webp?v=1759371485","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c17f7820cb0719d3ce5a8b1484f9c1a3591e428b.webp?v=1759371486"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c99b85fe7fc38d8cd268a0637552d2c975bf2b4.webp?v=1759371478","options":["color"],"media":[{"alt":null,"id":26113675329635,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c99b85fe7fc38d8cd268a0637552d2c975bf2b4.webp?v=1759371478"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c99b85fe7fc38d8cd268a0637552d2c975bf2b4.webp?v=1759371478","width":2000},{"alt":null,"id":26113675493475,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1cfd901fb95193e41cbdd292ebde10163e177d9.webp?v=1759371479"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1cfd901fb95193e41cbdd292ebde10163e177d9.webp?v=1759371479","width":2000},{"alt":null,"id":26113675690083,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67258858615d0125124e6ab846d8b0b815f989e3.webp?v=1759371480"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67258858615d0125124e6ab846d8b0b815f989e3.webp?v=1759371480","width":2000},{"alt":null,"id":26113675853923,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1aeaa7d3df3d775a24c7a41960d3f2d436e0b86d.webp?v=1759371481"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1aeaa7d3df3d775a24c7a41960d3f2d436e0b86d.webp?v=1759371481","width":2000},{"alt":null,"id":26113676083299,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f0d20fe41971dd910823ea195067e2b18f171c4.webp?v=1759371482"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f0d20fe41971dd910823ea195067e2b18f171c4.webp?v=1759371482","width":2000},{"alt":null,"id":26113676312675,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76970a355661c16b0928c69885efe71ca8cb35e1.webp?v=1759371482"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76970a355661c16b0928c69885efe71ca8cb35e1.webp?v=1759371482","width":2000},{"alt":null,"id":26113676869731,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba61546a69585c298e9f4c4b75255d5a22060869.webp?v=1759371484"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba61546a69585c298e9f4c4b75255d5a22060869.webp?v=1759371484","width":2000},{"alt":null,"id":26113677099107,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c5f93880f0a0bf1d5d12030106c3d5366f04d1a.webp?v=1759371485"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c5f93880f0a0bf1d5d12030106c3d5366f04d1a.webp?v=1759371485","width":2000},{"alt":null,"id":26113677295715,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0daf047167632002d99859adee47272c24c528f.webp?v=1759371485"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0daf047167632002d99859adee47272c24c528f.webp?v=1759371485","width":2000},{"alt":null,"id":26113677557859,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c17f7820cb0719d3ce5a8b1484f9c1a3591e428b.webp?v=1759371486"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c17f7820cb0719d3ce5a8b1484f9c1a3591e428b.webp?v=1759371486","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43756868894819,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-AAR07","requires_shipping":true,"taxable":true,"featured_image":{"id":34543921430627,"product_id":7892712521827,"position":6,"created_at":"2025-10-02T10:18:00+08:00","updated_at":"2025-10-02T10:18:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76970a355661c16b0928c69885efe71ca8cb35e1.webp?v=1759371482","variant_ids":[43756868894819]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Aaron Chang I seek rough diamond - 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-AAR07","featured_media":{"alt":null,"id":26113676312675,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76970a355661c16b0928c69885efe71ca8cb35e1.webp?v=1759371482"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756868927587,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-AAR07","requires_shipping":true,"taxable":true,"featured_image":{"id":34543920971875,"product_id":7892712521827,"position":4,"created_at":"2025-10-02T10:17:58+08:00","updated_at":"2025-10-02T10:18:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1aeaa7d3df3d775a24c7a41960d3f2d436e0b86d.webp?v=1759371481","variant_ids":[43756868927587]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Aaron Chang I seek rough diamond - 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-AAR07","featured_media":{"alt":null,"id":26113675853923,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1aeaa7d3df3d775a24c7a41960d3f2d436e0b86d.webp?v=1759371481"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756869058659,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-AAR07","requires_shipping":true,"taxable":true,"featured_image":{"id":34543921987683,"product_id":7892712521827,"position":7,"created_at":"2025-10-02T10:18:02+08:00","updated_at":"2025-10-02T10:18:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba61546a69585c298e9f4c4b75255d5a22060869.webp?v=1759371484","variant_ids":[43756869058659]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Aaron Chang I seek rough diamond - 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-AAR07","featured_media":{"alt":null,"id":26113676869731,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba61546a69585c298e9f4c4b75255d5a22060869.webp?v=1759371484"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43756868894819,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-AAR07","requires_shipping":true,"taxable":true,"featured_image":{"id":34543921430627,"product_id":7892712521827,"position":6,"created_at":"2025-10-02T10:18:00+08:00","updated_at":"2025-10-02T10:18:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76970a355661c16b0928c69885efe71ca8cb35e1.webp?v=1759371482","variant_ids":[43756868894819]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Aaron Chang I seek rough diamond - 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-AAR07","featured_media":{"alt":null,"id":26113676312675,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76970a355661c16b0928c69885efe71ca8cb35e1.webp?v=1759371482"}},"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: "停產" }