$product = {"id":7942105366627,"title":"iPhone 15 Plus SolidX (MagSafe 兼容) Nyangsongi 野餐派對","handle":"iphone-15-plus-solidx-magsafe-nya05","description":null,"published_at":"2025-12-23T09:57:31+08:00","created_at":"2025-12-22T12:40:54+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":145000,"price_min":145000,"price_max":145000,"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":43903559139427,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MNS012960A-NYA05","requires_shipping":true,"taxable":true,"featured_image":{"id":34986244505699,"product_id":7942105366627,"position":8,"created_at":"2025-12-22T12:41:34+08:00","updated_at":"2025-12-22T12:41:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c248e69161994a21bbe286539ecae5b6467e62bf.webp?v=1766378496","variant_ids":[43903559139427]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) Nyangsongi 野餐派對 - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS012960A-NYA05","featured_media":{"alt":null,"id":26547316031587,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c248e69161994a21bbe286539ecae5b6467e62bf.webp?v=1766378496"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903561826403,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS01296Z7-NYA05","requires_shipping":true,"taxable":true,"featured_image":{"id":34986243883107,"product_id":7942105366627,"position":1,"created_at":"2025-12-22T12:41:29+08:00","updated_at":"2025-12-22T12:41:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2a7b745cd246641d362d456c54ebb8fd3abe0fb.webp?v=1766378491","variant_ids":[43903561826403]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) Nyangsongi 野餐派對 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01296Z7-NYA05","featured_media":{"alt":null,"id":26547315277923,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2a7b745cd246641d362d456c54ebb8fd3abe0fb.webp?v=1766378491"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903562154083,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0129652-NYA05","requires_shipping":true,"taxable":true,"featured_image":{"id":34986244276323,"product_id":7942105366627,"position":5,"created_at":"2025-12-22T12:41:32+08:00","updated_at":"2025-12-22T12:41:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4cda201c27511f894f317bf000fee8f93dbd897.webp?v=1766378494","variant_ids":[43903562154083]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) Nyangsongi 野餐派對 - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0129652-NYA05","featured_media":{"alt":null,"id":26547315671139,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4cda201c27511f894f317bf000fee8f93dbd897.webp?v=1766378494"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903562317923,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01296O8-NYA05","requires_shipping":true,"taxable":true,"featured_image":{"id":34986244374627,"product_id":7942105366627,"position":6,"created_at":"2025-12-22T12:41:33+08:00","updated_at":"2025-12-22T12:41:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d04c396cb1a3c4ff24ff123cde722fe2c3247a0.webp?v=1766378495","variant_ids":[43903562317923]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) Nyangsongi 野餐派對 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01296O8-NYA05","featured_media":{"alt":null,"id":26547315769443,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d04c396cb1a3c4ff24ff123cde722fe2c3247a0.webp?v=1766378495"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2a7b745cd246641d362d456c54ebb8fd3abe0fb.webp?v=1766378491","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/962ae0717799b772e213db6abb75919c4b272e4d.webp?v=1766378492","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ceb9befe859856f2bc77abbd6ecd977e877088f7.webp?v=1766378493","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42d963f7470fd9f004b55bf4f817d29c1e80e8f6.webp?v=1766378494","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4cda201c27511f894f317bf000fee8f93dbd897.webp?v=1766378494","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d04c396cb1a3c4ff24ff123cde722fe2c3247a0.webp?v=1766378495","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54bcee45e82c43ff79a02ac735a24bfbff9edaa4.webp?v=1766378495","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c248e69161994a21bbe286539ecae5b6467e62bf.webp?v=1766378496","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cb92cd3f0454d417a743ee86c6fbeba7f1d348d.webp?v=1766378496","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dd677075f3d757ff25c19211163d58910658f79.webp?v=1766378497"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2a7b745cd246641d362d456c54ebb8fd3abe0fb.webp?v=1766378491","options":["color"],"media":[{"alt":null,"id":26547315277923,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2a7b745cd246641d362d456c54ebb8fd3abe0fb.webp?v=1766378491"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2a7b745cd246641d362d456c54ebb8fd3abe0fb.webp?v=1766378491","width":2000},{"alt":null,"id":26547315310691,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/962ae0717799b772e213db6abb75919c4b272e4d.webp?v=1766378492"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/962ae0717799b772e213db6abb75919c4b272e4d.webp?v=1766378492","width":2000},{"alt":null,"id":26547315441763,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ceb9befe859856f2bc77abbd6ecd977e877088f7.webp?v=1766378493"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ceb9befe859856f2bc77abbd6ecd977e877088f7.webp?v=1766378493","width":2000},{"alt":null,"id":26547315572835,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42d963f7470fd9f004b55bf4f817d29c1e80e8f6.webp?v=1766378494"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42d963f7470fd9f004b55bf4f817d29c1e80e8f6.webp?v=1766378494","width":2000},{"alt":null,"id":26547315671139,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4cda201c27511f894f317bf000fee8f93dbd897.webp?v=1766378494"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4cda201c27511f894f317bf000fee8f93dbd897.webp?v=1766378494","width":2000},{"alt":null,"id":26547315769443,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d04c396cb1a3c4ff24ff123cde722fe2c3247a0.webp?v=1766378495"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d04c396cb1a3c4ff24ff123cde722fe2c3247a0.webp?v=1766378495","width":2000},{"alt":null,"id":26547315834979,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54bcee45e82c43ff79a02ac735a24bfbff9edaa4.webp?v=1766378495"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54bcee45e82c43ff79a02ac735a24bfbff9edaa4.webp?v=1766378495","width":2000},{"alt":null,"id":26547316031587,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c248e69161994a21bbe286539ecae5b6467e62bf.webp?v=1766378496"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c248e69161994a21bbe286539ecae5b6467e62bf.webp?v=1766378496","width":2000},{"alt":null,"id":26547316195427,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cb92cd3f0454d417a743ee86c6fbeba7f1d348d.webp?v=1766378496"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cb92cd3f0454d417a743ee86c6fbeba7f1d348d.webp?v=1766378496","width":2000},{"alt":null,"id":26547316326499,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dd677075f3d757ff25c19211163d58910658f79.webp?v=1766378497"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dd677075f3d757ff25c19211163d58910658f79.webp?v=1766378497","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43903559139427,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MNS012960A-NYA05","requires_shipping":true,"taxable":true,"featured_image":{"id":34986244505699,"product_id":7942105366627,"position":8,"created_at":"2025-12-22T12:41:34+08:00","updated_at":"2025-12-22T12:41:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c248e69161994a21bbe286539ecae5b6467e62bf.webp?v=1766378496","variant_ids":[43903559139427]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) Nyangsongi 野餐派對 - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS012960A-NYA05","featured_media":{"alt":null,"id":26547316031587,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c248e69161994a21bbe286539ecae5b6467e62bf.webp?v=1766378496"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903561826403,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS01296Z7-NYA05","requires_shipping":true,"taxable":true,"featured_image":{"id":34986243883107,"product_id":7942105366627,"position":1,"created_at":"2025-12-22T12:41:29+08:00","updated_at":"2025-12-22T12:41:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2a7b745cd246641d362d456c54ebb8fd3abe0fb.webp?v=1766378491","variant_ids":[43903561826403]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) Nyangsongi 野餐派對 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01296Z7-NYA05","featured_media":{"alt":null,"id":26547315277923,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2a7b745cd246641d362d456c54ebb8fd3abe0fb.webp?v=1766378491"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903562154083,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0129652-NYA05","requires_shipping":true,"taxable":true,"featured_image":{"id":34986244276323,"product_id":7942105366627,"position":5,"created_at":"2025-12-22T12:41:32+08:00","updated_at":"2025-12-22T12:41:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4cda201c27511f894f317bf000fee8f93dbd897.webp?v=1766378494","variant_ids":[43903562154083]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) Nyangsongi 野餐派對 - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0129652-NYA05","featured_media":{"alt":null,"id":26547315671139,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4cda201c27511f894f317bf000fee8f93dbd897.webp?v=1766378494"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903562317923,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01296O8-NYA05","requires_shipping":true,"taxable":true,"featured_image":{"id":34986244374627,"product_id":7942105366627,"position":6,"created_at":"2025-12-22T12:41:33+08:00","updated_at":"2025-12-22T12:41:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d04c396cb1a3c4ff24ff123cde722fe2c3247a0.webp?v=1766378495","variant_ids":[43903562317923]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) Nyangsongi 野餐派對 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01296O8-NYA05","featured_media":{"alt":null,"id":26547315769443,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d04c396cb1a3c4ff24ff123cde722fe2c3247a0.webp?v=1766378495"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43903559139427,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MNS012960A-NYA05","requires_shipping":true,"taxable":true,"featured_image":{"id":34986244505699,"product_id":7942105366627,"position":8,"created_at":"2025-12-22T12:41:34+08:00","updated_at":"2025-12-22T12:41:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c248e69161994a21bbe286539ecae5b6467e62bf.webp?v=1766378496","variant_ids":[43903559139427]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) Nyangsongi 野餐派對 - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS012960A-NYA05","featured_media":{"alt":null,"id":26547316031587,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c248e69161994a21bbe286539ecae5b6467e62bf.webp?v=1766378496"}},"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: "停產" }