$product = {"id":7824457990243,"title":"iPhone 15 Plus SolidX NBA Logo-密爾瓦基公鹿 Milwaukee Bucks","handle":"iphone-15-plus-solidx-pm14","description":null,"published_at":"2025-07-01T17:46:47+08:00","created_at":"2025-06-20T17:59:01+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-nba","device-iPhone 15 Plus","merge","reseller-nba"],"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":43479380000867,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-PM14","requires_shipping":true,"taxable":true,"featured_image":{"id":36152402935907,"product_id":7824457990243,"position":14,"created_at":"2026-07-02T12:19:08+08:00","updated_at":"2026-07-02T12:19:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d7405472f1da0242fd58a654c1be1bdb03cb69c_d47e219b-2749-423f-88c4-9a221586fac4.webp?v=1782965950","variant_ids":[43479380000867]},"available":true,"name":"iPhone 15 Plus SolidX NBA Logo-密爾瓦基公鹿 Milwaukee Bucks - 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-PM14","featured_media":{"alt":null,"id":27657276457059,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d7405472f1da0242fd58a654c1be1bdb03cb69c_d47e219b-2749-423f-88c4-9a221586fac4.webp?v=1782965950"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43479383244899,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-PM14","requires_shipping":true,"taxable":true,"featured_image":{"id":36152402542691,"product_id":7824457990243,"position":13,"created_at":"2026-07-02T12:19:07+08:00","updated_at":"2026-07-02T12:19:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/552d1d4cab55ad7120237dd5028a78466c191bda_bc59b13f-2c9b-4bd9-8cf2-c51b2bba27e9.webp?v=1782965949","variant_ids":[43479383244899]},"available":true,"name":"iPhone 15 Plus SolidX NBA Logo-密爾瓦基公鹿 Milwaukee Bucks - 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-PM14","featured_media":{"alt":null,"id":27657276031075,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/552d1d4cab55ad7120237dd5028a78466c191bda_bc59b13f-2c9b-4bd9-8cf2-c51b2bba27e9.webp?v=1782965949"}},"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-PM14.png?v=1750413544","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-PM14_0c54d797-1594-489e-994f-0e74a97b6d82.png?v=1750820805","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/552d1d4cab55ad7120237dd5028a78466c191bda.webp?v=1782208976","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae50e199609616d2cef6e97004468852785e2fd3.webp?v=1782208976","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d7405472f1da0242fd58a654c1be1bdb03cb69c.webp?v=1782208977","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae50e199609616d2cef6e97004468852785e2fd3_45b1ea65-0739-4d7d-b4be-ac08e23e0729.webp?v=1782958066","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/552d1d4cab55ad7120237dd5028a78466c191bda_d1f5a67e-b2b4-455b-a3f6-b36aed964061.webp?v=1782958067","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d7405472f1da0242fd58a654c1be1bdb03cb69c_3d0d8cf8-3c9d-48a9-8188-eb88e331118f.webp?v=1782958069","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae50e199609616d2cef6e97004468852785e2fd3_378a51ff-855f-4c6c-87f5-68e93ccb5b92.webp?v=1782961514","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/552d1d4cab55ad7120237dd5028a78466c191bda_bcd25933-694b-4c83-8a4a-1d7f953a6ae1.webp?v=1782961515","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d7405472f1da0242fd58a654c1be1bdb03cb69c_ec8e7bab-7ee6-4414-977a-b6ce5a5ebb0e.webp?v=1782961515","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae50e199609616d2cef6e97004468852785e2fd3_c14b0cbc-9e60-471f-b7cc-92dbdc8ff668.webp?v=1782965949","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/552d1d4cab55ad7120237dd5028a78466c191bda_bc59b13f-2c9b-4bd9-8cf2-c51b2bba27e9.webp?v=1782965949","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d7405472f1da0242fd58a654c1be1bdb03cb69c_d47e219b-2749-423f-88c4-9a221586fac4.webp?v=1782965950"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-296-PM14.png?v=1750413544","options":["color"],"media":[{"alt":null,"id":25722107363427,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-296-PM14.png?v=1750413544"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-296-PM14.png?v=1750413544","width":2000},{"alt":null,"id":25735173144675,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-PM14_0c54d797-1594-489e-994f-0e74a97b6d82.png?v=1750820805"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-PM14_0c54d797-1594-489e-994f-0e74a97b6d82.png?v=1750820805","width":2000},{"alt":null,"id":27576522375267,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/552d1d4cab55ad7120237dd5028a78466c191bda.webp?v=1782208976"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/552d1d4cab55ad7120237dd5028a78466c191bda.webp?v=1782208976","width":2000},{"alt":null,"id":27576522670179,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae50e199609616d2cef6e97004468852785e2fd3.webp?v=1782208976"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae50e199609616d2cef6e97004468852785e2fd3.webp?v=1782208976","width":2000},{"alt":null,"id":27576523260003,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d7405472f1da0242fd58a654c1be1bdb03cb69c.webp?v=1782208977"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d7405472f1da0242fd58a654c1be1bdb03cb69c.webp?v=1782208977","width":2000},{"alt":null,"id":27656032059491,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae50e199609616d2cef6e97004468852785e2fd3_45b1ea65-0739-4d7d-b4be-ac08e23e0729.webp?v=1782958066"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae50e199609616d2cef6e97004468852785e2fd3_45b1ea65-0739-4d7d-b4be-ac08e23e0729.webp?v=1782958066","width":2000},{"alt":null,"id":27656033140835,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/552d1d4cab55ad7120237dd5028a78466c191bda_d1f5a67e-b2b4-455b-a3f6-b36aed964061.webp?v=1782958067"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/552d1d4cab55ad7120237dd5028a78466c191bda_d1f5a67e-b2b4-455b-a3f6-b36aed964061.webp?v=1782958067","width":2000},{"alt":null,"id":27656033796195,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d7405472f1da0242fd58a654c1be1bdb03cb69c_3d0d8cf8-3c9d-48a9-8188-eb88e331118f.webp?v=1782958069"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d7405472f1da0242fd58a654c1be1bdb03cb69c_3d0d8cf8-3c9d-48a9-8188-eb88e331118f.webp?v=1782958069","width":2000},{"alt":null,"id":27656791588963,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae50e199609616d2cef6e97004468852785e2fd3_378a51ff-855f-4c6c-87f5-68e93ccb5b92.webp?v=1782961514"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae50e199609616d2cef6e97004468852785e2fd3_378a51ff-855f-4c6c-87f5-68e93ccb5b92.webp?v=1782961514","width":2000},{"alt":null,"id":27656792211555,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/552d1d4cab55ad7120237dd5028a78466c191bda_bcd25933-694b-4c83-8a4a-1d7f953a6ae1.webp?v=1782961515"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/552d1d4cab55ad7120237dd5028a78466c191bda_bcd25933-694b-4c83-8a4a-1d7f953a6ae1.webp?v=1782961515","width":2000},{"alt":null,"id":27656792506467,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d7405472f1da0242fd58a654c1be1bdb03cb69c_ec8e7bab-7ee6-4414-977a-b6ce5a5ebb0e.webp?v=1782961515"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d7405472f1da0242fd58a654c1be1bdb03cb69c_ec8e7bab-7ee6-4414-977a-b6ce5a5ebb0e.webp?v=1782961515","width":2000},{"alt":null,"id":27657275539555,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae50e199609616d2cef6e97004468852785e2fd3_c14b0cbc-9e60-471f-b7cc-92dbdc8ff668.webp?v=1782965949"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae50e199609616d2cef6e97004468852785e2fd3_c14b0cbc-9e60-471f-b7cc-92dbdc8ff668.webp?v=1782965949","width":2000},{"alt":null,"id":27657276031075,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/552d1d4cab55ad7120237dd5028a78466c191bda_bc59b13f-2c9b-4bd9-8cf2-c51b2bba27e9.webp?v=1782965949"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/552d1d4cab55ad7120237dd5028a78466c191bda_bc59b13f-2c9b-4bd9-8cf2-c51b2bba27e9.webp?v=1782965949","width":2000},{"alt":null,"id":27657276457059,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d7405472f1da0242fd58a654c1be1bdb03cb69c_d47e219b-2749-423f-88c4-9a221586fac4.webp?v=1782965950"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d7405472f1da0242fd58a654c1be1bdb03cb69c_d47e219b-2749-423f-88c4-9a221586fac4.webp?v=1782965950","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43479380000867,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-PM14","requires_shipping":true,"taxable":true,"featured_image":{"id":36152402935907,"product_id":7824457990243,"position":14,"created_at":"2026-07-02T12:19:08+08:00","updated_at":"2026-07-02T12:19:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d7405472f1da0242fd58a654c1be1bdb03cb69c_d47e219b-2749-423f-88c4-9a221586fac4.webp?v=1782965950","variant_ids":[43479380000867]},"available":true,"name":"iPhone 15 Plus SolidX NBA Logo-密爾瓦基公鹿 Milwaukee Bucks - 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-PM14","featured_media":{"alt":null,"id":27657276457059,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d7405472f1da0242fd58a654c1be1bdb03cb69c_d47e219b-2749-423f-88c4-9a221586fac4.webp?v=1782965950"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43479383244899,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-PM14","requires_shipping":true,"taxable":true,"featured_image":{"id":36152402542691,"product_id":7824457990243,"position":13,"created_at":"2026-07-02T12:19:07+08:00","updated_at":"2026-07-02T12:19:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/552d1d4cab55ad7120237dd5028a78466c191bda_bc59b13f-2c9b-4bd9-8cf2-c51b2bba27e9.webp?v=1782965949","variant_ids":[43479383244899]},"available":true,"name":"iPhone 15 Plus SolidX NBA Logo-密爾瓦基公鹿 Milwaukee Bucks - 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-PM14","featured_media":{"alt":null,"id":27657276031075,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/552d1d4cab55ad7120237dd5028a78466c191bda_bc59b13f-2c9b-4bd9-8cf2-c51b2bba27e9.webp?v=1782965949"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43479380000867,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-PM14","requires_shipping":true,"taxable":true,"featured_image":{"id":36152402935907,"product_id":7824457990243,"position":14,"created_at":"2026-07-02T12:19:08+08:00","updated_at":"2026-07-02T12:19:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d7405472f1da0242fd58a654c1be1bdb03cb69c_d47e219b-2749-423f-88c4-9a221586fac4.webp?v=1782965950","variant_ids":[43479380000867]},"available":true,"name":"iPhone 15 Plus SolidX NBA Logo-密爾瓦基公鹿 Milwaukee Bucks - 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-PM14","featured_media":{"alt":null,"id":27657276457059,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d7405472f1da0242fd58a654c1be1bdb03cb69c_d47e219b-2749-423f-88c4-9a221586fac4.webp?v=1782965950"}},"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: "停產" }