$product = {"id":7573547122787,"title":"iPhone 14 Clear 排球少年!! 吉祥物系列 - 烏野高中(烏鴉)","handle":"iphone-14-jellytint-hik09","description":null,"published_at":"2024-07-24T12:28:58+08:00","created_at":"2024-07-17T17:45:27+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師JellyTint專區-排球少年 Haikyu!!","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-haikyu","device-iPhone 14","merge","reseller-haikyu"],"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":42549393817699,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-HIK09","requires_shipping":true,"taxable":true,"featured_image":{"id":36041550626915,"product_id":7573547122787,"position":7,"created_at":"2026-06-22T17:09:24+08:00","updated_at":"2026-06-22T17:09:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e138326b240ac4b578ffc32a69bf0a6c35a11727_bfc75038-ff79-45a2-945a-557b61f49e09.webp?v=1782119366","variant_ids":[42549393817699]},"available":true,"name":"iPhone 14 Clear 排球少年!! 吉祥物系列 - 烏野高中(烏鴉) - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":1180,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600G-HIK09","featured_media":{"alt":null,"id":27558087491683,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e138326b240ac4b578ffc32a69bf0a6c35a11727_bfc75038-ff79-45a2-945a-557b61f49e09.webp?v=1782119366"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42555413463139,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012600I-HIK09","requires_shipping":true,"taxable":true,"featured_image":{"id":36041550233699,"product_id":7573547122787,"position":6,"created_at":"2026-06-22T17:09:24+08:00","updated_at":"2026-06-22T17:09:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccb54cf4953b476f7458daac7e78b0d00a5384bc_b130d007-1ce7-45db-b979-dd666f1cea68.webp?v=1782119366","variant_ids":[42555413463139]},"available":true,"name":"iPhone 14 Clear 排球少年!! 吉祥物系列 - 烏野高中(烏鴉) - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":1180,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600I-HIK09","featured_media":{"alt":null,"id":27558087098467,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccb54cf4953b476f7458daac7e78b0d00a5384bc_b130d007-1ce7-45db-b979-dd666f1cea68.webp?v=1782119366"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42555413495907,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-HIK09","requires_shipping":true,"taxable":true,"featured_image":{"id":36041550987363,"product_id":7573547122787,"position":8,"created_at":"2026-06-22T17:09:25+08:00","updated_at":"2026-06-22T17:09:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bce1199949c79953e8c54b2bdc7df9d9fb7ed229_a93dfd62-3c7e-4880-bc5e-c3c83cf13adf.webp?v=1782119367","variant_ids":[42555413495907]},"available":true,"name":"iPhone 14 Clear 排球少年!! 吉祥物系列 - 烏野高中(烏鴉) - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":1180,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600J-HIK09","featured_media":{"alt":null,"id":27558087852131,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bce1199949c79953e8c54b2bdc7df9d9fb7ed229_a93dfd62-3c7e-4880-bc5e-c3c83cf13adf.webp?v=1782119367"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19ef7688006a8fa683c9e5697c296b5c36fc33e5_841db2be-3018-4fdb-b535-c39db443718d.webp?v=1721978842","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91ebb094224eb59126b68d6fffde36e49da77a86_cb14ce8d-de5c-4d0d-bcca-503ef1c547df.webp?v=1776656147","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccb54cf4953b476f7458daac7e78b0d00a5384bc_88f8adc4-da53-47bb-b99e-7d9592dace9d.webp?v=1776656148","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bce1199949c79953e8c54b2bdc7df9d9fb7ed229_3ff386e6-4b7b-4978-938b-eb74c4347288.webp?v=1776656149","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e138326b240ac4b578ffc32a69bf0a6c35a11727_7159ad63-6897-45fa-a78a-0e71c9176fda.webp?v=1776656149","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccb54cf4953b476f7458daac7e78b0d00a5384bc_b130d007-1ce7-45db-b979-dd666f1cea68.webp?v=1782119366","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e138326b240ac4b578ffc32a69bf0a6c35a11727_bfc75038-ff79-45a2-945a-557b61f49e09.webp?v=1782119366","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bce1199949c79953e8c54b2bdc7df9d9fb7ed229_a93dfd62-3c7e-4880-bc5e-c3c83cf13adf.webp?v=1782119367"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19ef7688006a8fa683c9e5697c296b5c36fc33e5_841db2be-3018-4fdb-b535-c39db443718d.webp?v=1721978842","options":["color"],"media":[{"alt":null,"id":24458112729187,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19ef7688006a8fa683c9e5697c296b5c36fc33e5_841db2be-3018-4fdb-b535-c39db443718d.webp?v=1721978842"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19ef7688006a8fa683c9e5697c296b5c36fc33e5_841db2be-3018-4fdb-b535-c39db443718d.webp?v=1721978842","width":2000},{"alt":null,"id":27201743224931,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91ebb094224eb59126b68d6fffde36e49da77a86_cb14ce8d-de5c-4d0d-bcca-503ef1c547df.webp?v=1776656147"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91ebb094224eb59126b68d6fffde36e49da77a86_cb14ce8d-de5c-4d0d-bcca-503ef1c547df.webp?v=1776656147","width":2000},{"alt":null,"id":27201743978595,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccb54cf4953b476f7458daac7e78b0d00a5384bc_88f8adc4-da53-47bb-b99e-7d9592dace9d.webp?v=1776656148"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccb54cf4953b476f7458daac7e78b0d00a5384bc_88f8adc4-da53-47bb-b99e-7d9592dace9d.webp?v=1776656148","width":2000},{"alt":null,"id":27201744601187,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bce1199949c79953e8c54b2bdc7df9d9fb7ed229_3ff386e6-4b7b-4978-938b-eb74c4347288.webp?v=1776656149"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bce1199949c79953e8c54b2bdc7df9d9fb7ed229_3ff386e6-4b7b-4978-938b-eb74c4347288.webp?v=1776656149","width":2000},{"alt":null,"id":27201745223779,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e138326b240ac4b578ffc32a69bf0a6c35a11727_7159ad63-6897-45fa-a78a-0e71c9176fda.webp?v=1776656149"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e138326b240ac4b578ffc32a69bf0a6c35a11727_7159ad63-6897-45fa-a78a-0e71c9176fda.webp?v=1776656149","width":2000},{"alt":null,"id":27558087098467,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccb54cf4953b476f7458daac7e78b0d00a5384bc_b130d007-1ce7-45db-b979-dd666f1cea68.webp?v=1782119366"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccb54cf4953b476f7458daac7e78b0d00a5384bc_b130d007-1ce7-45db-b979-dd666f1cea68.webp?v=1782119366","width":2000},{"alt":null,"id":27558087491683,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e138326b240ac4b578ffc32a69bf0a6c35a11727_bfc75038-ff79-45a2-945a-557b61f49e09.webp?v=1782119366"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e138326b240ac4b578ffc32a69bf0a6c35a11727_bfc75038-ff79-45a2-945a-557b61f49e09.webp?v=1782119366","width":2000},{"alt":null,"id":27558087852131,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bce1199949c79953e8c54b2bdc7df9d9fb7ed229_a93dfd62-3c7e-4880-bc5e-c3c83cf13adf.webp?v=1782119367"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bce1199949c79953e8c54b2bdc7df9d9fb7ed229_a93dfd62-3c7e-4880-bc5e-c3c83cf13adf.webp?v=1782119367","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":42549393817699,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-HIK09","requires_shipping":true,"taxable":true,"featured_image":{"id":36041550626915,"product_id":7573547122787,"position":7,"created_at":"2026-06-22T17:09:24+08:00","updated_at":"2026-06-22T17:09:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e138326b240ac4b578ffc32a69bf0a6c35a11727_bfc75038-ff79-45a2-945a-557b61f49e09.webp?v=1782119366","variant_ids":[42549393817699]},"available":true,"name":"iPhone 14 Clear 排球少年!! 吉祥物系列 - 烏野高中(烏鴉) - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":1180,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600G-HIK09","featured_media":{"alt":null,"id":27558087491683,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e138326b240ac4b578ffc32a69bf0a6c35a11727_bfc75038-ff79-45a2-945a-557b61f49e09.webp?v=1782119366"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42555413463139,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012600I-HIK09","requires_shipping":true,"taxable":true,"featured_image":{"id":36041550233699,"product_id":7573547122787,"position":6,"created_at":"2026-06-22T17:09:24+08:00","updated_at":"2026-06-22T17:09:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccb54cf4953b476f7458daac7e78b0d00a5384bc_b130d007-1ce7-45db-b979-dd666f1cea68.webp?v=1782119366","variant_ids":[42555413463139]},"available":true,"name":"iPhone 14 Clear 排球少年!! 吉祥物系列 - 烏野高中(烏鴉) - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":1180,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600I-HIK09","featured_media":{"alt":null,"id":27558087098467,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccb54cf4953b476f7458daac7e78b0d00a5384bc_b130d007-1ce7-45db-b979-dd666f1cea68.webp?v=1782119366"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42555413495907,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-HIK09","requires_shipping":true,"taxable":true,"featured_image":{"id":36041550987363,"product_id":7573547122787,"position":8,"created_at":"2026-06-22T17:09:25+08:00","updated_at":"2026-06-22T17:09:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bce1199949c79953e8c54b2bdc7df9d9fb7ed229_a93dfd62-3c7e-4880-bc5e-c3c83cf13adf.webp?v=1782119367","variant_ids":[42555413495907]},"available":true,"name":"iPhone 14 Clear 排球少年!! 吉祥物系列 - 烏野高中(烏鴉) - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":1180,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600J-HIK09","featured_media":{"alt":null,"id":27558087852131,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bce1199949c79953e8c54b2bdc7df9d9fb7ed229_a93dfd62-3c7e-4880-bc5e-c3c83cf13adf.webp?v=1782119367"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":42549393817699,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-HIK09","requires_shipping":true,"taxable":true,"featured_image":{"id":36041550626915,"product_id":7573547122787,"position":7,"created_at":"2026-06-22T17:09:24+08:00","updated_at":"2026-06-22T17:09:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e138326b240ac4b578ffc32a69bf0a6c35a11727_bfc75038-ff79-45a2-945a-557b61f49e09.webp?v=1782119366","variant_ids":[42549393817699]},"available":true,"name":"iPhone 14 Clear 排球少年!! 吉祥物系列 - 烏野高中(烏鴉) - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":1180,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600G-HIK09","featured_media":{"alt":null,"id":27558087491683,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e138326b240ac4b578ffc32a69bf0a6c35a11727_bfc75038-ff79-45a2-945a-557b61f49e09.webp?v=1782119366"}},"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: "停產" }