$product = {"id":7815641923683,"title":"iPhone 14 Clear 小玉米花 金盞花","handle":"iphone-14-jellytint-bumper-crossover-design-eg09","description":null,"published_at":"2025-06-11T15:18:56+08:00","created_at":"2025-06-11T14:29:32+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-littlepopcorn","device-iPhone 14","merge","reseller-littlepopcorn"],"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":43444918091875,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-EG09","requires_shipping":true,"taxable":true,"featured_image":{"id":34011948220515,"product_id":7815641923683,"position":15,"created_at":"2025-06-12T10:04:10+08:00","updated_at":"2025-06-12T10:04:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b80d460ff2e83e5df7458749d931447c95b9915_6613f992-ed61-42b7-9e92-1add9c344125.webp?v=1749693852","variant_ids":[43444918091875]},"available":true,"name":"iPhone 14 Clear 小玉米花 金盞花 - 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-EG09","featured_media":{"alt":null,"id":25692692676707,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b80d460ff2e83e5df7458749d931447c95b9915_6613f992-ed61-42b7-9e92-1add9c344125.webp?v=1749693852"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444919107683,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012600I-EG09","requires_shipping":true,"taxable":true,"featured_image":{"id":34011947892835,"product_id":7815641923683,"position":14,"created_at":"2025-06-12T10:04:09+08:00","updated_at":"2025-06-12T10:04:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62e303727beefef067da2b21b030ae9d8a3a956e_fa439fd2-b65e-43bd-a312-de37f34e176a.webp?v=1749693851","variant_ids":[43444919107683]},"available":true,"name":"iPhone 14 Clear 小玉米花 金盞花 - 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-EG09","featured_media":{"alt":null,"id":25692692414563,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62e303727beefef067da2b21b030ae9d8a3a956e_fa439fd2-b65e-43bd-a312-de37f34e176a.webp?v=1749693851"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444919140451,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-EG09","requires_shipping":true,"taxable":true,"featured_image":{"id":34011949006947,"product_id":7815641923683,"position":16,"created_at":"2025-06-12T10:04:11+08:00","updated_at":"2025-06-12T10:04:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d4b3450d7586ea00ef96008ab62185c453b8923_5fa26e21-c1ec-4dac-aa08-1b694c7eee1f.webp?v=1749693853","variant_ids":[43444919140451]},"available":true,"name":"iPhone 14 Clear 小玉米花 金盞花 - 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-EG09","featured_media":{"alt":null,"id":25692693037155,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d4b3450d7586ea00ef96008ab62185c453b8923_5fa26e21-c1ec-4dac-aa08-1b694c7eee1f.webp?v=1749693853"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b80d460ff2e83e5df7458749d931447c95b9915.webp?v=1749623377","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d4b3450d7586ea00ef96008ab62185c453b8923.webp?v=1749623378","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62e303727beefef067da2b21b030ae9d8a3a956e.webp?v=1749623378","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/264817ccd4315e009cd0df846ee1ebdd57359015.webp?v=1749623379","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b80d460ff2e83e5df7458749d931447c95b9915_5342fe07-5f56-46ea-88dd-bf98c79caec2.webp?v=1749624635","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d4b3450d7586ea00ef96008ab62185c453b8923_713d8186-64d8-47a0-b7c3-4edff7277aa7.webp?v=1749624636","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62e303727beefef067da2b21b030ae9d8a3a956e_8b95d71f-136d-4f9c-a08b-007bb5e231c2.webp?v=1749624637","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/264817ccd4315e009cd0df846ee1ebdd57359015_9bd2fef6-2c2e-4faa-be1a-f127f8cd2017.webp?v=1749624637","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d4b3450d7586ea00ef96008ab62185c453b8923_cc3f2630-21d6-4441-be67-2398bd818389.webp?v=1749625180","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62e303727beefef067da2b21b030ae9d8a3a956e_62d3070e-facc-4483-8b46-e3046d6f3993.webp?v=1749625181","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/264817ccd4315e009cd0df846ee1ebdd57359015_4fa26dea-5ae2-46af-976a-86371307026a.webp?v=1749625181","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b80d460ff2e83e5df7458749d931447c95b9915_04b4c060-ae52-49f5-bf38-04bd7846e024.webp?v=1749625182","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/264817ccd4315e009cd0df846ee1ebdd57359015_43686ef9-fd67-4393-a6ff-6f6e573eef93.webp?v=1749693851","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62e303727beefef067da2b21b030ae9d8a3a956e_fa439fd2-b65e-43bd-a312-de37f34e176a.webp?v=1749693851","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b80d460ff2e83e5df7458749d931447c95b9915_6613f992-ed61-42b7-9e92-1add9c344125.webp?v=1749693852","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d4b3450d7586ea00ef96008ab62185c453b8923_5fa26e21-c1ec-4dac-aa08-1b694c7eee1f.webp?v=1749693853"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b80d460ff2e83e5df7458749d931447c95b9915.webp?v=1749623377","options":["color"],"media":[{"alt":null,"id":25689584009315,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b80d460ff2e83e5df7458749d931447c95b9915.webp?v=1749623377"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b80d460ff2e83e5df7458749d931447c95b9915.webp?v=1749623377","width":2000},{"alt":null,"id":25689584336995,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d4b3450d7586ea00ef96008ab62185c453b8923.webp?v=1749623378"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d4b3450d7586ea00ef96008ab62185c453b8923.webp?v=1749623378","width":2000},{"alt":null,"id":25689584664675,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62e303727beefef067da2b21b030ae9d8a3a956e.webp?v=1749623378"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62e303727beefef067da2b21b030ae9d8a3a956e.webp?v=1749623378","width":2000},{"alt":null,"id":25689585188963,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/264817ccd4315e009cd0df846ee1ebdd57359015.webp?v=1749623379"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/264817ccd4315e009cd0df846ee1ebdd57359015.webp?v=1749623379","width":2000},{"alt":null,"id":25689794183267,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b80d460ff2e83e5df7458749d931447c95b9915_5342fe07-5f56-46ea-88dd-bf98c79caec2.webp?v=1749624635"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b80d460ff2e83e5df7458749d931447c95b9915_5342fe07-5f56-46ea-88dd-bf98c79caec2.webp?v=1749624635","width":2000},{"alt":null,"id":25689794445411,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d4b3450d7586ea00ef96008ab62185c453b8923_713d8186-64d8-47a0-b7c3-4edff7277aa7.webp?v=1749624636"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d4b3450d7586ea00ef96008ab62185c453b8923_713d8186-64d8-47a0-b7c3-4edff7277aa7.webp?v=1749624636","width":2000},{"alt":null,"id":25689794740323,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62e303727beefef067da2b21b030ae9d8a3a956e_8b95d71f-136d-4f9c-a08b-007bb5e231c2.webp?v=1749624637"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62e303727beefef067da2b21b030ae9d8a3a956e_8b95d71f-136d-4f9c-a08b-007bb5e231c2.webp?v=1749624637","width":2000},{"alt":null,"id":25689794936931,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/264817ccd4315e009cd0df846ee1ebdd57359015_9bd2fef6-2c2e-4faa-be1a-f127f8cd2017.webp?v=1749624637"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/264817ccd4315e009cd0df846ee1ebdd57359015_9bd2fef6-2c2e-4faa-be1a-f127f8cd2017.webp?v=1749624637","width":2000},{"alt":null,"id":25689884033123,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d4b3450d7586ea00ef96008ab62185c453b8923_cc3f2630-21d6-4441-be67-2398bd818389.webp?v=1749625180"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d4b3450d7586ea00ef96008ab62185c453b8923_cc3f2630-21d6-4441-be67-2398bd818389.webp?v=1749625180","width":2000},{"alt":null,"id":25689884328035,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62e303727beefef067da2b21b030ae9d8a3a956e_62d3070e-facc-4483-8b46-e3046d6f3993.webp?v=1749625181"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62e303727beefef067da2b21b030ae9d8a3a956e_62d3070e-facc-4483-8b46-e3046d6f3993.webp?v=1749625181","width":2000},{"alt":null,"id":25689884524643,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/264817ccd4315e009cd0df846ee1ebdd57359015_4fa26dea-5ae2-46af-976a-86371307026a.webp?v=1749625181"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/264817ccd4315e009cd0df846ee1ebdd57359015_4fa26dea-5ae2-46af-976a-86371307026a.webp?v=1749625181","width":2000},{"alt":null,"id":25689884786787,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b80d460ff2e83e5df7458749d931447c95b9915_04b4c060-ae52-49f5-bf38-04bd7846e024.webp?v=1749625182"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b80d460ff2e83e5df7458749d931447c95b9915_04b4c060-ae52-49f5-bf38-04bd7846e024.webp?v=1749625182","width":2000},{"alt":null,"id":25692692054115,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/264817ccd4315e009cd0df846ee1ebdd57359015_43686ef9-fd67-4393-a6ff-6f6e573eef93.webp?v=1749693851"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/264817ccd4315e009cd0df846ee1ebdd57359015_43686ef9-fd67-4393-a6ff-6f6e573eef93.webp?v=1749693851","width":2000},{"alt":null,"id":25692692414563,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62e303727beefef067da2b21b030ae9d8a3a956e_fa439fd2-b65e-43bd-a312-de37f34e176a.webp?v=1749693851"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62e303727beefef067da2b21b030ae9d8a3a956e_fa439fd2-b65e-43bd-a312-de37f34e176a.webp?v=1749693851","width":2000},{"alt":null,"id":25692692676707,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b80d460ff2e83e5df7458749d931447c95b9915_6613f992-ed61-42b7-9e92-1add9c344125.webp?v=1749693852"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b80d460ff2e83e5df7458749d931447c95b9915_6613f992-ed61-42b7-9e92-1add9c344125.webp?v=1749693852","width":2000},{"alt":null,"id":25692693037155,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d4b3450d7586ea00ef96008ab62185c453b8923_5fa26e21-c1ec-4dac-aa08-1b694c7eee1f.webp?v=1749693853"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d4b3450d7586ea00ef96008ab62185c453b8923_5fa26e21-c1ec-4dac-aa08-1b694c7eee1f.webp?v=1749693853","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43444918091875,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-EG09","requires_shipping":true,"taxable":true,"featured_image":{"id":34011948220515,"product_id":7815641923683,"position":15,"created_at":"2025-06-12T10:04:10+08:00","updated_at":"2025-06-12T10:04:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b80d460ff2e83e5df7458749d931447c95b9915_6613f992-ed61-42b7-9e92-1add9c344125.webp?v=1749693852","variant_ids":[43444918091875]},"available":true,"name":"iPhone 14 Clear 小玉米花 金盞花 - 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-EG09","featured_media":{"alt":null,"id":25692692676707,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b80d460ff2e83e5df7458749d931447c95b9915_6613f992-ed61-42b7-9e92-1add9c344125.webp?v=1749693852"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444919107683,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012600I-EG09","requires_shipping":true,"taxable":true,"featured_image":{"id":34011947892835,"product_id":7815641923683,"position":14,"created_at":"2025-06-12T10:04:09+08:00","updated_at":"2025-06-12T10:04:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62e303727beefef067da2b21b030ae9d8a3a956e_fa439fd2-b65e-43bd-a312-de37f34e176a.webp?v=1749693851","variant_ids":[43444919107683]},"available":true,"name":"iPhone 14 Clear 小玉米花 金盞花 - 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-EG09","featured_media":{"alt":null,"id":25692692414563,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62e303727beefef067da2b21b030ae9d8a3a956e_fa439fd2-b65e-43bd-a312-de37f34e176a.webp?v=1749693851"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444919140451,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-EG09","requires_shipping":true,"taxable":true,"featured_image":{"id":34011949006947,"product_id":7815641923683,"position":16,"created_at":"2025-06-12T10:04:11+08:00","updated_at":"2025-06-12T10:04:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d4b3450d7586ea00ef96008ab62185c453b8923_5fa26e21-c1ec-4dac-aa08-1b694c7eee1f.webp?v=1749693853","variant_ids":[43444919140451]},"available":true,"name":"iPhone 14 Clear 小玉米花 金盞花 - 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-EG09","featured_media":{"alt":null,"id":25692693037155,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d4b3450d7586ea00ef96008ab62185c453b8923_5fa26e21-c1ec-4dac-aa08-1b694c7eee1f.webp?v=1749693853"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43444918091875,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-EG09","requires_shipping":true,"taxable":true,"featured_image":{"id":34011948220515,"product_id":7815641923683,"position":15,"created_at":"2025-06-12T10:04:10+08:00","updated_at":"2025-06-12T10:04:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b80d460ff2e83e5df7458749d931447c95b9915_6613f992-ed61-42b7-9e92-1add9c344125.webp?v=1749693852","variant_ids":[43444918091875]},"available":true,"name":"iPhone 14 Clear 小玉米花 金盞花 - 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-EG09","featured_media":{"alt":null,"id":25692692676707,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b80d460ff2e83e5df7458749d931447c95b9915_6613f992-ed61-42b7-9e92-1add9c344125.webp?v=1749693852"}},"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: "停產" }