$product = {"id":7155878985827,"title":"iPhone X SolidSuit 1G 在幹嘛","handle":"iphone-x-solidsuit-classic-iv06","description":null,"published_at":"2024-01-24T16:46:52+08:00","created_at":"2024-01-23T17:02:48+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":41197091553379,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0106452-IV06","requires_shipping":true,"taxable":true,"featured_image":{"id":36144741843043,"product_id":7155878985827,"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\/ce6592f158c5f01c8503d191aad216cf7c49a510.webp?v=1782887610","variant_ids":[41197091553379]},"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-IV06","featured_media":{"alt":null,"id":27649629093987,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce6592f158c5f01c8503d191aad216cf7c49a510.webp?v=1782887610"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197091749987,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"SST01064P2-IV06","requires_shipping":true,"taxable":true,"featured_image":{"id":30837591343203,"product_id":7155878985827,"position":8,"created_at":"2024-01-24T11:19:55+08:00","updated_at":"2024-01-24T11:19:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3247b39f0c2a00590ef7aac9511aab122ce11127_c7f6da69-e048-468f-b278-2bf5db1d3002.webp?v=1706066395","variant_ids":[41197091749987]},"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":23208524251235,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3247b39f0c2a00590ef7aac9511aab122ce11127_c7f6da69-e048-468f-b278-2bf5db1d3002.webp?v=1706066395"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e81146331445447ddf40ab15568f84851f5c66ef_88ba9ac1-89e8-4959-9554-1eb44c6e6a05.webp?v=1706000578","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad51cfd4f27b6c8acf5779fe3705163a11761706_138d15e2-f240-4d49-92c6-09d068c1ca8d.webp?v=1706000580","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22ab9f605e79b548818e2004b6b1510740ba86d1_d7278612-856b-4022-92e1-ff29d614302f.webp?v=1706000583","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4b88d2d90a9b24dd645156127c99690b1948548_2731d16c-3163-4ed8-b49f-4d376bdf633b.webp?v=1706000585","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22ab9f605e79b548818e2004b6b1510740ba86d1_97b055ab-8bde-4f20-a2ee-899e241ebd98.webp?v=1706066388","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e81146331445447ddf40ab15568f84851f5c66ef_5fc46940-17c1-438f-ab25-650a5cc90a88.webp?v=1706066390","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad51cfd4f27b6c8acf5779fe3705163a11761706_8f8cb170-62bd-4e78-aad7-f2aebc714116.webp?v=1706066393","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3247b39f0c2a00590ef7aac9511aab122ce11127_c7f6da69-e048-468f-b278-2bf5db1d3002.webp?v=1706066395","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4b88d2d90a9b24dd645156127c99690b1948548_63682d35-2ce3-462f-835b-0306e4c844c3.webp?v=1706066397","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/273b7013833d6e581c30d115cf47537f1c388f19_c366496d-7744-47bc-800f-2a0868e8d413.webp?v=1706066400","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9db8f4e77f8d603cbe6eb38c801fe5e4938f0f9a_e98ea06d-1fe6-46c2-9d77-ecae57a970d2.webp?v=1706066402","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce6592f158c5f01c8503d191aad216cf7c49a510.webp?v=1782887610"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e81146331445447ddf40ab15568f84851f5c66ef_88ba9ac1-89e8-4959-9554-1eb44c6e6a05.webp?v=1706000578","options":["color"],"media":[{"alt":null,"id":23201917206627,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e81146331445447ddf40ab15568f84851f5c66ef_88ba9ac1-89e8-4959-9554-1eb44c6e6a05.webp?v=1706000578"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e81146331445447ddf40ab15568f84851f5c66ef_88ba9ac1-89e8-4959-9554-1eb44c6e6a05.webp?v=1706000578","width":2000},{"alt":null,"id":23201917763683,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad51cfd4f27b6c8acf5779fe3705163a11761706_138d15e2-f240-4d49-92c6-09d068c1ca8d.webp?v=1706000580"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad51cfd4f27b6c8acf5779fe3705163a11761706_138d15e2-f240-4d49-92c6-09d068c1ca8d.webp?v=1706000580","width":2000},{"alt":null,"id":23201918386275,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22ab9f605e79b548818e2004b6b1510740ba86d1_d7278612-856b-4022-92e1-ff29d614302f.webp?v=1706000583"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22ab9f605e79b548818e2004b6b1510740ba86d1_d7278612-856b-4022-92e1-ff29d614302f.webp?v=1706000583","width":2000},{"alt":null,"id":23201919008867,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4b88d2d90a9b24dd645156127c99690b1948548_2731d16c-3163-4ed8-b49f-4d376bdf633b.webp?v=1706000585"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4b88d2d90a9b24dd645156127c99690b1948548_2731d16c-3163-4ed8-b49f-4d376bdf633b.webp?v=1706000585","width":2000},{"alt":null,"id":23208522252387,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22ab9f605e79b548818e2004b6b1510740ba86d1_97b055ab-8bde-4f20-a2ee-899e241ebd98.webp?v=1706066388"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22ab9f605e79b548818e2004b6b1510740ba86d1_97b055ab-8bde-4f20-a2ee-899e241ebd98.webp?v=1706066388","width":2000},{"alt":null,"id":23208522842211,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e81146331445447ddf40ab15568f84851f5c66ef_5fc46940-17c1-438f-ab25-650a5cc90a88.webp?v=1706066390"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e81146331445447ddf40ab15568f84851f5c66ef_5fc46940-17c1-438f-ab25-650a5cc90a88.webp?v=1706066390","width":2000},{"alt":null,"id":23208523366499,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad51cfd4f27b6c8acf5779fe3705163a11761706_8f8cb170-62bd-4e78-aad7-f2aebc714116.webp?v=1706066393"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad51cfd4f27b6c8acf5779fe3705163a11761706_8f8cb170-62bd-4e78-aad7-f2aebc714116.webp?v=1706066393","width":2000},{"alt":null,"id":23208524251235,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3247b39f0c2a00590ef7aac9511aab122ce11127_c7f6da69-e048-468f-b278-2bf5db1d3002.webp?v=1706066395"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3247b39f0c2a00590ef7aac9511aab122ce11127_c7f6da69-e048-468f-b278-2bf5db1d3002.webp?v=1706066395","width":2000},{"alt":null,"id":23208524939363,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4b88d2d90a9b24dd645156127c99690b1948548_63682d35-2ce3-462f-835b-0306e4c844c3.webp?v=1706066397"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4b88d2d90a9b24dd645156127c99690b1948548_63682d35-2ce3-462f-835b-0306e4c844c3.webp?v=1706066397","width":2000},{"alt":null,"id":23208525758563,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/273b7013833d6e581c30d115cf47537f1c388f19_c366496d-7744-47bc-800f-2a0868e8d413.webp?v=1706066400"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/273b7013833d6e581c30d115cf47537f1c388f19_c366496d-7744-47bc-800f-2a0868e8d413.webp?v=1706066400","width":2000},{"alt":null,"id":23208526381155,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9db8f4e77f8d603cbe6eb38c801fe5e4938f0f9a_e98ea06d-1fe6-46c2-9d77-ecae57a970d2.webp?v=1706066402"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9db8f4e77f8d603cbe6eb38c801fe5e4938f0f9a_e98ea06d-1fe6-46c2-9d77-ecae57a970d2.webp?v=1706066402","width":2000},{"alt":null,"id":27649629093987,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce6592f158c5f01c8503d191aad216cf7c49a510.webp?v=1782887610"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce6592f158c5f01c8503d191aad216cf7c49a510.webp?v=1782887610","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41197091553379,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0106452-IV06","requires_shipping":true,"taxable":true,"featured_image":{"id":36144741843043,"product_id":7155878985827,"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\/ce6592f158c5f01c8503d191aad216cf7c49a510.webp?v=1782887610","variant_ids":[41197091553379]},"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-IV06","featured_media":{"alt":null,"id":27649629093987,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce6592f158c5f01c8503d191aad216cf7c49a510.webp?v=1782887610"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197091749987,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"SST01064P2-IV06","requires_shipping":true,"taxable":true,"featured_image":{"id":30837591343203,"product_id":7155878985827,"position":8,"created_at":"2024-01-24T11:19:55+08:00","updated_at":"2024-01-24T11:19:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3247b39f0c2a00590ef7aac9511aab122ce11127_c7f6da69-e048-468f-b278-2bf5db1d3002.webp?v=1706066395","variant_ids":[41197091749987]},"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":23208524251235,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3247b39f0c2a00590ef7aac9511aab122ce11127_c7f6da69-e048-468f-b278-2bf5db1d3002.webp?v=1706066395"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41197091553379,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0106452-IV06","requires_shipping":true,"taxable":true,"featured_image":{"id":36144741843043,"product_id":7155878985827,"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\/ce6592f158c5f01c8503d191aad216cf7c49a510.webp?v=1782887610","variant_ids":[41197091553379]},"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-IV06","featured_media":{"alt":null,"id":27649629093987,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce6592f158c5f01c8503d191aad216cf7c49a510.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: "停產" }