$product = {"id":8006904086627,"title":"iPhone 15 Pro Max SolidX","handle":"iphone-15-pro-max-circularnext-bumper-featured-product","description":null,"published_at":"2026-05-05T16:20:43+08:00","created_at":"2026-05-05T15:40:51+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["20%","25%","30%","35%","40%","45%","50%","all-phone-case-fp","brand-Apple","circularnext-featured-product","device-iPhone 15 Pro Max","discountable","discountable-item","dropdownDevice-Apple iPhone 15 Pro Max","featured-product","member","quickbuy","reseller","reseller-circularnext-bumper","type-circularnext-featured-product","viewable"],"price":105000,"price_min":105000,"price_max":105000,"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":44163024584803,"title":"揉合桃","option1":"揉合桃","option2":null,"option3":null,"sku":"SSR012981C","requires_shipping":true,"taxable":true,"featured_image":{"id":35756002803811,"product_id":8006904086627,"position":11,"created_at":"2026-05-05T15:41:50+08:00","updated_at":"2026-05-05T15:41:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51e7fe7a36b8f12e4fb67c5a194640fae0fcc0fa_be400c3e-29c9-4f63-955c-82f2dc86cd4a.webp?v=1777966912","variant_ids":[44163024584803]},"available":true,"name":"iPhone 15 Pro Max SolidX - 揉合桃","public_title":"揉合桃","options":["揉合桃"],"price":105000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"4711366135997","featured_media":{"alt":null,"id":27282643648611,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51e7fe7a36b8f12e4fb67c5a194640fae0fcc0fa_be400c3e-29c9-4f63-955c-82f2dc86cd4a.webp?v=1777966912"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44163024650339,"title":"揉合紫","option1":"揉合紫","option2":null,"option3":null,"sku":"SSR012981D","requires_shipping":true,"taxable":true,"featured_image":{"id":35756002476131,"product_id":8006904086627,"position":10,"created_at":"2026-05-05T15:41:49+08:00","updated_at":"2026-05-05T15:41:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/303c9e6f2e3170384d9c9e0716ad0c11735b9327_cc0399ba-53e5-4297-b9c8-6e1db8132484.webp?v=1777966911","variant_ids":[44163024650339]},"available":true,"name":"iPhone 15 Pro Max SolidX - 揉合紫","public_title":"揉合紫","options":["揉合紫"],"price":105000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"4711366136000","featured_media":{"alt":null,"id":27282643419235,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/303c9e6f2e3170384d9c9e0716ad0c11735b9327_cc0399ba-53e5-4297-b9c8-6e1db8132484.webp?v=1777966911"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/303c9e6f2e3170384d9c9e0716ad0c11735b9327.webp?v=1777966874","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51e7fe7a36b8f12e4fb67c5a194640fae0fcc0fa.webp?v=1777966875","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5729b6cd3f86575b1f435aa8f907b1b4d32d8dec.webp?v=1777966877","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/303c9e6f2e3170384d9c9e0716ad0c11735b9327_2ba98aea-4d99-4227-ac2f-73f50bec1b08.webp?v=1777966889","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51e7fe7a36b8f12e4fb67c5a194640fae0fcc0fa_06bab9c2-dec0-4643-bee4-15e44e0d0c83.webp?v=1777966890","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5729b6cd3f86575b1f435aa8f907b1b4d32d8dec_d80fcf7e-2607-4eb2-a0b7-65171a071977.webp?v=1777966892","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/303c9e6f2e3170384d9c9e0716ad0c11735b9327_133939ab-0a1d-4dec-be48-dc630503fada.webp?v=1777966901","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51e7fe7a36b8f12e4fb67c5a194640fae0fcc0fa_6fb2c37b-f398-4666-9023-62dc095a431c.webp?v=1777966901","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5729b6cd3f86575b1f435aa8f907b1b4d32d8dec_e310fcdd-6408-42d6-bb47-e9670409fa0a.webp?v=1777966903","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/303c9e6f2e3170384d9c9e0716ad0c11735b9327_cc0399ba-53e5-4297-b9c8-6e1db8132484.webp?v=1777966911","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51e7fe7a36b8f12e4fb67c5a194640fae0fcc0fa_be400c3e-29c9-4f63-955c-82f2dc86cd4a.webp?v=1777966912","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5729b6cd3f86575b1f435aa8f907b1b4d32d8dec_d49db45c-135b-42b2-ae0a-edd1ae5e8775.webp?v=1777966914"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/303c9e6f2e3170384d9c9e0716ad0c11735b9327.webp?v=1777966874","options":["color"],"media":[{"alt":null,"id":27282638864483,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/303c9e6f2e3170384d9c9e0716ad0c11735b9327.webp?v=1777966874"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/303c9e6f2e3170384d9c9e0716ad0c11735b9327.webp?v=1777966874","width":2000},{"alt":null,"id":27282638930019,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51e7fe7a36b8f12e4fb67c5a194640fae0fcc0fa.webp?v=1777966875"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51e7fe7a36b8f12e4fb67c5a194640fae0fcc0fa.webp?v=1777966875","width":2000},{"alt":null,"id":27282639224931,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5729b6cd3f86575b1f435aa8f907b1b4d32d8dec.webp?v=1777966877"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5729b6cd3f86575b1f435aa8f907b1b4d32d8dec.webp?v=1777966877","width":2000},{"alt":null,"id":27282639880291,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/303c9e6f2e3170384d9c9e0716ad0c11735b9327_2ba98aea-4d99-4227-ac2f-73f50bec1b08.webp?v=1777966889"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/303c9e6f2e3170384d9c9e0716ad0c11735b9327_2ba98aea-4d99-4227-ac2f-73f50bec1b08.webp?v=1777966889","width":2000},{"alt":null,"id":27282640142435,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51e7fe7a36b8f12e4fb67c5a194640fae0fcc0fa_06bab9c2-dec0-4643-bee4-15e44e0d0c83.webp?v=1777966890"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51e7fe7a36b8f12e4fb67c5a194640fae0fcc0fa_06bab9c2-dec0-4643-bee4-15e44e0d0c83.webp?v=1777966890","width":2000},{"alt":null,"id":27282640961635,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5729b6cd3f86575b1f435aa8f907b1b4d32d8dec_d80fcf7e-2607-4eb2-a0b7-65171a071977.webp?v=1777966892"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5729b6cd3f86575b1f435aa8f907b1b4d32d8dec_d80fcf7e-2607-4eb2-a0b7-65171a071977.webp?v=1777966892","width":2000},{"alt":null,"id":27282641780835,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/303c9e6f2e3170384d9c9e0716ad0c11735b9327_133939ab-0a1d-4dec-be48-dc630503fada.webp?v=1777966901"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/303c9e6f2e3170384d9c9e0716ad0c11735b9327_133939ab-0a1d-4dec-be48-dc630503fada.webp?v=1777966901","width":2000},{"alt":null,"id":27282642010211,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51e7fe7a36b8f12e4fb67c5a194640fae0fcc0fa_6fb2c37b-f398-4666-9023-62dc095a431c.webp?v=1777966901"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51e7fe7a36b8f12e4fb67c5a194640fae0fcc0fa_6fb2c37b-f398-4666-9023-62dc095a431c.webp?v=1777966901","width":2000},{"alt":null,"id":27282642796643,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5729b6cd3f86575b1f435aa8f907b1b4d32d8dec_e310fcdd-6408-42d6-bb47-e9670409fa0a.webp?v=1777966903"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5729b6cd3f86575b1f435aa8f907b1b4d32d8dec_e310fcdd-6408-42d6-bb47-e9670409fa0a.webp?v=1777966903","width":2000},{"alt":null,"id":27282643419235,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/303c9e6f2e3170384d9c9e0716ad0c11735b9327_cc0399ba-53e5-4297-b9c8-6e1db8132484.webp?v=1777966911"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/303c9e6f2e3170384d9c9e0716ad0c11735b9327_cc0399ba-53e5-4297-b9c8-6e1db8132484.webp?v=1777966911","width":2000},{"alt":null,"id":27282643648611,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51e7fe7a36b8f12e4fb67c5a194640fae0fcc0fa_be400c3e-29c9-4f63-955c-82f2dc86cd4a.webp?v=1777966912"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51e7fe7a36b8f12e4fb67c5a194640fae0fcc0fa_be400c3e-29c9-4f63-955c-82f2dc86cd4a.webp?v=1777966912","width":2000},{"alt":null,"id":27282644500579,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5729b6cd3f86575b1f435aa8f907b1b4d32d8dec_d49db45c-135b-42b2-ae0a-edd1ae5e8775.webp?v=1777966914"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5729b6cd3f86575b1f435aa8f907b1b4d32d8dec_d49db45c-135b-42b2-ae0a-edd1ae5e8775.webp?v=1777966914","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44163024584803,"title":"揉合桃","option1":"揉合桃","option2":null,"option3":null,"sku":"SSR012981C","requires_shipping":true,"taxable":true,"featured_image":{"id":35756002803811,"product_id":8006904086627,"position":11,"created_at":"2026-05-05T15:41:50+08:00","updated_at":"2026-05-05T15:41:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51e7fe7a36b8f12e4fb67c5a194640fae0fcc0fa_be400c3e-29c9-4f63-955c-82f2dc86cd4a.webp?v=1777966912","variant_ids":[44163024584803]},"available":true,"name":"iPhone 15 Pro Max SolidX - 揉合桃","public_title":"揉合桃","options":["揉合桃"],"price":105000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"4711366135997","featured_media":{"alt":null,"id":27282643648611,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51e7fe7a36b8f12e4fb67c5a194640fae0fcc0fa_be400c3e-29c9-4f63-955c-82f2dc86cd4a.webp?v=1777966912"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44163024650339,"title":"揉合紫","option1":"揉合紫","option2":null,"option3":null,"sku":"SSR012981D","requires_shipping":true,"taxable":true,"featured_image":{"id":35756002476131,"product_id":8006904086627,"position":10,"created_at":"2026-05-05T15:41:49+08:00","updated_at":"2026-05-05T15:41:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/303c9e6f2e3170384d9c9e0716ad0c11735b9327_cc0399ba-53e5-4297-b9c8-6e1db8132484.webp?v=1777966911","variant_ids":[44163024650339]},"available":true,"name":"iPhone 15 Pro Max SolidX - 揉合紫","public_title":"揉合紫","options":["揉合紫"],"price":105000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"4711366136000","featured_media":{"alt":null,"id":27282643419235,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/303c9e6f2e3170384d9c9e0716ad0c11735b9327_cc0399ba-53e5-4297-b9c8-6e1db8132484.webp?v=1777966911"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44163024584803,"title":"揉合桃","option1":"揉合桃","option2":null,"option3":null,"sku":"SSR012981C","requires_shipping":true,"taxable":true,"featured_image":{"id":35756002803811,"product_id":8006904086627,"position":11,"created_at":"2026-05-05T15:41:50+08:00","updated_at":"2026-05-05T15:41:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51e7fe7a36b8f12e4fb67c5a194640fae0fcc0fa_be400c3e-29c9-4f63-955c-82f2dc86cd4a.webp?v=1777966912","variant_ids":[44163024584803]},"available":true,"name":"iPhone 15 Pro Max SolidX - 揉合桃","public_title":"揉合桃","options":["揉合桃"],"price":105000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"4711366135997","featured_media":{"alt":null,"id":27282643648611,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51e7fe7a36b8f12e4fb67c5a194640fae0fcc0fa_be400c3e-29c9-4f63-955c-82f2dc86cd4a.webp?v=1777966912"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $type = ""; var sellingStatus if ($isMerge) { $(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: "停產" }