$product = {"id":7158893674595,"title":"犀牛盾Clear 防摔背蓋手機殼 - iPhone 15 Pro - 【聯名設計款】 - Look - 大自然的傑作(大堡礁)","handle":"iphone-15-pro-jellytint-af11","description":null,"published_at":"2024-01-31T11:18:04+08:00","created_at":"2024-01-26T16:35:33+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師JellyTint專區-Look","tags":["20%","20240304-reseller-\u003ereplace_to-","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-look","device-iPhone 15 Pro","merge","reseller-jellytint-look","Top50","type-jellytint"],"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":41212177547363,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012970G-AF11","requires_shipping":true,"taxable":true,"featured_image":{"id":30847773212771,"product_id":7158893674595,"position":5,"created_at":"2024-01-26T16:35:50+08:00","updated_at":"2024-01-26T16:35:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eaf5307b32fa06e3728305679170b80c625cb2d9_514bb1a1-0167-46db-91d9-1cdc84f8add2.webp?v=1706258150","variant_ids":[41212177547363]},"available":true,"name":"犀牛盾Clear 防摔背蓋手機殼 - iPhone 15 Pro - 【聯名設計款】 - Look - 大自然的傑作(大堡礁) - 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-AF11","featured_media":{"alt":null,"id":23218853412963,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eaf5307b32fa06e3728305679170b80c625cb2d9_514bb1a1-0167-46db-91d9-1cdc84f8add2.webp?v=1706258150"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41212177580131,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012970H-AF11","requires_shipping":true,"taxable":true,"featured_image":{"id":30847774294115,"product_id":7158893674595,"position":7,"created_at":"2024-01-26T16:35:55+08:00","updated_at":"2024-01-26T16:35:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c91a6395e2810cfc20b368d4653d8629cc0d094b_07aa36a6-ae22-4427-9281-7ec7283cc6ab.webp?v=1706258156","variant_ids":[41212177580131]},"available":true,"name":"犀牛盾Clear 防摔背蓋手機殼 - iPhone 15 Pro - 【聯名設計款】 - Look - 大自然的傑作(大堡礁) - 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-AF11","featured_media":{"alt":null,"id":23218854494307,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c91a6395e2810cfc20b368d4653d8629cc0d094b_07aa36a6-ae22-4427-9281-7ec7283cc6ab.webp?v=1706258156"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41212177612899,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012970I-AF11","requires_shipping":true,"taxable":true,"featured_image":{"id":30847770034275,"product_id":7158893674595,"position":2,"created_at":"2024-01-26T16:35:39+08:00","updated_at":"2024-01-26T16:35:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af638f0c6fbaf8b9e13ddbf2722bb8dd84c43912_0cc69937-5b84-46a6-81e9-27a530909015.webp?v=1706258139","variant_ids":[41212177612899]},"available":true,"name":"犀牛盾Clear 防摔背蓋手機殼 - iPhone 15 Pro - 【聯名設計款】 - Look - 大自然的傑作(大堡礁) - 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-AF11","featured_media":{"alt":null,"id":23218850201699,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af638f0c6fbaf8b9e13ddbf2722bb8dd84c43912_0cc69937-5b84-46a6-81e9-27a530909015.webp?v=1706258139"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41212177645667,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012970J-AF11","requires_shipping":true,"taxable":true,"featured_image":{"id":30847773769827,"product_id":7158893674595,"position":6,"created_at":"2024-01-26T16:35:53+08:00","updated_at":"2024-01-26T16:35:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68c279fc27c2087be5522c860917ab28679fca59_0e478a28-7db3-4837-bfb0-6fd9b3d2db20.webp?v=1706258153","variant_ids":[41212177645667]},"available":true,"name":"犀牛盾Clear 防摔背蓋手機殼 - iPhone 15 Pro - 【聯名設計款】 - Look - 大自然的傑作(大堡礁) - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012970J-AF11","featured_media":{"alt":null,"id":23218853970019,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68c279fc27c2087be5522c860917ab28679fca59_0e478a28-7db3-4837-bfb0-6fd9b3d2db20.webp?v=1706258153"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c45dbd0b642dc47cbeb924636b2880695bd6a2f_abca8fc3-30d2-466a-992a-a1e1bf450e03.webp?v=1706258137","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af638f0c6fbaf8b9e13ddbf2722bb8dd84c43912_0cc69937-5b84-46a6-81e9-27a530909015.webp?v=1706258139","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1023a110cfa44728fdbf5e82b9b38b0f1cca4579_cb6abea9-d87b-4119-88a3-e39a5d784014.webp?v=1706258142","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ec680da3e8c2bf2616567c644744be61cf30655_e30b6a2f-48c3-4666-afc4-43ad501ae922.webp?v=1706258145","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eaf5307b32fa06e3728305679170b80c625cb2d9_514bb1a1-0167-46db-91d9-1cdc84f8add2.webp?v=1706258150","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68c279fc27c2087be5522c860917ab28679fca59_0e478a28-7db3-4837-bfb0-6fd9b3d2db20.webp?v=1706258153","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c91a6395e2810cfc20b368d4653d8629cc0d094b_07aa36a6-ae22-4427-9281-7ec7283cc6ab.webp?v=1706258156"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c45dbd0b642dc47cbeb924636b2880695bd6a2f_abca8fc3-30d2-466a-992a-a1e1bf450e03.webp?v=1706258137","options":["color"],"media":[{"alt":null,"id":23218849710179,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c45dbd0b642dc47cbeb924636b2880695bd6a2f_abca8fc3-30d2-466a-992a-a1e1bf450e03.webp?v=1706258137"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c45dbd0b642dc47cbeb924636b2880695bd6a2f_abca8fc3-30d2-466a-992a-a1e1bf450e03.webp?v=1706258137","width":2000},{"alt":null,"id":23218850201699,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af638f0c6fbaf8b9e13ddbf2722bb8dd84c43912_0cc69937-5b84-46a6-81e9-27a530909015.webp?v=1706258139"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af638f0c6fbaf8b9e13ddbf2722bb8dd84c43912_0cc69937-5b84-46a6-81e9-27a530909015.webp?v=1706258139","width":2000},{"alt":null,"id":23218850857059,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1023a110cfa44728fdbf5e82b9b38b0f1cca4579_cb6abea9-d87b-4119-88a3-e39a5d784014.webp?v=1706258142"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1023a110cfa44728fdbf5e82b9b38b0f1cca4579_cb6abea9-d87b-4119-88a3-e39a5d784014.webp?v=1706258142","width":2000},{"alt":null,"id":23218851414115,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ec680da3e8c2bf2616567c644744be61cf30655_e30b6a2f-48c3-4666-afc4-43ad501ae922.webp?v=1706258145"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ec680da3e8c2bf2616567c644744be61cf30655_e30b6a2f-48c3-4666-afc4-43ad501ae922.webp?v=1706258145","width":2000},{"alt":null,"id":23218853412963,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eaf5307b32fa06e3728305679170b80c625cb2d9_514bb1a1-0167-46db-91d9-1cdc84f8add2.webp?v=1706258150"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eaf5307b32fa06e3728305679170b80c625cb2d9_514bb1a1-0167-46db-91d9-1cdc84f8add2.webp?v=1706258150","width":2000},{"alt":null,"id":23218853970019,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68c279fc27c2087be5522c860917ab28679fca59_0e478a28-7db3-4837-bfb0-6fd9b3d2db20.webp?v=1706258153"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68c279fc27c2087be5522c860917ab28679fca59_0e478a28-7db3-4837-bfb0-6fd9b3d2db20.webp?v=1706258153","width":2000},{"alt":null,"id":23218854494307,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c91a6395e2810cfc20b368d4653d8629cc0d094b_07aa36a6-ae22-4427-9281-7ec7283cc6ab.webp?v=1706258156"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c91a6395e2810cfc20b368d4653d8629cc0d094b_07aa36a6-ae22-4427-9281-7ec7283cc6ab.webp?v=1706258156","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41212177547363,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012970G-AF11","requires_shipping":true,"taxable":true,"featured_image":{"id":30847773212771,"product_id":7158893674595,"position":5,"created_at":"2024-01-26T16:35:50+08:00","updated_at":"2024-01-26T16:35:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eaf5307b32fa06e3728305679170b80c625cb2d9_514bb1a1-0167-46db-91d9-1cdc84f8add2.webp?v=1706258150","variant_ids":[41212177547363]},"available":true,"name":"犀牛盾Clear 防摔背蓋手機殼 - iPhone 15 Pro - 【聯名設計款】 - Look - 大自然的傑作(大堡礁) - 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-AF11","featured_media":{"alt":null,"id":23218853412963,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eaf5307b32fa06e3728305679170b80c625cb2d9_514bb1a1-0167-46db-91d9-1cdc84f8add2.webp?v=1706258150"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41212177580131,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012970H-AF11","requires_shipping":true,"taxable":true,"featured_image":{"id":30847774294115,"product_id":7158893674595,"position":7,"created_at":"2024-01-26T16:35:55+08:00","updated_at":"2024-01-26T16:35:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c91a6395e2810cfc20b368d4653d8629cc0d094b_07aa36a6-ae22-4427-9281-7ec7283cc6ab.webp?v=1706258156","variant_ids":[41212177580131]},"available":true,"name":"犀牛盾Clear 防摔背蓋手機殼 - iPhone 15 Pro - 【聯名設計款】 - Look - 大自然的傑作(大堡礁) - 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-AF11","featured_media":{"alt":null,"id":23218854494307,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c91a6395e2810cfc20b368d4653d8629cc0d094b_07aa36a6-ae22-4427-9281-7ec7283cc6ab.webp?v=1706258156"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41212177612899,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012970I-AF11","requires_shipping":true,"taxable":true,"featured_image":{"id":30847770034275,"product_id":7158893674595,"position":2,"created_at":"2024-01-26T16:35:39+08:00","updated_at":"2024-01-26T16:35:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af638f0c6fbaf8b9e13ddbf2722bb8dd84c43912_0cc69937-5b84-46a6-81e9-27a530909015.webp?v=1706258139","variant_ids":[41212177612899]},"available":true,"name":"犀牛盾Clear 防摔背蓋手機殼 - iPhone 15 Pro - 【聯名設計款】 - Look - 大自然的傑作(大堡礁) - 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-AF11","featured_media":{"alt":null,"id":23218850201699,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af638f0c6fbaf8b9e13ddbf2722bb8dd84c43912_0cc69937-5b84-46a6-81e9-27a530909015.webp?v=1706258139"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41212177645667,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012970J-AF11","requires_shipping":true,"taxable":true,"featured_image":{"id":30847773769827,"product_id":7158893674595,"position":6,"created_at":"2024-01-26T16:35:53+08:00","updated_at":"2024-01-26T16:35:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68c279fc27c2087be5522c860917ab28679fca59_0e478a28-7db3-4837-bfb0-6fd9b3d2db20.webp?v=1706258153","variant_ids":[41212177645667]},"available":true,"name":"犀牛盾Clear 防摔背蓋手機殼 - iPhone 15 Pro - 【聯名設計款】 - Look - 大自然的傑作(大堡礁) - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":1080,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012970J-AF11","featured_media":{"alt":null,"id":23218853970019,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68c279fc27c2087be5522c860917ab28679fca59_0e478a28-7db3-4837-bfb0-6fd9b3d2db20.webp?v=1706258153"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41212177547363,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012970G-AF11","requires_shipping":true,"taxable":true,"featured_image":{"id":30847773212771,"product_id":7158893674595,"position":5,"created_at":"2024-01-26T16:35:50+08:00","updated_at":"2024-01-26T16:35:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eaf5307b32fa06e3728305679170b80c625cb2d9_514bb1a1-0167-46db-91d9-1cdc84f8add2.webp?v=1706258150","variant_ids":[41212177547363]},"available":true,"name":"犀牛盾Clear 防摔背蓋手機殼 - iPhone 15 Pro - 【聯名設計款】 - Look - 大自然的傑作(大堡礁) - 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-AF11","featured_media":{"alt":null,"id":23218853412963,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eaf5307b32fa06e3728305679170b80c625cb2d9_514bb1a1-0167-46db-91d9-1cdc84f8add2.webp?v=1706258150"}},"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: "停產" }