$product = {"id":7937558904931,"title":"iPhone 13 mini Mod NX Jin Young Choi 番茄兄弟","handle":"iphone-13-mini-mod-nx-cjy14","description":null,"published_at":"2025-12-12T09:49:57+08:00","created_at":"2025-12-11T09:45:24+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-jychoioioi","device-iPhone 13 Mini","merge","reseller-jychoioioi"],"price":90000,"price_min":90000,"price_max":90000,"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":43882974380131,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01228J5-CJY14","requires_shipping":true,"taxable":true,"featured_image":{"id":34931820626019,"product_id":7937558904931,"position":16,"created_at":"2025-12-11T10:27:36+08:00","updated_at":"2025-12-11T10:27:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8237e90c4f215c5671d1c9afcb681ae6a41761c_784f253c-ca49-427d-8618-f15f7c0f1168.webp?v=1765420058","variant_ids":[43882974380131]},"available":true,"name":"iPhone 13 mini Mod NX Jin Young Choi 番茄兄弟 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-CJY14","featured_media":{"alt":null,"id":26494194876515,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8237e90c4f215c5671d1c9afcb681ae6a41761c_784f253c-ca49-427d-8618-f15f7c0f1168.webp?v=1765420058"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43882974412899,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-CJY14","requires_shipping":true,"taxable":true,"featured_image":{"id":34931818791011,"product_id":7937558904931,"position":10,"created_at":"2025-12-11T10:27:33+08:00","updated_at":"2025-12-11T10:27:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/224f5bba9ee690a29501295d6964351494d4f3b4_018bee26-302b-4b07-9f0f-9c2ae21299af.webp?v=1765420055","variant_ids":[43882974412899]},"available":true,"name":"iPhone 13 mini Mod NX Jin Young Choi 番茄兄弟 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-CJY14","featured_media":{"alt":null,"id":26494193041507,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/224f5bba9ee690a29501295d6964351494d4f3b4_018bee26-302b-4b07-9f0f-9c2ae21299af.webp?v=1765420055"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43882974478435,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0122804-CJY14","requires_shipping":true,"taxable":true,"featured_image":{"id":34931820036195,"product_id":7937558904931,"position":14,"created_at":"2025-12-11T10:27:35+08:00","updated_at":"2025-12-11T10:27:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd7522e5809572eae2c8842ac346d1baa93f6c17_bc70c8cb-74e5-4b7a-bd22-de52ee021489.webp?v=1765420057","variant_ids":[43882974478435]},"available":true,"name":"iPhone 13 mini Mod NX Jin Young Choi 番茄兄弟 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-CJY14","featured_media":{"alt":null,"id":26494194286691,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd7522e5809572eae2c8842ac346d1baa93f6c17_bc70c8cb-74e5-4b7a-bd22-de52ee021489.webp?v=1765420057"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24dca34a2accba264daf8920b154698134dc4a23.webp?v=1765417530","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d21dfc3ab7d9511421b4d4e5d12b12db2c71c85a.webp?v=1765417533","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8237e90c4f215c5671d1c9afcb681ae6a41761c.webp?v=1765417533","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/224f5bba9ee690a29501295d6964351494d4f3b4.webp?v=1765417534","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d0539e2c2b19edb8b09d5a1d5608f63e511367e.webp?v=1765417534","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17830f6c8402accda80a11a4db383f443f5183c7.webp?v=1765417535","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a0b711d52140515200bdeb119ecdad99d9e3ab1.webp?v=1765417535","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd7522e5809572eae2c8842ac346d1baa93f6c17.webp?v=1765417536","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e716336ec2e0d0e3f9f1a333b025fdb1ba7c682b.webp?v=1765417536","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/224f5bba9ee690a29501295d6964351494d4f3b4_018bee26-302b-4b07-9f0f-9c2ae21299af.webp?v=1765420055","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a0b711d52140515200bdeb119ecdad99d9e3ab1_8f000f2b-dbc9-4312-94a6-3a5c68ecf405.webp?v=1765420055","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17830f6c8402accda80a11a4db383f443f5183c7_b64200c1-5860-4956-a83d-2ded6af38ef2.webp?v=1765420056","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d0539e2c2b19edb8b09d5a1d5608f63e511367e_d7878d5b-afdc-43ea-bee7-34af9b8baeed.webp?v=1765420056","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd7522e5809572eae2c8842ac346d1baa93f6c17_bc70c8cb-74e5-4b7a-bd22-de52ee021489.webp?v=1765420057","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d21dfc3ab7d9511421b4d4e5d12b12db2c71c85a_ce2c6900-5684-42ff-a344-c512f709fb5d.webp?v=1765420057","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8237e90c4f215c5671d1c9afcb681ae6a41761c_784f253c-ca49-427d-8618-f15f7c0f1168.webp?v=1765420058","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e716336ec2e0d0e3f9f1a333b025fdb1ba7c682b_b1f48810-5c72-4cb1-8013-faefef7464f0.webp?v=1765420059","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24dca34a2accba264daf8920b154698134dc4a23_dc3c86df-b5c5-47c9-a230-a1c63b9f667d.webp?v=1765420059"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24dca34a2accba264daf8920b154698134dc4a23.webp?v=1765417530","options":["color"],"media":[{"alt":null,"id":26493217964131,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24dca34a2accba264daf8920b154698134dc4a23.webp?v=1765417530"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24dca34a2accba264daf8920b154698134dc4a23.webp?v=1765417530","width":2000},{"alt":null,"id":26493218455651,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d21dfc3ab7d9511421b4d4e5d12b12db2c71c85a.webp?v=1765417533"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d21dfc3ab7d9511421b4d4e5d12b12db2c71c85a.webp?v=1765417533","width":2000},{"alt":null,"id":26493218652259,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8237e90c4f215c5671d1c9afcb681ae6a41761c.webp?v=1765417533"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8237e90c4f215c5671d1c9afcb681ae6a41761c.webp?v=1765417533","width":2000},{"alt":null,"id":26493218816099,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/224f5bba9ee690a29501295d6964351494d4f3b4.webp?v=1765417534"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/224f5bba9ee690a29501295d6964351494d4f3b4.webp?v=1765417534","width":2000},{"alt":null,"id":26493218979939,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d0539e2c2b19edb8b09d5a1d5608f63e511367e.webp?v=1765417534"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d0539e2c2b19edb8b09d5a1d5608f63e511367e.webp?v=1765417534","width":2000},{"alt":null,"id":26493219111011,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17830f6c8402accda80a11a4db383f443f5183c7.webp?v=1765417535"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17830f6c8402accda80a11a4db383f443f5183c7.webp?v=1765417535","width":2000},{"alt":null,"id":26493219242083,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a0b711d52140515200bdeb119ecdad99d9e3ab1.webp?v=1765417535"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a0b711d52140515200bdeb119ecdad99d9e3ab1.webp?v=1765417535","width":2000},{"alt":null,"id":26493219340387,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd7522e5809572eae2c8842ac346d1baa93f6c17.webp?v=1765417536"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd7522e5809572eae2c8842ac346d1baa93f6c17.webp?v=1765417536","width":2000},{"alt":null,"id":26493219569763,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e716336ec2e0d0e3f9f1a333b025fdb1ba7c682b.webp?v=1765417536"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e716336ec2e0d0e3f9f1a333b025fdb1ba7c682b.webp?v=1765417536","width":2000},{"alt":null,"id":26494193041507,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/224f5bba9ee690a29501295d6964351494d4f3b4_018bee26-302b-4b07-9f0f-9c2ae21299af.webp?v=1765420055"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/224f5bba9ee690a29501295d6964351494d4f3b4_018bee26-302b-4b07-9f0f-9c2ae21299af.webp?v=1765420055","width":2000},{"alt":null,"id":26494193369187,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a0b711d52140515200bdeb119ecdad99d9e3ab1_8f000f2b-dbc9-4312-94a6-3a5c68ecf405.webp?v=1765420055"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a0b711d52140515200bdeb119ecdad99d9e3ab1_8f000f2b-dbc9-4312-94a6-3a5c68ecf405.webp?v=1765420055","width":2000},{"alt":null,"id":26494193664099,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17830f6c8402accda80a11a4db383f443f5183c7_b64200c1-5860-4956-a83d-2ded6af38ef2.webp?v=1765420056"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17830f6c8402accda80a11a4db383f443f5183c7_b64200c1-5860-4956-a83d-2ded6af38ef2.webp?v=1765420056","width":2000},{"alt":null,"id":26494193959011,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d0539e2c2b19edb8b09d5a1d5608f63e511367e_d7878d5b-afdc-43ea-bee7-34af9b8baeed.webp?v=1765420056"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d0539e2c2b19edb8b09d5a1d5608f63e511367e_d7878d5b-afdc-43ea-bee7-34af9b8baeed.webp?v=1765420056","width":2000},{"alt":null,"id":26494194286691,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd7522e5809572eae2c8842ac346d1baa93f6c17_bc70c8cb-74e5-4b7a-bd22-de52ee021489.webp?v=1765420057"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd7522e5809572eae2c8842ac346d1baa93f6c17_bc70c8cb-74e5-4b7a-bd22-de52ee021489.webp?v=1765420057","width":2000},{"alt":null,"id":26494194614371,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d21dfc3ab7d9511421b4d4e5d12b12db2c71c85a_ce2c6900-5684-42ff-a344-c512f709fb5d.webp?v=1765420057"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d21dfc3ab7d9511421b4d4e5d12b12db2c71c85a_ce2c6900-5684-42ff-a344-c512f709fb5d.webp?v=1765420057","width":2000},{"alt":null,"id":26494194876515,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8237e90c4f215c5671d1c9afcb681ae6a41761c_784f253c-ca49-427d-8618-f15f7c0f1168.webp?v=1765420058"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8237e90c4f215c5671d1c9afcb681ae6a41761c_784f253c-ca49-427d-8618-f15f7c0f1168.webp?v=1765420058","width":2000},{"alt":null,"id":26494195204195,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e716336ec2e0d0e3f9f1a333b025fdb1ba7c682b_b1f48810-5c72-4cb1-8013-faefef7464f0.webp?v=1765420059"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e716336ec2e0d0e3f9f1a333b025fdb1ba7c682b_b1f48810-5c72-4cb1-8013-faefef7464f0.webp?v=1765420059","width":2000},{"alt":null,"id":26494195531875,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24dca34a2accba264daf8920b154698134dc4a23_dc3c86df-b5c5-47c9-a230-a1c63b9f667d.webp?v=1765420059"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24dca34a2accba264daf8920b154698134dc4a23_dc3c86df-b5c5-47c9-a230-a1c63b9f667d.webp?v=1765420059","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43882974380131,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01228J5-CJY14","requires_shipping":true,"taxable":true,"featured_image":{"id":34931820626019,"product_id":7937558904931,"position":16,"created_at":"2025-12-11T10:27:36+08:00","updated_at":"2025-12-11T10:27:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8237e90c4f215c5671d1c9afcb681ae6a41761c_784f253c-ca49-427d-8618-f15f7c0f1168.webp?v=1765420058","variant_ids":[43882974380131]},"available":true,"name":"iPhone 13 mini Mod NX Jin Young Choi 番茄兄弟 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-CJY14","featured_media":{"alt":null,"id":26494194876515,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8237e90c4f215c5671d1c9afcb681ae6a41761c_784f253c-ca49-427d-8618-f15f7c0f1168.webp?v=1765420058"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43882974412899,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-CJY14","requires_shipping":true,"taxable":true,"featured_image":{"id":34931818791011,"product_id":7937558904931,"position":10,"created_at":"2025-12-11T10:27:33+08:00","updated_at":"2025-12-11T10:27:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/224f5bba9ee690a29501295d6964351494d4f3b4_018bee26-302b-4b07-9f0f-9c2ae21299af.webp?v=1765420055","variant_ids":[43882974412899]},"available":true,"name":"iPhone 13 mini Mod NX Jin Young Choi 番茄兄弟 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-CJY14","featured_media":{"alt":null,"id":26494193041507,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/224f5bba9ee690a29501295d6964351494d4f3b4_018bee26-302b-4b07-9f0f-9c2ae21299af.webp?v=1765420055"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43882974478435,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0122804-CJY14","requires_shipping":true,"taxable":true,"featured_image":{"id":34931820036195,"product_id":7937558904931,"position":14,"created_at":"2025-12-11T10:27:35+08:00","updated_at":"2025-12-11T10:27:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd7522e5809572eae2c8842ac346d1baa93f6c17_bc70c8cb-74e5-4b7a-bd22-de52ee021489.webp?v=1765420057","variant_ids":[43882974478435]},"available":true,"name":"iPhone 13 mini Mod NX Jin Young Choi 番茄兄弟 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-CJY14","featured_media":{"alt":null,"id":26494194286691,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd7522e5809572eae2c8842ac346d1baa93f6c17_bc70c8cb-74e5-4b7a-bd22-de52ee021489.webp?v=1765420057"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43882974380131,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01228J5-CJY14","requires_shipping":true,"taxable":true,"featured_image":{"id":34931820626019,"product_id":7937558904931,"position":16,"created_at":"2025-12-11T10:27:36+08:00","updated_at":"2025-12-11T10:27:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8237e90c4f215c5671d1c9afcb681ae6a41761c_784f253c-ca49-427d-8618-f15f7c0f1168.webp?v=1765420058","variant_ids":[43882974380131]},"available":true,"name":"iPhone 13 mini Mod NX Jin Young Choi 番茄兄弟 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-CJY14","featured_media":{"alt":null,"id":26494194876515,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8237e90c4f215c5671d1c9afcb681ae6a41761c_784f253c-ca49-427d-8618-f15f7c0f1168.webp?v=1765420058"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null var sellingStatus if ($bumper) { $(document).ready(function() { var productImg = $product.images[0] var bumperVariants = $bumper.variants; var bumperColors = new Object(); var currentVariant = ''; var productType = ''; bumperVariants.forEach(variant => { bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src; }); if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') { mergeImages( [productImg, bumperColors[currentVariant]], { crossOrigin: 'anonymous' } ).then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } else { mergeImages( [bumperColors[currentVariant], productImg], { crossOrigin: 'anonymous' } ).then(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: "停產" }