$product = {"id":7942278643811,"title":"iPhone 14 Clear Seungyoun Kim 紅衣小狗 Pingurusky","handle":"iphone-14-jellytint-seu02","description":null,"published_at":"2025-12-23T09:31:27+08:00","created_at":"2025-12-22T17:49:03+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-seungyounkim","device-iPhone 14","merge","reseller-seungyounkim"],"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":43904493584483,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-SEU02","requires_shipping":true,"taxable":true,"featured_image":{"id":36335034400867,"product_id":7942278643811,"position":5,"created_at":"2026-07-21T19:44:19+08:00","updated_at":"2026-07-21T19:44:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04753a601a99d9edbe0f020c295e15e89294338a_342b1e4d-a7cd-4a8c-9119-f383bb85fb8f.webp?v=1784634261","variant_ids":[43904493584483]},"available":true,"name":"iPhone 14 Clear Seungyoun Kim 紅衣小狗 Pingurusky - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600J-SEU02","featured_media":{"alt":null,"id":27838912725091,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04753a601a99d9edbe0f020c295e15e89294338a_342b1e4d-a7cd-4a8c-9119-f383bb85fb8f.webp?v=1784634261"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904496074851,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012600I-SEU02","requires_shipping":true,"taxable":true,"featured_image":{"id":36335045836899,"product_id":7942278643811,"position":7,"created_at":"2026-07-21T19:44:20+08:00","updated_at":"2026-07-21T19:44:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f08bcaa7f585bddd080fd7604cfc2560ea31a08c_5284b1ec-2671-4583-96eb-785b2a2f0452.webp?v=1784634262","variant_ids":[43904496074851]},"available":true,"name":"iPhone 14 Clear Seungyoun Kim 紅衣小狗 Pingurusky - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600I-SEU02","featured_media":{"alt":null,"id":27838924554339,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f08bcaa7f585bddd080fd7604cfc2560ea31a08c_5284b1ec-2671-4583-96eb-785b2a2f0452.webp?v=1784634262"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904496533603,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-SEU02","requires_shipping":true,"taxable":true,"featured_image":{"id":36335038726243,"product_id":7942278643811,"position":6,"created_at":"2026-07-21T19:44:19+08:00","updated_at":"2026-07-21T19:44:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4e6fa707885c5f8da771836acf018d9cf59b1fe_d7104cc3-b73f-48f2-9ca9-ebc5403b4e53.webp?v=1784634262","variant_ids":[43904496533603]},"available":true,"name":"iPhone 14 Clear Seungyoun Kim 紅衣小狗 Pingurusky - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600G-SEU02","featured_media":{"alt":null,"id":27838917476451,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4e6fa707885c5f8da771836acf018d9cf59b1fe_d7104cc3-b73f-48f2-9ca9-ebc5403b4e53.webp?v=1784634262"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04753a601a99d9edbe0f020c295e15e89294338a_bb58ba13-fe89-4824-8dbc-3524581bda9e.webp?v=1766396959","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a1453f3ed88c088676449d606592bd13a5bcbbd_3558c690-4faf-4c16-9b08-6ff5baabcc83.webp?v=1766396959","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f08bcaa7f585bddd080fd7604cfc2560ea31a08c_5cad525f-3fa1-469a-893d-4a44c57e0409.webp?v=1766396960","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4e6fa707885c5f8da771836acf018d9cf59b1fe_87a389c5-f17b-4356-a155-b06d9855797a.webp?v=1766396960","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04753a601a99d9edbe0f020c295e15e89294338a_342b1e4d-a7cd-4a8c-9119-f383bb85fb8f.webp?v=1784634261","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4e6fa707885c5f8da771836acf018d9cf59b1fe_d7104cc3-b73f-48f2-9ca9-ebc5403b4e53.webp?v=1784634262","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f08bcaa7f585bddd080fd7604cfc2560ea31a08c_5284b1ec-2671-4583-96eb-785b2a2f0452.webp?v=1784634262"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04753a601a99d9edbe0f020c295e15e89294338a_bb58ba13-fe89-4824-8dbc-3524581bda9e.webp?v=1766396959","options":["color"],"media":[{"alt":null,"id":26548773683299,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04753a601a99d9edbe0f020c295e15e89294338a_bb58ba13-fe89-4824-8dbc-3524581bda9e.webp?v=1766396959"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04753a601a99d9edbe0f020c295e15e89294338a_bb58ba13-fe89-4824-8dbc-3524581bda9e.webp?v=1766396959","width":2000},{"alt":null,"id":26548774404195,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a1453f3ed88c088676449d606592bd13a5bcbbd_3558c690-4faf-4c16-9b08-6ff5baabcc83.webp?v=1766396959"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a1453f3ed88c088676449d606592bd13a5bcbbd_3558c690-4faf-4c16-9b08-6ff5baabcc83.webp?v=1766396959","width":2000},{"alt":null,"id":26548774731875,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f08bcaa7f585bddd080fd7604cfc2560ea31a08c_5cad525f-3fa1-469a-893d-4a44c57e0409.webp?v=1766396960"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f08bcaa7f585bddd080fd7604cfc2560ea31a08c_5cad525f-3fa1-469a-893d-4a44c57e0409.webp?v=1766396960","width":2000},{"alt":null,"id":26548775288931,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4e6fa707885c5f8da771836acf018d9cf59b1fe_87a389c5-f17b-4356-a155-b06d9855797a.webp?v=1766396960"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4e6fa707885c5f8da771836acf018d9cf59b1fe_87a389c5-f17b-4356-a155-b06d9855797a.webp?v=1766396960","width":2000},{"alt":null,"id":27838912725091,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04753a601a99d9edbe0f020c295e15e89294338a_342b1e4d-a7cd-4a8c-9119-f383bb85fb8f.webp?v=1784634261"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04753a601a99d9edbe0f020c295e15e89294338a_342b1e4d-a7cd-4a8c-9119-f383bb85fb8f.webp?v=1784634261","width":2000},{"alt":null,"id":27838917476451,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4e6fa707885c5f8da771836acf018d9cf59b1fe_d7104cc3-b73f-48f2-9ca9-ebc5403b4e53.webp?v=1784634262"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4e6fa707885c5f8da771836acf018d9cf59b1fe_d7104cc3-b73f-48f2-9ca9-ebc5403b4e53.webp?v=1784634262","width":2000},{"alt":null,"id":27838924554339,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f08bcaa7f585bddd080fd7604cfc2560ea31a08c_5284b1ec-2671-4583-96eb-785b2a2f0452.webp?v=1784634262"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f08bcaa7f585bddd080fd7604cfc2560ea31a08c_5284b1ec-2671-4583-96eb-785b2a2f0452.webp?v=1784634262","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43904493584483,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-SEU02","requires_shipping":true,"taxable":true,"featured_image":{"id":36335034400867,"product_id":7942278643811,"position":5,"created_at":"2026-07-21T19:44:19+08:00","updated_at":"2026-07-21T19:44:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04753a601a99d9edbe0f020c295e15e89294338a_342b1e4d-a7cd-4a8c-9119-f383bb85fb8f.webp?v=1784634261","variant_ids":[43904493584483]},"available":true,"name":"iPhone 14 Clear Seungyoun Kim 紅衣小狗 Pingurusky - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600J-SEU02","featured_media":{"alt":null,"id":27838912725091,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04753a601a99d9edbe0f020c295e15e89294338a_342b1e4d-a7cd-4a8c-9119-f383bb85fb8f.webp?v=1784634261"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904496074851,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012600I-SEU02","requires_shipping":true,"taxable":true,"featured_image":{"id":36335045836899,"product_id":7942278643811,"position":7,"created_at":"2026-07-21T19:44:20+08:00","updated_at":"2026-07-21T19:44:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f08bcaa7f585bddd080fd7604cfc2560ea31a08c_5284b1ec-2671-4583-96eb-785b2a2f0452.webp?v=1784634262","variant_ids":[43904496074851]},"available":true,"name":"iPhone 14 Clear Seungyoun Kim 紅衣小狗 Pingurusky - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600I-SEU02","featured_media":{"alt":null,"id":27838924554339,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f08bcaa7f585bddd080fd7604cfc2560ea31a08c_5284b1ec-2671-4583-96eb-785b2a2f0452.webp?v=1784634262"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904496533603,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-SEU02","requires_shipping":true,"taxable":true,"featured_image":{"id":36335038726243,"product_id":7942278643811,"position":6,"created_at":"2026-07-21T19:44:19+08:00","updated_at":"2026-07-21T19:44:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4e6fa707885c5f8da771836acf018d9cf59b1fe_d7104cc3-b73f-48f2-9ca9-ebc5403b4e53.webp?v=1784634262","variant_ids":[43904496533603]},"available":true,"name":"iPhone 14 Clear Seungyoun Kim 紅衣小狗 Pingurusky - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600G-SEU02","featured_media":{"alt":null,"id":27838917476451,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4e6fa707885c5f8da771836acf018d9cf59b1fe_d7104cc3-b73f-48f2-9ca9-ebc5403b4e53.webp?v=1784634262"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43904493584483,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-SEU02","requires_shipping":true,"taxable":true,"featured_image":{"id":36335034400867,"product_id":7942278643811,"position":5,"created_at":"2026-07-21T19:44:19+08:00","updated_at":"2026-07-21T19:44:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04753a601a99d9edbe0f020c295e15e89294338a_342b1e4d-a7cd-4a8c-9119-f383bb85fb8f.webp?v=1784634261","variant_ids":[43904493584483]},"available":true,"name":"iPhone 14 Clear Seungyoun Kim 紅衣小狗 Pingurusky - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600J-SEU02","featured_media":{"alt":null,"id":27838912725091,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04753a601a99d9edbe0f020c295e15e89294338a_342b1e4d-a7cd-4a8c-9119-f383bb85fb8f.webp?v=1784634261"}},"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: "停產" }