$product = {"id":7823830286435,"title":"iPhone 15 Pro Max SolidX 涼丰 經典小熊","handle":"iphone-15-pro-max-solidx-gd33","description":null,"published_at":"2025-07-01T19:10:20+08:00","created_at":"2025-06-20T10:30:08+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-liang-feng","device-iPhone 15 Pro Max","merge","reseller-liang-feng"],"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":43473455317091,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-GD33","requires_shipping":true,"taxable":true,"featured_image":{"id":36478157717603,"product_id":7823830286435,"position":9,"created_at":"2026-08-04T12:10:21+08:00","updated_at":"2026-08-04T12:10:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef68827ddedf6a3981bdaf3e7dd8039abe81b705_890f6e45-c25f-48be-960e-aace6e70606e.webp?v=1785816623","variant_ids":[43473455317091]},"available":true,"name":"iPhone 15 Pro Max SolidX 涼丰 經典小熊 - 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-GD33","featured_media":{"alt":null,"id":27981493141603,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef68827ddedf6a3981bdaf3e7dd8039abe81b705_890f6e45-c25f-48be-960e-aace6e70606e.webp?v=1785816623"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43473459839075,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-GD33","requires_shipping":true,"taxable":true,"featured_image":{"id":36478157848675,"product_id":7823830286435,"position":10,"created_at":"2026-08-04T12:10:21+08:00","updated_at":"2026-08-04T12:10:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad6ccab7304f17e444582073c6bdd87eb861b086_b0625ad0-b09e-4b5b-b96f-a204a278c73b.webp?v=1785816623","variant_ids":[43473459839075]},"available":true,"name":"iPhone 15 Pro Max SolidX 涼丰 經典小熊 - 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-GD33","featured_media":{"alt":null,"id":27981493272675,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad6ccab7304f17e444582073c6bdd87eb861b086_b0625ad0-b09e-4b5b-b96f-a204a278c73b.webp?v=1785816623"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-GD33.png?v=1750386611","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-GD33_5708aa1d-fa87-406c-a427-45b2851dd734.png?v=1750832303","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad6ccab7304f17e444582073c6bdd87eb861b086.webp?v=1784015622","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1c76dc60744dc48af7ae7351346699551c3c1c8.webp?v=1784015623","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b10bb6e64719fe6da29631d49bbf01a969e4ccd.webp?v=1784015640","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef68827ddedf6a3981bdaf3e7dd8039abe81b705.webp?v=1784015642","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8431dd85be337141320738949a8b91f8dabc1d1.webp?v=1784015644","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8431dd85be337141320738949a8b91f8dabc1d1_530ade2c-17b4-4d84-867a-ac01006cfe00.webp?v=1785816622","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef68827ddedf6a3981bdaf3e7dd8039abe81b705_890f6e45-c25f-48be-960e-aace6e70606e.webp?v=1785816623","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad6ccab7304f17e444582073c6bdd87eb861b086_b0625ad0-b09e-4b5b-b96f-a204a278c73b.webp?v=1785816623","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b10bb6e64719fe6da29631d49bbf01a969e4ccd_8bb376db-c780-4ae1-be95-fde5f2db5f53.webp?v=1785816624","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1c76dc60744dc48af7ae7351346699551c3c1c8_64400917-f048-46cf-9e7e-e22361dae8c2.webp?v=1785816624"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-GD33.png?v=1750386611","options":["color"],"media":[{"alt":null,"id":25720397332579,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-GD33.png?v=1750386611"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-GD33.png?v=1750386611","width":2000},{"alt":null,"id":25736377466979,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-GD33_5708aa1d-fa87-406c-a427-45b2851dd734.png?v=1750832303"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-GD33_5708aa1d-fa87-406c-a427-45b2851dd734.png?v=1750832303","width":2000},{"alt":null,"id":27762062491747,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad6ccab7304f17e444582073c6bdd87eb861b086.webp?v=1784015622"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad6ccab7304f17e444582073c6bdd87eb861b086.webp?v=1784015622","width":2000},{"alt":null,"id":27762062786659,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1c76dc60744dc48af7ae7351346699551c3c1c8.webp?v=1784015623"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1c76dc60744dc48af7ae7351346699551c3c1c8.webp?v=1784015623","width":2000},{"alt":null,"id":27762063671395,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b10bb6e64719fe6da29631d49bbf01a969e4ccd.webp?v=1784015640"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b10bb6e64719fe6da29631d49bbf01a969e4ccd.webp?v=1784015640","width":2000},{"alt":null,"id":27762063900771,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef68827ddedf6a3981bdaf3e7dd8039abe81b705.webp?v=1784015642"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef68827ddedf6a3981bdaf3e7dd8039abe81b705.webp?v=1784015642","width":2000},{"alt":null,"id":27762064162915,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8431dd85be337141320738949a8b91f8dabc1d1.webp?v=1784015644"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8431dd85be337141320738949a8b91f8dabc1d1.webp?v=1784015644","width":2000},{"alt":null,"id":27981493043299,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8431dd85be337141320738949a8b91f8dabc1d1_530ade2c-17b4-4d84-867a-ac01006cfe00.webp?v=1785816622"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8431dd85be337141320738949a8b91f8dabc1d1_530ade2c-17b4-4d84-867a-ac01006cfe00.webp?v=1785816622","width":2000},{"alt":null,"id":27981493141603,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef68827ddedf6a3981bdaf3e7dd8039abe81b705_890f6e45-c25f-48be-960e-aace6e70606e.webp?v=1785816623"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef68827ddedf6a3981bdaf3e7dd8039abe81b705_890f6e45-c25f-48be-960e-aace6e70606e.webp?v=1785816623","width":2000},{"alt":null,"id":27981493272675,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad6ccab7304f17e444582073c6bdd87eb861b086_b0625ad0-b09e-4b5b-b96f-a204a278c73b.webp?v=1785816623"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad6ccab7304f17e444582073c6bdd87eb861b086_b0625ad0-b09e-4b5b-b96f-a204a278c73b.webp?v=1785816623","width":2000},{"alt":null,"id":27981493436515,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b10bb6e64719fe6da29631d49bbf01a969e4ccd_8bb376db-c780-4ae1-be95-fde5f2db5f53.webp?v=1785816624"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b10bb6e64719fe6da29631d49bbf01a969e4ccd_8bb376db-c780-4ae1-be95-fde5f2db5f53.webp?v=1785816624","width":2000},{"alt":null,"id":27981493633123,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1c76dc60744dc48af7ae7351346699551c3c1c8_64400917-f048-46cf-9e7e-e22361dae8c2.webp?v=1785816624"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1c76dc60744dc48af7ae7351346699551c3c1c8_64400917-f048-46cf-9e7e-e22361dae8c2.webp?v=1785816624","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43473455317091,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-GD33","requires_shipping":true,"taxable":true,"featured_image":{"id":36478157717603,"product_id":7823830286435,"position":9,"created_at":"2026-08-04T12:10:21+08:00","updated_at":"2026-08-04T12:10:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef68827ddedf6a3981bdaf3e7dd8039abe81b705_890f6e45-c25f-48be-960e-aace6e70606e.webp?v=1785816623","variant_ids":[43473455317091]},"available":true,"name":"iPhone 15 Pro Max SolidX 涼丰 經典小熊 - 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-GD33","featured_media":{"alt":null,"id":27981493141603,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef68827ddedf6a3981bdaf3e7dd8039abe81b705_890f6e45-c25f-48be-960e-aace6e70606e.webp?v=1785816623"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43473459839075,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-GD33","requires_shipping":true,"taxable":true,"featured_image":{"id":36478157848675,"product_id":7823830286435,"position":10,"created_at":"2026-08-04T12:10:21+08:00","updated_at":"2026-08-04T12:10:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad6ccab7304f17e444582073c6bdd87eb861b086_b0625ad0-b09e-4b5b-b96f-a204a278c73b.webp?v=1785816623","variant_ids":[43473459839075]},"available":true,"name":"iPhone 15 Pro Max SolidX 涼丰 經典小熊 - 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-GD33","featured_media":{"alt":null,"id":27981493272675,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad6ccab7304f17e444582073c6bdd87eb861b086_b0625ad0-b09e-4b5b-b96f-a204a278c73b.webp?v=1785816623"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43473455317091,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-GD33","requires_shipping":true,"taxable":true,"featured_image":{"id":36478157717603,"product_id":7823830286435,"position":9,"created_at":"2026-08-04T12:10:21+08:00","updated_at":"2026-08-04T12:10:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef68827ddedf6a3981bdaf3e7dd8039abe81b705_890f6e45-c25f-48be-960e-aace6e70606e.webp?v=1785816623","variant_ids":[43473455317091]},"available":true,"name":"iPhone 15 Pro Max SolidX 涼丰 經典小熊 - 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-GD33","featured_media":{"alt":null,"id":27981493141603,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef68827ddedf6a3981bdaf3e7dd8039abe81b705_890f6e45-c25f-48be-960e-aace6e70606e.webp?v=1785816623"}},"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: "停產" }