$product = {"id":7873220739171,"title":"iPhone 15 Clear Keigo Rest","handle":"iphone-15-jellytint-kei10","description":null,"published_at":"2025-09-01T11:14:07+08:00","created_at":"2025-09-01T09:27:22+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-keigo","device-iPhone 15","merge","reseller-keigo"],"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":43658365272163,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012950G-KEI10","requires_shipping":true,"taxable":true,"featured_image":{"id":36319397347427,"product_id":7873220739171,"position":9,"created_at":"2026-07-20T12:59:15+08:00","updated_at":"2026-07-20T12:59:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12d2fc87eaf216c6bfe99dd553882d58eb56a05d_ee2e1a61-6d68-43af-8355-1c52bb69aa64.webp?v=1784523557","variant_ids":[43658365272163]},"available":true,"name":"iPhone 15 Clear Keigo Rest - 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":"CCN012950G-KEI10","featured_media":{"alt":null,"id":27823349661795,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12d2fc87eaf216c6bfe99dd553882d58eb56a05d_ee2e1a61-6d68-43af-8355-1c52bb69aa64.webp?v=1784523557"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658367598691,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012950I-KEI10","requires_shipping":true,"taxable":true,"featured_image":{"id":36319397511267,"product_id":7873220739171,"position":10,"created_at":"2026-07-20T12:59:15+08:00","updated_at":"2026-07-20T12:59:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a420b9fcc062e3aceafc4724bf0c3665952cd3b5_0a6a5cde-8c73-486f-ad30-569d6c8ddcbe.webp?v=1784523557","variant_ids":[43658367598691]},"available":true,"name":"iPhone 15 Clear Keigo Rest - 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":"CCN012950I-KEI10","featured_media":{"alt":null,"id":27823349792867,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a420b9fcc062e3aceafc4724bf0c3665952cd3b5_0a6a5cde-8c73-486f-ad30-569d6c8ddcbe.webp?v=1784523557"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658367631459,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012950H-KEI10","requires_shipping":true,"taxable":true,"featured_image":{"id":36319397675107,"product_id":7873220739171,"position":11,"created_at":"2026-07-20T12:59:16+08:00","updated_at":"2026-07-20T12:59:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0f8f33c426372cff81ec53ea8d2459bbec5b8cd_dece06f4-4db7-4d22-a791-e4860485695f.webp?v=1784523558","variant_ids":[43658367631459]},"available":true,"name":"iPhone 15 Clear Keigo Rest - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012950H-KEI10","featured_media":{"alt":null,"id":27823349989475,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0f8f33c426372cff81ec53ea8d2459bbec5b8cd_dece06f4-4db7-4d22-a791-e4860485695f.webp?v=1784523558"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658367664227,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012950J-KEI10","requires_shipping":true,"taxable":true,"featured_image":{"id":36319398002787,"product_id":7873220739171,"position":12,"created_at":"2026-07-20T12:59:17+08:00","updated_at":"2026-07-20T12:59:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba75f8116c60f5851f5d2d7482382f81c68b93c4_f6c67287-b293-4fe4-8122-7efcc394fb13.webp?v=1784523559","variant_ids":[43658367664227]},"available":true,"name":"iPhone 15 Clear Keigo Rest - 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":"CCN012950J-KEI10","featured_media":{"alt":null,"id":27823350317155,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba75f8116c60f5851f5d2d7482382f81c68b93c4_f6c67287-b293-4fe4-8122-7efcc394fb13.webp?v=1784523559"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12d2fc87eaf216c6bfe99dd553882d58eb56a05d.webp?v=1756690048","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba75f8116c60f5851f5d2d7482382f81c68b93c4.webp?v=1756690049","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a420b9fcc062e3aceafc4724bf0c3665952cd3b5.webp?v=1756690050","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0f8f33c426372cff81ec53ea8d2459bbec5b8cd.webp?v=1756690051","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0f8f33c426372cff81ec53ea8d2459bbec5b8cd_79c208f8-20b3-4cfc-afa2-9cf405b848a6.webp?v=1784107195","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba75f8116c60f5851f5d2d7482382f81c68b93c4_45b00f71-881a-44d4-805f-06bff794e055.webp?v=1784107196","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a420b9fcc062e3aceafc4724bf0c3665952cd3b5_2b746a65-ea1b-49ed-a4a4-9f6658c954cd.webp?v=1784107197","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12d2fc87eaf216c6bfe99dd553882d58eb56a05d_da2c0126-75a9-41af-84f3-70c319cadb3b.webp?v=1784107197","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12d2fc87eaf216c6bfe99dd553882d58eb56a05d_ee2e1a61-6d68-43af-8355-1c52bb69aa64.webp?v=1784523557","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a420b9fcc062e3aceafc4724bf0c3665952cd3b5_0a6a5cde-8c73-486f-ad30-569d6c8ddcbe.webp?v=1784523557","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0f8f33c426372cff81ec53ea8d2459bbec5b8cd_dece06f4-4db7-4d22-a791-e4860485695f.webp?v=1784523558","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba75f8116c60f5851f5d2d7482382f81c68b93c4_f6c67287-b293-4fe4-8122-7efcc394fb13.webp?v=1784523559"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12d2fc87eaf216c6bfe99dd553882d58eb56a05d.webp?v=1756690048","options":["color"],"media":[{"alt":null,"id":25982038278243,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12d2fc87eaf216c6bfe99dd553882d58eb56a05d.webp?v=1756690048"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12d2fc87eaf216c6bfe99dd553882d58eb56a05d.webp?v=1756690048","width":2000},{"alt":null,"id":25982038507619,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba75f8116c60f5851f5d2d7482382f81c68b93c4.webp?v=1756690049"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba75f8116c60f5851f5d2d7482382f81c68b93c4.webp?v=1756690049","width":2000},{"alt":null,"id":25982038835299,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a420b9fcc062e3aceafc4724bf0c3665952cd3b5.webp?v=1756690050"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a420b9fcc062e3aceafc4724bf0c3665952cd3b5.webp?v=1756690050","width":2000},{"alt":null,"id":25982039064675,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0f8f33c426372cff81ec53ea8d2459bbec5b8cd.webp?v=1756690051"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0f8f33c426372cff81ec53ea8d2459bbec5b8cd.webp?v=1756690051","width":2000},{"alt":null,"id":27777144946787,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0f8f33c426372cff81ec53ea8d2459bbec5b8cd_79c208f8-20b3-4cfc-afa2-9cf405b848a6.webp?v=1784107195"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0f8f33c426372cff81ec53ea8d2459bbec5b8cd_79c208f8-20b3-4cfc-afa2-9cf405b848a6.webp?v=1784107195","width":2000},{"alt":null,"id":27777145241699,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba75f8116c60f5851f5d2d7482382f81c68b93c4_45b00f71-881a-44d4-805f-06bff794e055.webp?v=1784107196"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba75f8116c60f5851f5d2d7482382f81c68b93c4_45b00f71-881a-44d4-805f-06bff794e055.webp?v=1784107196","width":2000},{"alt":null,"id":27777145602147,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a420b9fcc062e3aceafc4724bf0c3665952cd3b5_2b746a65-ea1b-49ed-a4a4-9f6658c954cd.webp?v=1784107197"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a420b9fcc062e3aceafc4724bf0c3665952cd3b5_2b746a65-ea1b-49ed-a4a4-9f6658c954cd.webp?v=1784107197","width":2000},{"alt":null,"id":27777145929827,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12d2fc87eaf216c6bfe99dd553882d58eb56a05d_da2c0126-75a9-41af-84f3-70c319cadb3b.webp?v=1784107197"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12d2fc87eaf216c6bfe99dd553882d58eb56a05d_da2c0126-75a9-41af-84f3-70c319cadb3b.webp?v=1784107197","width":2000},{"alt":null,"id":27823349661795,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12d2fc87eaf216c6bfe99dd553882d58eb56a05d_ee2e1a61-6d68-43af-8355-1c52bb69aa64.webp?v=1784523557"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12d2fc87eaf216c6bfe99dd553882d58eb56a05d_ee2e1a61-6d68-43af-8355-1c52bb69aa64.webp?v=1784523557","width":2000},{"alt":null,"id":27823349792867,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a420b9fcc062e3aceafc4724bf0c3665952cd3b5_0a6a5cde-8c73-486f-ad30-569d6c8ddcbe.webp?v=1784523557"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a420b9fcc062e3aceafc4724bf0c3665952cd3b5_0a6a5cde-8c73-486f-ad30-569d6c8ddcbe.webp?v=1784523557","width":2000},{"alt":null,"id":27823349989475,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0f8f33c426372cff81ec53ea8d2459bbec5b8cd_dece06f4-4db7-4d22-a791-e4860485695f.webp?v=1784523558"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0f8f33c426372cff81ec53ea8d2459bbec5b8cd_dece06f4-4db7-4d22-a791-e4860485695f.webp?v=1784523558","width":2000},{"alt":null,"id":27823350317155,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba75f8116c60f5851f5d2d7482382f81c68b93c4_f6c67287-b293-4fe4-8122-7efcc394fb13.webp?v=1784523559"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba75f8116c60f5851f5d2d7482382f81c68b93c4_f6c67287-b293-4fe4-8122-7efcc394fb13.webp?v=1784523559","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43658365272163,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012950G-KEI10","requires_shipping":true,"taxable":true,"featured_image":{"id":36319397347427,"product_id":7873220739171,"position":9,"created_at":"2026-07-20T12:59:15+08:00","updated_at":"2026-07-20T12:59:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12d2fc87eaf216c6bfe99dd553882d58eb56a05d_ee2e1a61-6d68-43af-8355-1c52bb69aa64.webp?v=1784523557","variant_ids":[43658365272163]},"available":true,"name":"iPhone 15 Clear Keigo Rest - 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":"CCN012950G-KEI10","featured_media":{"alt":null,"id":27823349661795,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12d2fc87eaf216c6bfe99dd553882d58eb56a05d_ee2e1a61-6d68-43af-8355-1c52bb69aa64.webp?v=1784523557"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658367598691,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012950I-KEI10","requires_shipping":true,"taxable":true,"featured_image":{"id":36319397511267,"product_id":7873220739171,"position":10,"created_at":"2026-07-20T12:59:15+08:00","updated_at":"2026-07-20T12:59:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a420b9fcc062e3aceafc4724bf0c3665952cd3b5_0a6a5cde-8c73-486f-ad30-569d6c8ddcbe.webp?v=1784523557","variant_ids":[43658367598691]},"available":true,"name":"iPhone 15 Clear Keigo Rest - 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":"CCN012950I-KEI10","featured_media":{"alt":null,"id":27823349792867,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a420b9fcc062e3aceafc4724bf0c3665952cd3b5_0a6a5cde-8c73-486f-ad30-569d6c8ddcbe.webp?v=1784523557"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658367631459,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012950H-KEI10","requires_shipping":true,"taxable":true,"featured_image":{"id":36319397675107,"product_id":7873220739171,"position":11,"created_at":"2026-07-20T12:59:16+08:00","updated_at":"2026-07-20T12:59:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0f8f33c426372cff81ec53ea8d2459bbec5b8cd_dece06f4-4db7-4d22-a791-e4860485695f.webp?v=1784523558","variant_ids":[43658367631459]},"available":true,"name":"iPhone 15 Clear Keigo Rest - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012950H-KEI10","featured_media":{"alt":null,"id":27823349989475,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0f8f33c426372cff81ec53ea8d2459bbec5b8cd_dece06f4-4db7-4d22-a791-e4860485695f.webp?v=1784523558"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658367664227,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012950J-KEI10","requires_shipping":true,"taxable":true,"featured_image":{"id":36319398002787,"product_id":7873220739171,"position":12,"created_at":"2026-07-20T12:59:17+08:00","updated_at":"2026-07-20T12:59:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba75f8116c60f5851f5d2d7482382f81c68b93c4_f6c67287-b293-4fe4-8122-7efcc394fb13.webp?v=1784523559","variant_ids":[43658367664227]},"available":true,"name":"iPhone 15 Clear Keigo Rest - 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":"CCN012950J-KEI10","featured_media":{"alt":null,"id":27823350317155,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba75f8116c60f5851f5d2d7482382f81c68b93c4_f6c67287-b293-4fe4-8122-7efcc394fb13.webp?v=1784523559"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43658365272163,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012950G-KEI10","requires_shipping":true,"taxable":true,"featured_image":{"id":36319397347427,"product_id":7873220739171,"position":9,"created_at":"2026-07-20T12:59:15+08:00","updated_at":"2026-07-20T12:59:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12d2fc87eaf216c6bfe99dd553882d58eb56a05d_ee2e1a61-6d68-43af-8355-1c52bb69aa64.webp?v=1784523557","variant_ids":[43658365272163]},"available":true,"name":"iPhone 15 Clear Keigo Rest - 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":"CCN012950G-KEI10","featured_media":{"alt":null,"id":27823349661795,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12d2fc87eaf216c6bfe99dd553882d58eb56a05d_ee2e1a61-6d68-43af-8355-1c52bb69aa64.webp?v=1784523557"}},"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: "停產" }