$product = {"id":7942065815651,"title":"iPhone 13 mini Mod NX (MagSafe 兼容) Nyangsongi 擁抱","handle":"iphone-13-mini-mod-nx-magsafe-nya14","description":null,"published_at":"2025-12-23T10:04:04+08:00","created_at":"2025-12-22T11:44:47+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-nyangsongi","device-iPhone 13 Mini","merge","reseller-nyangsongi"],"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":43903318491235,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-NYA14","requires_shipping":true,"taxable":true,"featured_image":{"id":34985953984611,"product_id":7942065815651,"position":6,"created_at":"2025-12-22T11:45:19+08:00","updated_at":"2025-12-22T11:45:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/804161c077564696466b519dc6fcb7e6a2b941fc.webp?v=1766375121","variant_ids":[43903318491235]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Nyangsongi 擁抱 - 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-NYA14","featured_media":{"alt":null,"id":26547029475427,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/804161c077564696466b519dc6fcb7e6a2b941fc.webp?v=1766375121"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903318589539,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-NYA14","requires_shipping":true,"taxable":true,"featured_image":{"id":34985954345059,"product_id":7942065815651,"position":9,"created_at":"2025-12-22T11:45:20+08:00","updated_at":"2025-12-22T11:45:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2829dd44ae4bbe1139746b541abfc5de551df80.webp?v=1766375122","variant_ids":[43903318589539]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Nyangsongi 擁抱 - 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-NYA14","featured_media":{"alt":null,"id":26547029835875,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2829dd44ae4bbe1139746b541abfc5de551df80.webp?v=1766375122"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903319310435,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-NYA14","requires_shipping":true,"taxable":true,"featured_image":{"id":34985953558627,"product_id":7942065815651,"position":2,"created_at":"2025-12-22T11:45:17+08:00","updated_at":"2025-12-22T11:45:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a17ac28669851980fad97c8b581d8f0b1bb948d.webp?v=1766375119","variant_ids":[43903319310435]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Nyangsongi 擁抱 - 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-NYA14","featured_media":{"alt":null,"id":26547029016675,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a17ac28669851980fad97c8b581d8f0b1bb948d.webp?v=1766375119"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70e0c7bc77e32c33440fcf82f58cee711754a871.webp?v=1766375119","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a17ac28669851980fad97c8b581d8f0b1bb948d.webp?v=1766375119","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/619f2835026d8522b4c9b9ee9754fc3ddad25322.webp?v=1766375120","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb07360393be6ae4c02b54158a1d72d2baddc408.webp?v=1766375120","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3caf79c1e07116d3076640281eed3ad68cb86d9.webp?v=1766375120","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/804161c077564696466b519dc6fcb7e6a2b941fc.webp?v=1766375121","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09f1021cc16adb95c443d55144aac3dd84051649.webp?v=1766375121","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fb20d26ce60797d0a301832706ff6c71459fbc4.webp?v=1766375122","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2829dd44ae4bbe1139746b541abfc5de551df80.webp?v=1766375122","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/948a6ba1a9bf81feb2f6262c8101a577c945b804.webp?v=1766375123"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70e0c7bc77e32c33440fcf82f58cee711754a871.webp?v=1766375119","options":["color"],"media":[{"alt":null,"id":26547028918371,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70e0c7bc77e32c33440fcf82f58cee711754a871.webp?v=1766375119"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70e0c7bc77e32c33440fcf82f58cee711754a871.webp?v=1766375119","width":2000},{"alt":null,"id":26547029016675,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a17ac28669851980fad97c8b581d8f0b1bb948d.webp?v=1766375119"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a17ac28669851980fad97c8b581d8f0b1bb948d.webp?v=1766375119","width":2000},{"alt":null,"id":26547029114979,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/619f2835026d8522b4c9b9ee9754fc3ddad25322.webp?v=1766375120"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/619f2835026d8522b4c9b9ee9754fc3ddad25322.webp?v=1766375120","width":2000},{"alt":null,"id":26547029246051,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb07360393be6ae4c02b54158a1d72d2baddc408.webp?v=1766375120"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb07360393be6ae4c02b54158a1d72d2baddc408.webp?v=1766375120","width":2000},{"alt":null,"id":26547029344355,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3caf79c1e07116d3076640281eed3ad68cb86d9.webp?v=1766375120"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3caf79c1e07116d3076640281eed3ad68cb86d9.webp?v=1766375120","width":2000},{"alt":null,"id":26547029475427,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/804161c077564696466b519dc6fcb7e6a2b941fc.webp?v=1766375121"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/804161c077564696466b519dc6fcb7e6a2b941fc.webp?v=1766375121","width":2000},{"alt":null,"id":26547029606499,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09f1021cc16adb95c443d55144aac3dd84051649.webp?v=1766375121"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09f1021cc16adb95c443d55144aac3dd84051649.webp?v=1766375121","width":2000},{"alt":null,"id":26547029704803,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fb20d26ce60797d0a301832706ff6c71459fbc4.webp?v=1766375122"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fb20d26ce60797d0a301832706ff6c71459fbc4.webp?v=1766375122","width":2000},{"alt":null,"id":26547029835875,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2829dd44ae4bbe1139746b541abfc5de551df80.webp?v=1766375122"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2829dd44ae4bbe1139746b541abfc5de551df80.webp?v=1766375122","width":2000},{"alt":null,"id":26547029966947,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/948a6ba1a9bf81feb2f6262c8101a577c945b804.webp?v=1766375123"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/948a6ba1a9bf81feb2f6262c8101a577c945b804.webp?v=1766375123","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43903318491235,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-NYA14","requires_shipping":true,"taxable":true,"featured_image":{"id":34985953984611,"product_id":7942065815651,"position":6,"created_at":"2025-12-22T11:45:19+08:00","updated_at":"2025-12-22T11:45:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/804161c077564696466b519dc6fcb7e6a2b941fc.webp?v=1766375121","variant_ids":[43903318491235]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Nyangsongi 擁抱 - 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-NYA14","featured_media":{"alt":null,"id":26547029475427,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/804161c077564696466b519dc6fcb7e6a2b941fc.webp?v=1766375121"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903318589539,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-NYA14","requires_shipping":true,"taxable":true,"featured_image":{"id":34985954345059,"product_id":7942065815651,"position":9,"created_at":"2025-12-22T11:45:20+08:00","updated_at":"2025-12-22T11:45:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2829dd44ae4bbe1139746b541abfc5de551df80.webp?v=1766375122","variant_ids":[43903318589539]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Nyangsongi 擁抱 - 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-NYA14","featured_media":{"alt":null,"id":26547029835875,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2829dd44ae4bbe1139746b541abfc5de551df80.webp?v=1766375122"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903319310435,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-NYA14","requires_shipping":true,"taxable":true,"featured_image":{"id":34985953558627,"product_id":7942065815651,"position":2,"created_at":"2025-12-22T11:45:17+08:00","updated_at":"2025-12-22T11:45:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a17ac28669851980fad97c8b581d8f0b1bb948d.webp?v=1766375119","variant_ids":[43903319310435]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Nyangsongi 擁抱 - 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-NYA14","featured_media":{"alt":null,"id":26547029016675,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a17ac28669851980fad97c8b581d8f0b1bb948d.webp?v=1766375119"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43903318491235,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-NYA14","requires_shipping":true,"taxable":true,"featured_image":{"id":34985953984611,"product_id":7942065815651,"position":6,"created_at":"2025-12-22T11:45:19+08:00","updated_at":"2025-12-22T11:45:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/804161c077564696466b519dc6fcb7e6a2b941fc.webp?v=1766375121","variant_ids":[43903318491235]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Nyangsongi 擁抱 - 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-NYA14","featured_media":{"alt":null,"id":26547029475427,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/804161c077564696466b519dc6fcb7e6a2b941fc.webp?v=1766375121"}},"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: "停產" }