$product = {"id":7155866533987,"title":"iPhone 15 Pro Clear 1G 抱一個","handle":"iphone-15-pro-jellytint-iv03","description":null,"published_at":"2024-02-02T09:59:13+08:00","created_at":"2024-01-23T16:57:40+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師JellyTint專區-1G","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-1chun","device-iPhone 15 Pro","merge","reseller-1chun"],"price":128000,"price_min":128000,"price_max":128000,"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":41197009567843,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012970G-IV03","requires_shipping":true,"taxable":true,"featured_image":{"id":36322972762211,"product_id":7155866533987,"position":10,"created_at":"2026-07-20T18:28:30+08:00","updated_at":"2026-07-20T18:28:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dae16e4ed89fa65a08364636fc425351cb50d39_653ac43e-8430-4270-b01e-b547236337da.webp?v=1784543312","variant_ids":[41197009567843]},"available":true,"name":"iPhone 15 Pro Clear 1G 抱一個 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012970G-IV03","featured_media":{"alt":null,"id":27826880512099,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dae16e4ed89fa65a08364636fc425351cb50d39_653ac43e-8430-4270-b01e-b547236337da.webp?v=1784543312"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197009600611,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012970H-IV03","requires_shipping":true,"taxable":true,"featured_image":{"id":36322973548643,"product_id":7155866533987,"position":11,"created_at":"2026-07-20T18:28:33+08:00","updated_at":"2026-07-20T18:28:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8f7a2c8e629dd5b00c26439ab59bcf833653476_2c51dab9-4c80-4802-8856-d3524251b31d.webp?v=1784543315","variant_ids":[41197009600611]},"available":true,"name":"iPhone 15 Pro Clear 1G 抱一個 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012970H-IV03","featured_media":{"alt":null,"id":27826881331299,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8f7a2c8e629dd5b00c26439ab59bcf833653476_2c51dab9-4c80-4802-8856-d3524251b31d.webp?v=1784543315"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197009633379,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012970I-IV03","requires_shipping":true,"taxable":true,"featured_image":{"id":36322971582563,"product_id":7155866533987,"position":9,"created_at":"2026-07-20T18:28:27+08:00","updated_at":"2026-07-20T18:28:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94db4cea231882fd2de9d08078702f85f3157a99_531fc62b-1ed6-4808-aa4d-be5ab35b64cd.webp?v=1784543309","variant_ids":[41197009633379]},"available":true,"name":"iPhone 15 Pro Clear 1G 抱一個 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012970I-IV03","featured_media":{"alt":null,"id":27826879365219,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94db4cea231882fd2de9d08078702f85f3157a99_531fc62b-1ed6-4808-aa4d-be5ab35b64cd.webp?v=1784543309"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/060b79506c2fa1a08b7e18127dc6511ac40bc9f5_3d08dbc0-84a2-4613-bce7-0115917c3b2d.webp?v=1706000270","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15b98e2a886a7d2dcf6e135f440245dd124272a4_d37635f9-6862-4d33-ba72-94d818ddf945.webp?v=1706000272","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/900f3bb5a188dcc329d565dffd7d2c9f932fe747_7f9624bf-15aa-4c70-9305-58521acd87d7.webp?v=1706000274","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bacf3ed67b9a2917a6f92f5cfded6f6f7dc1925c_4f7fe393-45bb-4b2d-abb0-4e03459117ce.webp?v=1706000279","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f31eca178c7a95f41d05a3d143cffa88538106f1_f166a4a3-8a75-4cad-91af-e361c7ccdd5b.webp?v=1706254893","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8f7a2c8e629dd5b00c26439ab59bcf833653476.webp?v=1782882968","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94db4cea231882fd2de9d08078702f85f3157a99.webp?v=1782882969","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dae16e4ed89fa65a08364636fc425351cb50d39.webp?v=1782882970","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94db4cea231882fd2de9d08078702f85f3157a99_531fc62b-1ed6-4808-aa4d-be5ab35b64cd.webp?v=1784543309","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dae16e4ed89fa65a08364636fc425351cb50d39_653ac43e-8430-4270-b01e-b547236337da.webp?v=1784543312","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8f7a2c8e629dd5b00c26439ab59bcf833653476_2c51dab9-4c80-4802-8856-d3524251b31d.webp?v=1784543315"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/060b79506c2fa1a08b7e18127dc6511ac40bc9f5_3d08dbc0-84a2-4613-bce7-0115917c3b2d.webp?v=1706000270","options":["color"],"media":[{"alt":null,"id":23201833091171,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/060b79506c2fa1a08b7e18127dc6511ac40bc9f5_3d08dbc0-84a2-4613-bce7-0115917c3b2d.webp?v=1706000270"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/060b79506c2fa1a08b7e18127dc6511ac40bc9f5_3d08dbc0-84a2-4613-bce7-0115917c3b2d.webp?v=1706000270","width":2000},{"alt":null,"id":23201833746531,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15b98e2a886a7d2dcf6e135f440245dd124272a4_d37635f9-6862-4d33-ba72-94d818ddf945.webp?v=1706000272"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15b98e2a886a7d2dcf6e135f440245dd124272a4_d37635f9-6862-4d33-ba72-94d818ddf945.webp?v=1706000272","width":2000},{"alt":null,"id":23201834303587,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/900f3bb5a188dcc329d565dffd7d2c9f932fe747_7f9624bf-15aa-4c70-9305-58521acd87d7.webp?v=1706000274"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/900f3bb5a188dcc329d565dffd7d2c9f932fe747_7f9624bf-15aa-4c70-9305-58521acd87d7.webp?v=1706000274","width":2000},{"alt":null,"id":23201835483235,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bacf3ed67b9a2917a6f92f5cfded6f6f7dc1925c_4f7fe393-45bb-4b2d-abb0-4e03459117ce.webp?v=1706000279"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bacf3ed67b9a2917a6f92f5cfded6f6f7dc1925c_4f7fe393-45bb-4b2d-abb0-4e03459117ce.webp?v=1706000279","width":2000},{"alt":null,"id":23217746378851,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f31eca178c7a95f41d05a3d143cffa88538106f1_f166a4a3-8a75-4cad-91af-e361c7ccdd5b.webp?v=1706254893"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f31eca178c7a95f41d05a3d143cffa88538106f1_f166a4a3-8a75-4cad-91af-e361c7ccdd5b.webp?v=1706254893","width":2000},{"alt":null,"id":27647719604323,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8f7a2c8e629dd5b00c26439ab59bcf833653476.webp?v=1782882968"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8f7a2c8e629dd5b00c26439ab59bcf833653476.webp?v=1782882968","width":2000},{"alt":null,"id":27647720521827,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94db4cea231882fd2de9d08078702f85f3157a99.webp?v=1782882969"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94db4cea231882fd2de9d08078702f85f3157a99.webp?v=1782882969","width":2000},{"alt":null,"id":27647721242723,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dae16e4ed89fa65a08364636fc425351cb50d39.webp?v=1782882970"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dae16e4ed89fa65a08364636fc425351cb50d39.webp?v=1782882970","width":2000},{"alt":null,"id":27826879365219,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94db4cea231882fd2de9d08078702f85f3157a99_531fc62b-1ed6-4808-aa4d-be5ab35b64cd.webp?v=1784543309"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94db4cea231882fd2de9d08078702f85f3157a99_531fc62b-1ed6-4808-aa4d-be5ab35b64cd.webp?v=1784543309","width":2000},{"alt":null,"id":27826880512099,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dae16e4ed89fa65a08364636fc425351cb50d39_653ac43e-8430-4270-b01e-b547236337da.webp?v=1784543312"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dae16e4ed89fa65a08364636fc425351cb50d39_653ac43e-8430-4270-b01e-b547236337da.webp?v=1784543312","width":2000},{"alt":null,"id":27826881331299,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8f7a2c8e629dd5b00c26439ab59bcf833653476_2c51dab9-4c80-4802-8856-d3524251b31d.webp?v=1784543315"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8f7a2c8e629dd5b00c26439ab59bcf833653476_2c51dab9-4c80-4802-8856-d3524251b31d.webp?v=1784543315","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41197009567843,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012970G-IV03","requires_shipping":true,"taxable":true,"featured_image":{"id":36322972762211,"product_id":7155866533987,"position":10,"created_at":"2026-07-20T18:28:30+08:00","updated_at":"2026-07-20T18:28:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dae16e4ed89fa65a08364636fc425351cb50d39_653ac43e-8430-4270-b01e-b547236337da.webp?v=1784543312","variant_ids":[41197009567843]},"available":true,"name":"iPhone 15 Pro Clear 1G 抱一個 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012970G-IV03","featured_media":{"alt":null,"id":27826880512099,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dae16e4ed89fa65a08364636fc425351cb50d39_653ac43e-8430-4270-b01e-b547236337da.webp?v=1784543312"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197009600611,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012970H-IV03","requires_shipping":true,"taxable":true,"featured_image":{"id":36322973548643,"product_id":7155866533987,"position":11,"created_at":"2026-07-20T18:28:33+08:00","updated_at":"2026-07-20T18:28:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8f7a2c8e629dd5b00c26439ab59bcf833653476_2c51dab9-4c80-4802-8856-d3524251b31d.webp?v=1784543315","variant_ids":[41197009600611]},"available":true,"name":"iPhone 15 Pro Clear 1G 抱一個 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012970H-IV03","featured_media":{"alt":null,"id":27826881331299,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8f7a2c8e629dd5b00c26439ab59bcf833653476_2c51dab9-4c80-4802-8856-d3524251b31d.webp?v=1784543315"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197009633379,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012970I-IV03","requires_shipping":true,"taxable":true,"featured_image":{"id":36322971582563,"product_id":7155866533987,"position":9,"created_at":"2026-07-20T18:28:27+08:00","updated_at":"2026-07-20T18:28:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94db4cea231882fd2de9d08078702f85f3157a99_531fc62b-1ed6-4808-aa4d-be5ab35b64cd.webp?v=1784543309","variant_ids":[41197009633379]},"available":true,"name":"iPhone 15 Pro Clear 1G 抱一個 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012970I-IV03","featured_media":{"alt":null,"id":27826879365219,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94db4cea231882fd2de9d08078702f85f3157a99_531fc62b-1ed6-4808-aa4d-be5ab35b64cd.webp?v=1784543309"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41197009567843,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012970G-IV03","requires_shipping":true,"taxable":true,"featured_image":{"id":36322972762211,"product_id":7155866533987,"position":10,"created_at":"2026-07-20T18:28:30+08:00","updated_at":"2026-07-20T18:28:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dae16e4ed89fa65a08364636fc425351cb50d39_653ac43e-8430-4270-b01e-b547236337da.webp?v=1784543312","variant_ids":[41197009567843]},"available":true,"name":"iPhone 15 Pro Clear 1G 抱一個 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012970G-IV03","featured_media":{"alt":null,"id":27826880512099,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dae16e4ed89fa65a08364636fc425351cb50d39_653ac43e-8430-4270-b01e-b547236337da.webp?v=1784543312"}},"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: "停產" }