$product = {"id":7815629832291,"title":"iPhone 14 Clear 小玉米花 新年恐龍","handle":"iphone-14-jellytint-bumper-crossover-design-eg10","description":null,"published_at":"2025-06-11T15:25:28+08:00","created_at":"2025-06-11T14:26:55+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":43444867530851,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-EG10","requires_shipping":true,"taxable":true,"featured_image":{"id":34012150759523,"product_id":7815629832291,"position":16,"created_at":"2025-06-12T10:07:08+08:00","updated_at":"2025-06-12T10:07:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/012a7e6f2eae2fc2741b5a6639865dd1c69accae_a058e7aa-0860-4f01-92b0-34233e43da1c.webp?v=1749694030","variant_ids":[43444867530851]},"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-EG10","featured_media":{"alt":null,"id":25692796649571,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/012a7e6f2eae2fc2741b5a6639865dd1c69accae_a058e7aa-0860-4f01-92b0-34233e43da1c.webp?v=1749694030"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444869169251,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012600I-EG10","requires_shipping":true,"taxable":true,"featured_image":{"id":34012149645411,"product_id":7815629832291,"position":15,"created_at":"2025-06-12T10:07:08+08:00","updated_at":"2025-06-12T10:07:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44a9340343b5c8332fc1d02ca3bd0f75c05b9c54_824b0fee-375c-422a-8d03-b44e1e3a6d5d.webp?v=1749694030","variant_ids":[43444869169251]},"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-EG10","featured_media":{"alt":null,"id":25692796059747,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44a9340343b5c8332fc1d02ca3bd0f75c05b9c54_824b0fee-375c-422a-8d03-b44e1e3a6d5d.webp?v=1749694030"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444869202019,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-EG10","requires_shipping":true,"taxable":true,"featured_image":{"id":34012148629603,"product_id":7815629832291,"position":13,"created_at":"2025-06-12T10:07:07+08:00","updated_at":"2025-06-12T10:07:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d8797dcd8311832962c9407f409ef0592295c3_86d8c027-8b66-4e5a-b256-2ce941739312.webp?v=1749694028","variant_ids":[43444869202019]},"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-EG10","featured_media":{"alt":null,"id":25692795207779,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d8797dcd8311832962c9407f409ef0592295c3_86d8c027-8b66-4e5a-b256-2ce941739312.webp?v=1749694028"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/012a7e6f2eae2fc2741b5a6639865dd1c69accae_7566e504-1b00-4661-a160-5dab373f72a5.webp?v=1749623220","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26038997b08ed14d88e636aa56ea66a1001f9441_5bcea4e2-c6fc-4725-9145-f625d268f7c1.webp?v=1749623220","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44a9340343b5c8332fc1d02ca3bd0f75c05b9c54_b3e26771-a2a9-41c0-95ee-e17c8bd6d5a8.webp?v=1749623221","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d8797dcd8311832962c9407f409ef0592295c3_d0a34462-b936-43f6-ae46-519b8648ef9f.webp?v=1749623221","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/012a7e6f2eae2fc2741b5a6639865dd1c69accae_c190d325-e70f-4701-9b93-fdf51bbbefcf.webp?v=1749624489","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26038997b08ed14d88e636aa56ea66a1001f9441_84e65111-68b4-48c5-9570-0a70f1bba53e.webp?v=1749624490","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44a9340343b5c8332fc1d02ca3bd0f75c05b9c54_8826bb8a-d211-44de-9cd7-2e7966883cb0.webp?v=1749624491","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d8797dcd8311832962c9407f409ef0592295c3_f4913aa1-7296-4ff0-9160-e9bb91ea0ff7.webp?v=1749624491","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d8797dcd8311832962c9407f409ef0592295c3_7bd3acc8-0ab1-46d7-918f-289d7307923e.webp?v=1749625274","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/012a7e6f2eae2fc2741b5a6639865dd1c69accae_aabaf012-3fb9-46aa-92f4-e7db9b76a90f.webp?v=1749625274","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26038997b08ed14d88e636aa56ea66a1001f9441_446dda7a-0c31-4583-bfcf-a258214b8bc3.webp?v=1749625275","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44a9340343b5c8332fc1d02ca3bd0f75c05b9c54_5e6faa05-aa2d-4731-b072-d293dc70454f.webp?v=1749625276","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d8797dcd8311832962c9407f409ef0592295c3_86d8c027-8b66-4e5a-b256-2ce941739312.webp?v=1749694028","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26038997b08ed14d88e636aa56ea66a1001f9441_f3e45c48-1089-44be-9a51-724b4f82a7d6.webp?v=1749694030","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44a9340343b5c8332fc1d02ca3bd0f75c05b9c54_824b0fee-375c-422a-8d03-b44e1e3a6d5d.webp?v=1749694030","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/012a7e6f2eae2fc2741b5a6639865dd1c69accae_a058e7aa-0860-4f01-92b0-34233e43da1c.webp?v=1749694030"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/012a7e6f2eae2fc2741b5a6639865dd1c69accae_7566e504-1b00-4661-a160-5dab373f72a5.webp?v=1749623220","options":["color"],"media":[{"alt":null,"id":25689528959075,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/012a7e6f2eae2fc2741b5a6639865dd1c69accae_7566e504-1b00-4661-a160-5dab373f72a5.webp?v=1749623220"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/012a7e6f2eae2fc2741b5a6639865dd1c69accae_7566e504-1b00-4661-a160-5dab373f72a5.webp?v=1749623220","width":2000},{"alt":null,"id":25689529253987,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26038997b08ed14d88e636aa56ea66a1001f9441_5bcea4e2-c6fc-4725-9145-f625d268f7c1.webp?v=1749623220"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26038997b08ed14d88e636aa56ea66a1001f9441_5bcea4e2-c6fc-4725-9145-f625d268f7c1.webp?v=1749623220","width":2000},{"alt":null,"id":25689529548899,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44a9340343b5c8332fc1d02ca3bd0f75c05b9c54_b3e26771-a2a9-41c0-95ee-e17c8bd6d5a8.webp?v=1749623221"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44a9340343b5c8332fc1d02ca3bd0f75c05b9c54_b3e26771-a2a9-41c0-95ee-e17c8bd6d5a8.webp?v=1749623221","width":2000},{"alt":null,"id":25689529745507,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d8797dcd8311832962c9407f409ef0592295c3_d0a34462-b936-43f6-ae46-519b8648ef9f.webp?v=1749623221"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d8797dcd8311832962c9407f409ef0592295c3_d0a34462-b936-43f6-ae46-519b8648ef9f.webp?v=1749623221","width":2000},{"alt":null,"id":25689740771427,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/012a7e6f2eae2fc2741b5a6639865dd1c69accae_c190d325-e70f-4701-9b93-fdf51bbbefcf.webp?v=1749624489"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/012a7e6f2eae2fc2741b5a6639865dd1c69accae_c190d325-e70f-4701-9b93-fdf51bbbefcf.webp?v=1749624489","width":2000},{"alt":null,"id":25689741099107,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26038997b08ed14d88e636aa56ea66a1001f9441_84e65111-68b4-48c5-9570-0a70f1bba53e.webp?v=1749624490"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26038997b08ed14d88e636aa56ea66a1001f9441_84e65111-68b4-48c5-9570-0a70f1bba53e.webp?v=1749624490","width":2000},{"alt":null,"id":25689741328483,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44a9340343b5c8332fc1d02ca3bd0f75c05b9c54_8826bb8a-d211-44de-9cd7-2e7966883cb0.webp?v=1749624491"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44a9340343b5c8332fc1d02ca3bd0f75c05b9c54_8826bb8a-d211-44de-9cd7-2e7966883cb0.webp?v=1749624491","width":2000},{"alt":null,"id":25689741492323,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d8797dcd8311832962c9407f409ef0592295c3_f4913aa1-7296-4ff0-9160-e9bb91ea0ff7.webp?v=1749624491"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d8797dcd8311832962c9407f409ef0592295c3_f4913aa1-7296-4ff0-9160-e9bb91ea0ff7.webp?v=1749624491","width":2000},{"alt":null,"id":25689920438371,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d8797dcd8311832962c9407f409ef0592295c3_7bd3acc8-0ab1-46d7-918f-289d7307923e.webp?v=1749625274"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d8797dcd8311832962c9407f409ef0592295c3_7bd3acc8-0ab1-46d7-918f-289d7307923e.webp?v=1749625274","width":2000},{"alt":null,"id":25689920667747,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/012a7e6f2eae2fc2741b5a6639865dd1c69accae_aabaf012-3fb9-46aa-92f4-e7db9b76a90f.webp?v=1749625274"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/012a7e6f2eae2fc2741b5a6639865dd1c69accae_aabaf012-3fb9-46aa-92f4-e7db9b76a90f.webp?v=1749625274","width":2000},{"alt":null,"id":25689920864355,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26038997b08ed14d88e636aa56ea66a1001f9441_446dda7a-0c31-4583-bfcf-a258214b8bc3.webp?v=1749625275"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26038997b08ed14d88e636aa56ea66a1001f9441_446dda7a-0c31-4583-bfcf-a258214b8bc3.webp?v=1749625275","width":2000},{"alt":null,"id":25689921126499,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44a9340343b5c8332fc1d02ca3bd0f75c05b9c54_5e6faa05-aa2d-4731-b072-d293dc70454f.webp?v=1749625276"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44a9340343b5c8332fc1d02ca3bd0f75c05b9c54_5e6faa05-aa2d-4731-b072-d293dc70454f.webp?v=1749625276","width":2000},{"alt":null,"id":25692795207779,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d8797dcd8311832962c9407f409ef0592295c3_86d8c027-8b66-4e5a-b256-2ce941739312.webp?v=1749694028"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d8797dcd8311832962c9407f409ef0592295c3_86d8c027-8b66-4e5a-b256-2ce941739312.webp?v=1749694028","width":2000},{"alt":null,"id":25692795404387,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26038997b08ed14d88e636aa56ea66a1001f9441_f3e45c48-1089-44be-9a51-724b4f82a7d6.webp?v=1749694030"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26038997b08ed14d88e636aa56ea66a1001f9441_f3e45c48-1089-44be-9a51-724b4f82a7d6.webp?v=1749694030","width":2000},{"alt":null,"id":25692796059747,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44a9340343b5c8332fc1d02ca3bd0f75c05b9c54_824b0fee-375c-422a-8d03-b44e1e3a6d5d.webp?v=1749694030"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44a9340343b5c8332fc1d02ca3bd0f75c05b9c54_824b0fee-375c-422a-8d03-b44e1e3a6d5d.webp?v=1749694030","width":2000},{"alt":null,"id":25692796649571,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/012a7e6f2eae2fc2741b5a6639865dd1c69accae_a058e7aa-0860-4f01-92b0-34233e43da1c.webp?v=1749694030"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/012a7e6f2eae2fc2741b5a6639865dd1c69accae_a058e7aa-0860-4f01-92b0-34233e43da1c.webp?v=1749694030","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43444867530851,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-EG10","requires_shipping":true,"taxable":true,"featured_image":{"id":34012150759523,"product_id":7815629832291,"position":16,"created_at":"2025-06-12T10:07:08+08:00","updated_at":"2025-06-12T10:07:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/012a7e6f2eae2fc2741b5a6639865dd1c69accae_a058e7aa-0860-4f01-92b0-34233e43da1c.webp?v=1749694030","variant_ids":[43444867530851]},"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-EG10","featured_media":{"alt":null,"id":25692796649571,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/012a7e6f2eae2fc2741b5a6639865dd1c69accae_a058e7aa-0860-4f01-92b0-34233e43da1c.webp?v=1749694030"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444869169251,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012600I-EG10","requires_shipping":true,"taxable":true,"featured_image":{"id":34012149645411,"product_id":7815629832291,"position":15,"created_at":"2025-06-12T10:07:08+08:00","updated_at":"2025-06-12T10:07:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44a9340343b5c8332fc1d02ca3bd0f75c05b9c54_824b0fee-375c-422a-8d03-b44e1e3a6d5d.webp?v=1749694030","variant_ids":[43444869169251]},"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-EG10","featured_media":{"alt":null,"id":25692796059747,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44a9340343b5c8332fc1d02ca3bd0f75c05b9c54_824b0fee-375c-422a-8d03-b44e1e3a6d5d.webp?v=1749694030"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444869202019,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-EG10","requires_shipping":true,"taxable":true,"featured_image":{"id":34012148629603,"product_id":7815629832291,"position":13,"created_at":"2025-06-12T10:07:07+08:00","updated_at":"2025-06-12T10:07:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d8797dcd8311832962c9407f409ef0592295c3_86d8c027-8b66-4e5a-b256-2ce941739312.webp?v=1749694028","variant_ids":[43444869202019]},"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-EG10","featured_media":{"alt":null,"id":25692795207779,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d8797dcd8311832962c9407f409ef0592295c3_86d8c027-8b66-4e5a-b256-2ce941739312.webp?v=1749694028"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43444867530851,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-EG10","requires_shipping":true,"taxable":true,"featured_image":{"id":34012150759523,"product_id":7815629832291,"position":16,"created_at":"2025-06-12T10:07:08+08:00","updated_at":"2025-06-12T10:07:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/012a7e6f2eae2fc2741b5a6639865dd1c69accae_a058e7aa-0860-4f01-92b0-34233e43da1c.webp?v=1749694030","variant_ids":[43444867530851]},"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-EG10","featured_media":{"alt":null,"id":25692796649571,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/012a7e6f2eae2fc2741b5a6639865dd1c69accae_a058e7aa-0860-4f01-92b0-34233e43da1c.webp?v=1749694030"}},"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: "停產" }