$product = {"id":7942104776803,"title":"iPhone 15 Plus Mod NX (MagSafe 兼容) Nyangsongi 擁抱","handle":"iphone-15-plus-mod-nx-magsafe-nya14","description":null,"published_at":"2025-12-23T09:57:37+08:00","created_at":"2025-12-22T12:39:29+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-nyangsongi","device-iPhone 15 Plus","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":43903554355299,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0129624-NYA14","requires_shipping":true,"taxable":true,"featured_image":{"id":36271816573027,"product_id":7942104776803,"position":11,"created_at":"2026-07-15T14:49:11+08:00","updated_at":"2026-07-15T14:49:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc1b5a76794e4353dd238b9187b82dd37eef1103_c0322c8a-97aa-4292-9329-c71c78c109de.webp?v=1784098153","variant_ids":[43903554355299]},"available":true,"name":"iPhone 15 Plus 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":"MPB0129624-NYA14","featured_media":{"alt":null,"id":27775871615075,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc1b5a76794e4353dd238b9187b82dd37eef1103_c0322c8a-97aa-4292-9329-c71c78c109de.webp?v=1784098153"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903554486371,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"MPB0129657-NYA14","requires_shipping":true,"taxable":true,"featured_image":{"id":36271816212579,"product_id":7942104776803,"position":10,"created_at":"2026-07-15T14:49:10+08:00","updated_at":"2026-07-15T14:49:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0523a8b5124f58891bc4673d316ba4911362bffb_4045f0e9-fc79-4c9e-b2e2-2cfb40581c8e.webp?v=1784098152","variant_ids":[43903554486371]},"available":true,"name":"iPhone 15 Plus Mod NX (MagSafe 兼容) Nyangsongi 擁抱 - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0129657-NYA14","featured_media":{"alt":null,"id":27775871287395,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0523a8b5124f58891bc4673d316ba4911362bffb_4045f0e9-fc79-4c9e-b2e2-2cfb40581c8e.webp?v=1784098152"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5324ce1359b9cde95b9538d8ef612d7d04fdf820.webp?v=1766378397","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/233b8eb5740368a4fde65a7980bd2ae5100c79ed.webp?v=1766378397","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa8526e6083396a8a764fdf7731ffb759618af96.webp?v=1766378397","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/024623c64642d00f1d93b3e332c220b06537618d.webp?v=1766378398","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbe0e4d4cbc40e33a69c3e968a9d50a6a4c63dfe.webp?v=1766378399","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc1b5a76794e4353dd238b9187b82dd37eef1103.webp?v=1766378399","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad30184940f2fe5d81ef62c0a73ea6407fe9641b.webp?v=1766378401","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50fd3de4ed6207a622b9b1db3581f04416f2ea8a.webp?v=1766378401","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0523a8b5124f58891bc4673d316ba4911362bffb.webp?v=1766378401","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0523a8b5124f58891bc4673d316ba4911362bffb_4045f0e9-fc79-4c9e-b2e2-2cfb40581c8e.webp?v=1784098152","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc1b5a76794e4353dd238b9187b82dd37eef1103_c0322c8a-97aa-4292-9329-c71c78c109de.webp?v=1784098153"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5324ce1359b9cde95b9538d8ef612d7d04fdf820.webp?v=1766378397","options":["color"],"media":[{"alt":null,"id":26547306987619,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5324ce1359b9cde95b9538d8ef612d7d04fdf820.webp?v=1766378397"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5324ce1359b9cde95b9538d8ef612d7d04fdf820.webp?v=1766378397","width":2000},{"alt":null,"id":26547307085923,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/233b8eb5740368a4fde65a7980bd2ae5100c79ed.webp?v=1766378397"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/233b8eb5740368a4fde65a7980bd2ae5100c79ed.webp?v=1766378397","width":2000},{"alt":null,"id":26547307184227,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa8526e6083396a8a764fdf7731ffb759618af96.webp?v=1766378397"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa8526e6083396a8a764fdf7731ffb759618af96.webp?v=1766378397","width":2000},{"alt":null,"id":26547307282531,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/024623c64642d00f1d93b3e332c220b06537618d.webp?v=1766378398"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/024623c64642d00f1d93b3e332c220b06537618d.webp?v=1766378398","width":2000},{"alt":null,"id":26547307380835,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbe0e4d4cbc40e33a69c3e968a9d50a6a4c63dfe.webp?v=1766378399"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbe0e4d4cbc40e33a69c3e968a9d50a6a4c63dfe.webp?v=1766378399","width":2000},{"alt":null,"id":26547307479139,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc1b5a76794e4353dd238b9187b82dd37eef1103.webp?v=1766378399"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc1b5a76794e4353dd238b9187b82dd37eef1103.webp?v=1766378399","width":2000},{"alt":null,"id":26547307544675,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad30184940f2fe5d81ef62c0a73ea6407fe9641b.webp?v=1766378401"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad30184940f2fe5d81ef62c0a73ea6407fe9641b.webp?v=1766378401","width":2000},{"alt":null,"id":26547307774051,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50fd3de4ed6207a622b9b1db3581f04416f2ea8a.webp?v=1766378401"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50fd3de4ed6207a622b9b1db3581f04416f2ea8a.webp?v=1766378401","width":2000},{"alt":null,"id":26547307937891,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0523a8b5124f58891bc4673d316ba4911362bffb.webp?v=1766378401"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0523a8b5124f58891bc4673d316ba4911362bffb.webp?v=1766378401","width":2000},{"alt":null,"id":27775871287395,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0523a8b5124f58891bc4673d316ba4911362bffb_4045f0e9-fc79-4c9e-b2e2-2cfb40581c8e.webp?v=1784098152"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0523a8b5124f58891bc4673d316ba4911362bffb_4045f0e9-fc79-4c9e-b2e2-2cfb40581c8e.webp?v=1784098152","width":2000},{"alt":null,"id":27775871615075,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc1b5a76794e4353dd238b9187b82dd37eef1103_c0322c8a-97aa-4292-9329-c71c78c109de.webp?v=1784098153"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc1b5a76794e4353dd238b9187b82dd37eef1103_c0322c8a-97aa-4292-9329-c71c78c109de.webp?v=1784098153","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43903554355299,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0129624-NYA14","requires_shipping":true,"taxable":true,"featured_image":{"id":36271816573027,"product_id":7942104776803,"position":11,"created_at":"2026-07-15T14:49:11+08:00","updated_at":"2026-07-15T14:49:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc1b5a76794e4353dd238b9187b82dd37eef1103_c0322c8a-97aa-4292-9329-c71c78c109de.webp?v=1784098153","variant_ids":[43903554355299]},"available":true,"name":"iPhone 15 Plus 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":"MPB0129624-NYA14","featured_media":{"alt":null,"id":27775871615075,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc1b5a76794e4353dd238b9187b82dd37eef1103_c0322c8a-97aa-4292-9329-c71c78c109de.webp?v=1784098153"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903554486371,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"MPB0129657-NYA14","requires_shipping":true,"taxable":true,"featured_image":{"id":36271816212579,"product_id":7942104776803,"position":10,"created_at":"2026-07-15T14:49:10+08:00","updated_at":"2026-07-15T14:49:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0523a8b5124f58891bc4673d316ba4911362bffb_4045f0e9-fc79-4c9e-b2e2-2cfb40581c8e.webp?v=1784098152","variant_ids":[43903554486371]},"available":true,"name":"iPhone 15 Plus Mod NX (MagSafe 兼容) Nyangsongi 擁抱 - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0129657-NYA14","featured_media":{"alt":null,"id":27775871287395,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0523a8b5124f58891bc4673d316ba4911362bffb_4045f0e9-fc79-4c9e-b2e2-2cfb40581c8e.webp?v=1784098152"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43903554355299,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0129624-NYA14","requires_shipping":true,"taxable":true,"featured_image":{"id":36271816573027,"product_id":7942104776803,"position":11,"created_at":"2026-07-15T14:49:11+08:00","updated_at":"2026-07-15T14:49:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc1b5a76794e4353dd238b9187b82dd37eef1103_c0322c8a-97aa-4292-9329-c71c78c109de.webp?v=1784098153","variant_ids":[43903554355299]},"available":true,"name":"iPhone 15 Plus 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":"MPB0129624-NYA14","featured_media":{"alt":null,"id":27775871615075,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc1b5a76794e4353dd238b9187b82dd37eef1103_c0322c8a-97aa-4292-9329-c71c78c109de.webp?v=1784098153"}},"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: "停產" }