$product = {"id":7824379019363,"title":"iPhone 15 Plus SolidX noiinoii 珍奶松鼠","handle":"iphone-15-plus-solidx-mw02","description":null,"published_at":"2025-07-01T17:58:03+08:00","created_at":"2025-06-20T17:50:22+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-noiinoii","device-iPhone 15 Plus","merge","reseller-noiinoii"],"price":125000,"price_min":125000,"price_max":125000,"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":43478601072739,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-MW02","requires_shipping":true,"taxable":true,"featured_image":{"id":34515255099491,"product_id":7824379019363,"position":8,"created_at":"2025-09-22T16:26:55+08:00","updated_at":"2025-09-22T16:26:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cba3af2d0cd31cc68afd6aca8b2f9431951a357c.webp?v=1758529617","variant_ids":[43478601072739]},"available":true,"name":"iPhone 15 Plus SolidX noiinoii 珍奶松鼠 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129652-MW02","featured_media":{"alt":null,"id":26085696012387,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cba3af2d0cd31cc68afd6aca8b2f9431951a357c.webp?v=1758529617"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43478603071587,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01296O8-MW02","requires_shipping":true,"taxable":true,"featured_image":{"id":34515254640739,"product_id":7824379019363,"position":6,"created_at":"2025-09-22T16:26:54+08:00","updated_at":"2025-09-22T16:26:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28fc550d56bc5093dd647713303a8f98cf67ed6d.webp?v=1758529616","variant_ids":[43478603071587]},"available":true,"name":"iPhone 15 Plus SolidX noiinoii 珍奶松鼠 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01296O8-MW02","featured_media":{"alt":null,"id":26085695520867,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28fc550d56bc5093dd647713303a8f98cf67ed6d.webp?v=1758529616"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43478603268195,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-MW02","requires_shipping":true,"taxable":true,"featured_image":{"id":34515254018147,"product_id":7824379019363,"position":4,"created_at":"2025-09-22T16:26:53+08:00","updated_at":"2025-09-22T16:26:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b8aff132b5b3de78e0d0e5bc9b581b32a818741.webp?v=1758529615","variant_ids":[43478603268195]},"available":true,"name":"iPhone 15 Plus SolidX noiinoii 珍奶松鼠 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST012960B-MW02","featured_media":{"alt":null,"id":26085694931043,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b8aff132b5b3de78e0d0e5bc9b581b32a818741.webp?v=1758529615"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-296-MW02.png?v=1750413024","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-MW02_7683ea7a-10bf-44f3-b49f-be290f59ff6c.png?v=1750820825","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1719b0a31c2321379f6b56d47869fd0aac7f8e3.webp?v=1758529614","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b8aff132b5b3de78e0d0e5bc9b581b32a818741.webp?v=1758529615","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa114d7db9ebe2d970971147f847f62f9d66c42d.webp?v=1758529615","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28fc550d56bc5093dd647713303a8f98cf67ed6d.webp?v=1758529616","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cbda391b63801f7adc184d6c2a82077e8155f62.webp?v=1758529616","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cba3af2d0cd31cc68afd6aca8b2f9431951a357c.webp?v=1758529617","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/058df8cd25a753e32849bd60449a4186c80869e5.webp?v=1758529618","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7fcd9834ac937fac0b25fdab5c591e560e1e57d.webp?v=1758529618","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbd888b2c55573cf688133b63e5ea7949e6bf0a1.webp?v=1758529619","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/062bf62aa8da8fe024b0b4aa92292f8e68e07719.webp?v=1758529619"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-296-MW02.png?v=1750413024","options":["color"],"media":[{"alt":null,"id":25722006077539,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-296-MW02.png?v=1750413024"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-296-MW02.png?v=1750413024","width":2000},{"alt":null,"id":25735176847459,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-MW02_7683ea7a-10bf-44f3-b49f-be290f59ff6c.png?v=1750820825"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-MW02_7683ea7a-10bf-44f3-b49f-be290f59ff6c.png?v=1750820825","width":2000},{"alt":null,"id":26085694734435,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1719b0a31c2321379f6b56d47869fd0aac7f8e3.webp?v=1758529614"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1719b0a31c2321379f6b56d47869fd0aac7f8e3.webp?v=1758529614","width":2000},{"alt":null,"id":26085694931043,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b8aff132b5b3de78e0d0e5bc9b581b32a818741.webp?v=1758529615"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b8aff132b5b3de78e0d0e5bc9b581b32a818741.webp?v=1758529615","width":2000},{"alt":null,"id":26085695062115,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa114d7db9ebe2d970971147f847f62f9d66c42d.webp?v=1758529615"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa114d7db9ebe2d970971147f847f62f9d66c42d.webp?v=1758529615","width":2000},{"alt":null,"id":26085695520867,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28fc550d56bc5093dd647713303a8f98cf67ed6d.webp?v=1758529616"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28fc550d56bc5093dd647713303a8f98cf67ed6d.webp?v=1758529616","width":2000},{"alt":null,"id":26085695750243,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cbda391b63801f7adc184d6c2a82077e8155f62.webp?v=1758529616"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cbda391b63801f7adc184d6c2a82077e8155f62.webp?v=1758529616","width":2000},{"alt":null,"id":26085696012387,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cba3af2d0cd31cc68afd6aca8b2f9431951a357c.webp?v=1758529617"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cba3af2d0cd31cc68afd6aca8b2f9431951a357c.webp?v=1758529617","width":2000},{"alt":null,"id":26085696536675,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/058df8cd25a753e32849bd60449a4186c80869e5.webp?v=1758529618"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/058df8cd25a753e32849bd60449a4186c80869e5.webp?v=1758529618","width":2000},{"alt":null,"id":26085696634979,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7fcd9834ac937fac0b25fdab5c591e560e1e57d.webp?v=1758529618"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7fcd9834ac937fac0b25fdab5c591e560e1e57d.webp?v=1758529618","width":2000},{"alt":null,"id":26085696995427,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbd888b2c55573cf688133b63e5ea7949e6bf0a1.webp?v=1758529619"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbd888b2c55573cf688133b63e5ea7949e6bf0a1.webp?v=1758529619","width":2000},{"alt":null,"id":26085697159267,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/062bf62aa8da8fe024b0b4aa92292f8e68e07719.webp?v=1758529619"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/062bf62aa8da8fe024b0b4aa92292f8e68e07719.webp?v=1758529619","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43478601072739,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-MW02","requires_shipping":true,"taxable":true,"featured_image":{"id":34515255099491,"product_id":7824379019363,"position":8,"created_at":"2025-09-22T16:26:55+08:00","updated_at":"2025-09-22T16:26:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cba3af2d0cd31cc68afd6aca8b2f9431951a357c.webp?v=1758529617","variant_ids":[43478601072739]},"available":true,"name":"iPhone 15 Plus SolidX noiinoii 珍奶松鼠 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129652-MW02","featured_media":{"alt":null,"id":26085696012387,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cba3af2d0cd31cc68afd6aca8b2f9431951a357c.webp?v=1758529617"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43478603071587,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01296O8-MW02","requires_shipping":true,"taxable":true,"featured_image":{"id":34515254640739,"product_id":7824379019363,"position":6,"created_at":"2025-09-22T16:26:54+08:00","updated_at":"2025-09-22T16:26:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28fc550d56bc5093dd647713303a8f98cf67ed6d.webp?v=1758529616","variant_ids":[43478603071587]},"available":true,"name":"iPhone 15 Plus SolidX noiinoii 珍奶松鼠 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01296O8-MW02","featured_media":{"alt":null,"id":26085695520867,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28fc550d56bc5093dd647713303a8f98cf67ed6d.webp?v=1758529616"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43478603268195,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-MW02","requires_shipping":true,"taxable":true,"featured_image":{"id":34515254018147,"product_id":7824379019363,"position":4,"created_at":"2025-09-22T16:26:53+08:00","updated_at":"2025-09-22T16:26:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b8aff132b5b3de78e0d0e5bc9b581b32a818741.webp?v=1758529615","variant_ids":[43478603268195]},"available":true,"name":"iPhone 15 Plus SolidX noiinoii 珍奶松鼠 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST012960B-MW02","featured_media":{"alt":null,"id":26085694931043,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b8aff132b5b3de78e0d0e5bc9b581b32a818741.webp?v=1758529615"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43478601072739,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-MW02","requires_shipping":true,"taxable":true,"featured_image":{"id":34515255099491,"product_id":7824379019363,"position":8,"created_at":"2025-09-22T16:26:55+08:00","updated_at":"2025-09-22T16:26:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cba3af2d0cd31cc68afd6aca8b2f9431951a357c.webp?v=1758529617","variant_ids":[43478601072739]},"available":true,"name":"iPhone 15 Plus SolidX noiinoii 珍奶松鼠 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129652-MW02","featured_media":{"alt":null,"id":26085696012387,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cba3af2d0cd31cc68afd6aca8b2f9431951a357c.webp?v=1758529617"}},"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: "停產" }