$product = {"id":7155921616995,"title":"iPhone X SolidSuit 1G 抱一個","handle":"iphone-x-solidsuit-classic-iv03","description":null,"published_at":"2024-01-24T16:27:34+08:00","created_at":"2024-01-23T17:17:46+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit專區1G","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-1chun","device-iPhone X","merge","reseller-1chun"],"price":83000,"price_min":83000,"price_max":83000,"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":41197335281763,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0106452-IV03","requires_shipping":true,"taxable":true,"featured_image":{"id":36144741679203,"product_id":7155921616995,"position":12,"created_at":"2026-07-01T14:33:28+08:00","updated_at":"2026-07-01T14:33:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05904c138ac6bebe6c14d161c2a2d525254f8542.webp?v=1782887610","variant_ids":[41197335281763]},"available":true,"name":"iPhone X SolidSuit 1G 抱一個 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0106452-IV03","featured_media":{"alt":null,"id":27649628930147,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05904c138ac6bebe6c14d161c2a2d525254f8542.webp?v=1782887610"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197335478371,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"SST01064P2-IV03","requires_shipping":true,"taxable":true,"featured_image":{"id":30837450932323,"product_id":7155921616995,"position":5,"created_at":"2024-01-24T11:11:16+08:00","updated_at":"2024-01-24T11:11:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4f7bb9f723423efb6a42fff496491e54d105d86_c2312783-508a-4095-9819-a9bed3da294b.webp?v=1706065876","variant_ids":[41197335478371]},"available":true,"name":"iPhone X SolidSuit 1G 抱一個 - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":23208368636003,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4f7bb9f723423efb6a42fff496491e54d105d86_c2312783-508a-4095-9819-a9bed3da294b.webp?v=1706065876"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72fbc0e8715c70dc9c6de58c5782f5edb5e1ae00_04ac41fa-402a-4c72-80fe-79b427a6925b.webp?v=1706001473","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0449072ee4ed53f12ab0111b5fabc03ee8ec8b01_0fabaaa5-ff0b-4d72-8394-dd561c85c886.webp?v=1706001475","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/254c605f92031c433dd2510850515ed25078ec5c_237f0cd5-6002-44ae-ba89-97176fb32838.webp?v=1706001478","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4621550c14b3bdcd7a885610562c7f19cf057985_135bb986-443d-4cac-92b2-54b73b50d23c.webp?v=1706001481","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4f7bb9f723423efb6a42fff496491e54d105d86_c2312783-508a-4095-9819-a9bed3da294b.webp?v=1706065876","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7bc1ed5620130ddbec5034576c7212690e3cb5d6_26685426-9e15-49db-a864-2eff28e1e5b7.webp?v=1706065879","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0449072ee4ed53f12ab0111b5fabc03ee8ec8b01_a635d8b0-299f-4d9f-8603-65d1c445a7ff.webp?v=1706065881","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56850bbdaf636dbee6fd81b255da8d044dcfedaa_77d51c65-47de-4e81-91b7-da0d981a3068.webp?v=1706065883","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/254c605f92031c433dd2510850515ed25078ec5c_bf543a11-d884-4f47-bf48-7d8cd666c085.webp?v=1706065886","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4621550c14b3bdcd7a885610562c7f19cf057985_4ed0daf3-cdda-447c-a57b-9acbde0dd490.webp?v=1706065888","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72fbc0e8715c70dc9c6de58c5782f5edb5e1ae00_a6976f64-c5ba-4741-ae5a-8e68bc784131.webp?v=1706065891","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05904c138ac6bebe6c14d161c2a2d525254f8542.webp?v=1782887610"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72fbc0e8715c70dc9c6de58c5782f5edb5e1ae00_04ac41fa-402a-4c72-80fe-79b427a6925b.webp?v=1706001473","options":["color"],"media":[{"alt":null,"id":23202176335971,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72fbc0e8715c70dc9c6de58c5782f5edb5e1ae00_04ac41fa-402a-4c72-80fe-79b427a6925b.webp?v=1706001473"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72fbc0e8715c70dc9c6de58c5782f5edb5e1ae00_04ac41fa-402a-4c72-80fe-79b427a6925b.webp?v=1706001473","width":2000},{"alt":null,"id":23202176893027,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0449072ee4ed53f12ab0111b5fabc03ee8ec8b01_0fabaaa5-ff0b-4d72-8394-dd561c85c886.webp?v=1706001475"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0449072ee4ed53f12ab0111b5fabc03ee8ec8b01_0fabaaa5-ff0b-4d72-8394-dd561c85c886.webp?v=1706001475","width":2000},{"alt":null,"id":23202177712227,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/254c605f92031c433dd2510850515ed25078ec5c_237f0cd5-6002-44ae-ba89-97176fb32838.webp?v=1706001478"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/254c605f92031c433dd2510850515ed25078ec5c_237f0cd5-6002-44ae-ba89-97176fb32838.webp?v=1706001478","width":2000},{"alt":null,"id":23202178891875,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4621550c14b3bdcd7a885610562c7f19cf057985_135bb986-443d-4cac-92b2-54b73b50d23c.webp?v=1706001481"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4621550c14b3bdcd7a885610562c7f19cf057985_135bb986-443d-4cac-92b2-54b73b50d23c.webp?v=1706001481","width":2000},{"alt":null,"id":23208368636003,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4f7bb9f723423efb6a42fff496491e54d105d86_c2312783-508a-4095-9819-a9bed3da294b.webp?v=1706065876"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4f7bb9f723423efb6a42fff496491e54d105d86_c2312783-508a-4095-9819-a9bed3da294b.webp?v=1706065876","width":2000},{"alt":null,"id":23208369487971,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7bc1ed5620130ddbec5034576c7212690e3cb5d6_26685426-9e15-49db-a864-2eff28e1e5b7.webp?v=1706065879"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7bc1ed5620130ddbec5034576c7212690e3cb5d6_26685426-9e15-49db-a864-2eff28e1e5b7.webp?v=1706065879","width":2000},{"alt":null,"id":23208370012259,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0449072ee4ed53f12ab0111b5fabc03ee8ec8b01_a635d8b0-299f-4d9f-8603-65d1c445a7ff.webp?v=1706065881"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0449072ee4ed53f12ab0111b5fabc03ee8ec8b01_a635d8b0-299f-4d9f-8603-65d1c445a7ff.webp?v=1706065881","width":2000},{"alt":null,"id":23208370503779,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56850bbdaf636dbee6fd81b255da8d044dcfedaa_77d51c65-47de-4e81-91b7-da0d981a3068.webp?v=1706065883"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56850bbdaf636dbee6fd81b255da8d044dcfedaa_77d51c65-47de-4e81-91b7-da0d981a3068.webp?v=1706065883","width":2000},{"alt":null,"id":23208371028067,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/254c605f92031c433dd2510850515ed25078ec5c_bf543a11-d884-4f47-bf48-7d8cd666c085.webp?v=1706065886"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/254c605f92031c433dd2510850515ed25078ec5c_bf543a11-d884-4f47-bf48-7d8cd666c085.webp?v=1706065886","width":2000},{"alt":null,"id":23208371486819,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4621550c14b3bdcd7a885610562c7f19cf057985_4ed0daf3-cdda-447c-a57b-9acbde0dd490.webp?v=1706065888"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4621550c14b3bdcd7a885610562c7f19cf057985_4ed0daf3-cdda-447c-a57b-9acbde0dd490.webp?v=1706065888","width":2000},{"alt":null,"id":23208372011107,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72fbc0e8715c70dc9c6de58c5782f5edb5e1ae00_a6976f64-c5ba-4741-ae5a-8e68bc784131.webp?v=1706065891"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72fbc0e8715c70dc9c6de58c5782f5edb5e1ae00_a6976f64-c5ba-4741-ae5a-8e68bc784131.webp?v=1706065891","width":2000},{"alt":null,"id":27649628930147,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05904c138ac6bebe6c14d161c2a2d525254f8542.webp?v=1782887610"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05904c138ac6bebe6c14d161c2a2d525254f8542.webp?v=1782887610","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41197335281763,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0106452-IV03","requires_shipping":true,"taxable":true,"featured_image":{"id":36144741679203,"product_id":7155921616995,"position":12,"created_at":"2026-07-01T14:33:28+08:00","updated_at":"2026-07-01T14:33:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05904c138ac6bebe6c14d161c2a2d525254f8542.webp?v=1782887610","variant_ids":[41197335281763]},"available":true,"name":"iPhone X SolidSuit 1G 抱一個 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0106452-IV03","featured_media":{"alt":null,"id":27649628930147,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05904c138ac6bebe6c14d161c2a2d525254f8542.webp?v=1782887610"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197335478371,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"SST01064P2-IV03","requires_shipping":true,"taxable":true,"featured_image":{"id":30837450932323,"product_id":7155921616995,"position":5,"created_at":"2024-01-24T11:11:16+08:00","updated_at":"2024-01-24T11:11:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4f7bb9f723423efb6a42fff496491e54d105d86_c2312783-508a-4095-9819-a9bed3da294b.webp?v=1706065876","variant_ids":[41197335478371]},"available":true,"name":"iPhone X SolidSuit 1G 抱一個 - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":23208368636003,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4f7bb9f723423efb6a42fff496491e54d105d86_c2312783-508a-4095-9819-a9bed3da294b.webp?v=1706065876"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41197335281763,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0106452-IV03","requires_shipping":true,"taxable":true,"featured_image":{"id":36144741679203,"product_id":7155921616995,"position":12,"created_at":"2026-07-01T14:33:28+08:00","updated_at":"2026-07-01T14:33:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05904c138ac6bebe6c14d161c2a2d525254f8542.webp?v=1782887610","variant_ids":[41197335281763]},"available":true,"name":"iPhone X SolidSuit 1G 抱一個 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0106452-IV03","featured_media":{"alt":null,"id":27649628930147,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05904c138ac6bebe6c14d161c2a2d525254f8542.webp?v=1782887610"}},"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: "停產" }