$product = {"id":7998422384739,"title":"iPhone 15 Pro Max SolidX 太空 NASA Space Food Bag - Vacuum Sealed","handle":"iphone-15-pro-max-solidx-xk36","description":null,"published_at":"2026-04-20T11:51:31+08:00","created_at":"2026-04-20T10:06:47+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-nasa","device-iPhone 15 Pro Max","merge","reseller-nasa"],"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":44126399266915,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-XK36","requires_shipping":true,"taxable":true,"featured_image":{"id":36255445123171,"product_id":7998422384739,"position":11,"created_at":"2026-07-14T10:50:57+08:00","updated_at":"2026-07-14T10:50:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d22eb4e98af7db2de91417bad948c248d266e8be_c0c69220-c965-457e-9f63-b40d9cfca0b1.webp?v=1783997459","variant_ids":[44126399266915]},"available":true,"name":"iPhone 15 Pro Max SolidX 太空 NASA Space Food Bag - Vacuum Sealed - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-XK36","featured_media":{"alt":null,"id":27759559934051,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d22eb4e98af7db2de91417bad948c248d266e8be_c0c69220-c965-457e-9f63-b40d9cfca0b1.webp?v=1783997459"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44126401364067,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-XK36","requires_shipping":true,"taxable":true,"featured_image":{"id":36255445844067,"product_id":7998422384739,"position":13,"created_at":"2026-07-14T10:50:58+08:00","updated_at":"2026-07-14T10:51:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ecff4dde9e375d611b000480eb4de7fabb4eef6_dadc7e19-2aad-465f-8b17-106518aa05e9.webp?v=1783997460","variant_ids":[44126401364067]},"available":true,"name":"iPhone 15 Pro Max SolidX 太空 NASA Space Food Bag - Vacuum Sealed - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129853-XK36","featured_media":{"alt":null,"id":27759560622179,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ecff4dde9e375d611b000480eb4de7fabb4eef6_dadc7e19-2aad-465f-8b17-106518aa05e9.webp?v=1783997460"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86ed4ce6d9b73350e7a572f4c179be1197757fc6.webp?v=1776650844","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ecff4dde9e375d611b000480eb4de7fabb4eef6.webp?v=1776650844","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/083b67337d9994dc0e99e988136bf2bf989593f5.webp?v=1776650845","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5091b1fa833b2781fe9ea16775d23c90c0e869e9.webp?v=1776650846","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8940877a6aac52b81547d8a2a01d909327274dfc.webp?v=1776650847","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d22eb4e98af7db2de91417bad948c248d266e8be.webp?v=1776650847","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e79667ac3aba059150c6606dcc603b0ac8ba03d.webp?v=1776650848","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e43ec62dae3167366a26bc12d0e81acb79b4b141.webp?v=1776650849","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a0484fbf0c7c1902df2781e9a9961167a1e8330.webp?v=1776650850","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/083b67337d9994dc0e99e988136bf2bf989593f5_18a17257-ef31-4dee-83b2-8f944a278907.webp?v=1783997458","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d22eb4e98af7db2de91417bad948c248d266e8be_c0c69220-c965-457e-9f63-b40d9cfca0b1.webp?v=1783997459","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e79667ac3aba059150c6606dcc603b0ac8ba03d_3c1c12ca-0c77-4f54-bd1f-d3f1a81308a0.webp?v=1783997459","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ecff4dde9e375d611b000480eb4de7fabb4eef6_dadc7e19-2aad-465f-8b17-106518aa05e9.webp?v=1783997460","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e43ec62dae3167366a26bc12d0e81acb79b4b141_59e52e8e-029f-4c86-8183-bfc99a8915a0.webp?v=1783997461"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86ed4ce6d9b73350e7a572f4c179be1197757fc6.webp?v=1776650844","options":["color"],"media":[{"alt":null,"id":27201020854371,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86ed4ce6d9b73350e7a572f4c179be1197757fc6.webp?v=1776650844"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86ed4ce6d9b73350e7a572f4c179be1197757fc6.webp?v=1776650844","width":2000},{"alt":null,"id":27201021411427,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ecff4dde9e375d611b000480eb4de7fabb4eef6.webp?v=1776650844"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ecff4dde9e375d611b000480eb4de7fabb4eef6.webp?v=1776650844","width":2000},{"alt":null,"id":27201022034019,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/083b67337d9994dc0e99e988136bf2bf989593f5.webp?v=1776650845"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/083b67337d9994dc0e99e988136bf2bf989593f5.webp?v=1776650845","width":2000},{"alt":null,"id":27201022689379,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5091b1fa833b2781fe9ea16775d23c90c0e869e9.webp?v=1776650846"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5091b1fa833b2781fe9ea16775d23c90c0e869e9.webp?v=1776650846","width":2000},{"alt":null,"id":27201023246435,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8940877a6aac52b81547d8a2a01d909327274dfc.webp?v=1776650847"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8940877a6aac52b81547d8a2a01d909327274dfc.webp?v=1776650847","width":2000},{"alt":null,"id":27201024196707,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d22eb4e98af7db2de91417bad948c248d266e8be.webp?v=1776650847"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d22eb4e98af7db2de91417bad948c248d266e8be.webp?v=1776650847","width":2000},{"alt":null,"id":27201025278051,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e79667ac3aba059150c6606dcc603b0ac8ba03d.webp?v=1776650848"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e79667ac3aba059150c6606dcc603b0ac8ba03d.webp?v=1776650848","width":2000},{"alt":null,"id":27201025802339,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e43ec62dae3167366a26bc12d0e81acb79b4b141.webp?v=1776650849"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e43ec62dae3167366a26bc12d0e81acb79b4b141.webp?v=1776650849","width":2000},{"alt":null,"id":27201027014755,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a0484fbf0c7c1902df2781e9a9961167a1e8330.webp?v=1776650850"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a0484fbf0c7c1902df2781e9a9961167a1e8330.webp?v=1776650850","width":2000},{"alt":null,"id":27759559704675,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/083b67337d9994dc0e99e988136bf2bf989593f5_18a17257-ef31-4dee-83b2-8f944a278907.webp?v=1783997458"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/083b67337d9994dc0e99e988136bf2bf989593f5_18a17257-ef31-4dee-83b2-8f944a278907.webp?v=1783997458","width":2000},{"alt":null,"id":27759559934051,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d22eb4e98af7db2de91417bad948c248d266e8be_c0c69220-c965-457e-9f63-b40d9cfca0b1.webp?v=1783997459"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d22eb4e98af7db2de91417bad948c248d266e8be_c0c69220-c965-457e-9f63-b40d9cfca0b1.webp?v=1783997459","width":2000},{"alt":null,"id":27759560228963,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e79667ac3aba059150c6606dcc603b0ac8ba03d_3c1c12ca-0c77-4f54-bd1f-d3f1a81308a0.webp?v=1783997459"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e79667ac3aba059150c6606dcc603b0ac8ba03d_3c1c12ca-0c77-4f54-bd1f-d3f1a81308a0.webp?v=1783997459","width":2000},{"alt":null,"id":27759560622179,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ecff4dde9e375d611b000480eb4de7fabb4eef6_dadc7e19-2aad-465f-8b17-106518aa05e9.webp?v=1783997460"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ecff4dde9e375d611b000480eb4de7fabb4eef6_dadc7e19-2aad-465f-8b17-106518aa05e9.webp?v=1783997460","width":2000},{"alt":null,"id":27759560851555,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e43ec62dae3167366a26bc12d0e81acb79b4b141_59e52e8e-029f-4c86-8183-bfc99a8915a0.webp?v=1783997461"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e43ec62dae3167366a26bc12d0e81acb79b4b141_59e52e8e-029f-4c86-8183-bfc99a8915a0.webp?v=1783997461","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44126399266915,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-XK36","requires_shipping":true,"taxable":true,"featured_image":{"id":36255445123171,"product_id":7998422384739,"position":11,"created_at":"2026-07-14T10:50:57+08:00","updated_at":"2026-07-14T10:50:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d22eb4e98af7db2de91417bad948c248d266e8be_c0c69220-c965-457e-9f63-b40d9cfca0b1.webp?v=1783997459","variant_ids":[44126399266915]},"available":true,"name":"iPhone 15 Pro Max SolidX 太空 NASA Space Food Bag - Vacuum Sealed - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-XK36","featured_media":{"alt":null,"id":27759559934051,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d22eb4e98af7db2de91417bad948c248d266e8be_c0c69220-c965-457e-9f63-b40d9cfca0b1.webp?v=1783997459"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44126401364067,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-XK36","requires_shipping":true,"taxable":true,"featured_image":{"id":36255445844067,"product_id":7998422384739,"position":13,"created_at":"2026-07-14T10:50:58+08:00","updated_at":"2026-07-14T10:51:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ecff4dde9e375d611b000480eb4de7fabb4eef6_dadc7e19-2aad-465f-8b17-106518aa05e9.webp?v=1783997460","variant_ids":[44126401364067]},"available":true,"name":"iPhone 15 Pro Max SolidX 太空 NASA Space Food Bag - Vacuum Sealed - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129853-XK36","featured_media":{"alt":null,"id":27759560622179,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ecff4dde9e375d611b000480eb4de7fabb4eef6_dadc7e19-2aad-465f-8b17-106518aa05e9.webp?v=1783997460"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44126399266915,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-XK36","requires_shipping":true,"taxable":true,"featured_image":{"id":36255445123171,"product_id":7998422384739,"position":11,"created_at":"2026-07-14T10:50:57+08:00","updated_at":"2026-07-14T10:50:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d22eb4e98af7db2de91417bad948c248d266e8be_c0c69220-c965-457e-9f63-b40d9cfca0b1.webp?v=1783997459","variant_ids":[44126399266915]},"available":true,"name":"iPhone 15 Pro Max SolidX 太空 NASA Space Food Bag - Vacuum Sealed - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-XK36","featured_media":{"alt":null,"id":27759559934051,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d22eb4e98af7db2de91417bad948c248d266e8be_c0c69220-c965-457e-9f63-b40d9cfca0b1.webp?v=1783997459"}},"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: "停產" }