$product = {"id":8012556009571,"title":"iPhone 17 AirX 常態系列 這牙生不羈放縱","handle":"iphone-17-airx-magsafe-fug14","description":null,"published_at":"2026-05-14T16:23:57+08:00","created_at":"2026-05-14T15:37:27+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-fuggler","device-iPhone 17","merge","reseller-fuggler"],"price":195000,"price_min":195000,"price_max":195000,"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":44180343488611,"title":"Vero Black","option1":"Vero Black","option2":null,"option3":null,"sku":"MAR013504E-FUG14","requires_shipping":true,"taxable":true,"featured_image":{"id":35814784401507,"product_id":8012556009571,"position":1,"created_at":"2026-05-14T15:37:38+08:00","updated_at":"2026-05-14T15:37:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e4be8233007e591a9a841d23ff6eb2fa5c420e1.webp?v=1778744259","variant_ids":[44180343488611]},"available":true,"name":"iPhone 17 AirX 常態系列 這牙生不羈放縱 - Vero Black","public_title":"Vero Black","options":["Vero Black"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013504E-FUG14","featured_media":{"alt":null,"id":27339747164259,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e4be8233007e591a9a841d23ff6eb2fa5c420e1.webp?v=1778744259"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44180345880675,"title":"Flux Gray","option1":"Flux Gray","option2":null,"option3":null,"sku":"MAR013504F-FUG14","requires_shipping":true,"taxable":true,"featured_image":{"id":35814784532579,"product_id":8012556009571,"position":2,"created_at":"2026-05-14T15:37:38+08:00","updated_at":"2026-05-14T15:37:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6e9faf9adad880c13ea4d113f6603f15f657005.webp?v=1778744260","variant_ids":[44180345880675]},"available":true,"name":"iPhone 17 AirX 常態系列 這牙生不羈放縱 - Flux Gray","public_title":"Flux Gray","options":["Flux Gray"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013504F-FUG14","featured_media":{"alt":null,"id":27339747295331,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6e9faf9adad880c13ea4d113f6603f15f657005.webp?v=1778744260"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44442003701859,"title":"Ashen Violet","option1":"Ashen Violet","option2":null,"option3":null,"sku":"MAR013506C-FUG14","requires_shipping":true,"taxable":true,"featured_image":{"id":36486948323427,"product_id":8012556009571,"position":8,"created_at":"2026-08-05T12:12:36+08:00","updated_at":"2026-08-05T12:12:38+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d666202c56d783266fdf0d4c03e556f9b3df16d_d8ab110b-3a51-45e4-bcb7-a4d362522ea4.webp?v=1785903158","variant_ids":[44442003701859]},"available":true,"name":"iPhone 17 AirX 常態系列 這牙生不羈放縱 - Ashen Violet","public_title":"Ashen Violet","options":["Ashen Violet"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013506C-FUG14","featured_media":{"alt":null,"id":27990258745443,"position":8,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d666202c56d783266fdf0d4c03e556f9b3df16d_d8ab110b-3a51-45e4-bcb7-a4d362522ea4.webp?v=1785903158"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44448456310883,"title":"Ridgeline Gray","option1":"Ridgeline Gray","option2":null,"option3":null,"sku":"MAR013506D-FUG14","requires_shipping":true,"taxable":true,"featured_image":{"id":36494464647267,"product_id":8012556009571,"position":9,"created_at":"2026-08-06T10:34:28+08:00","updated_at":"2026-08-06T10:34:30+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d8053c2062843a1ac0666081d5e48ac7e789f80_2cf796fe-7176-47d2-a289-336114be5200.webp?v=1785983670","variant_ids":[44448456310883]},"available":true,"name":"iPhone 17 AirX 常態系列 這牙生不羈放縱 - Ridgeline Gray","public_title":"Ridgeline Gray","options":["Ridgeline Gray"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013506D-FUG14","featured_media":{"alt":null,"id":27997762191459,"position":9,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d8053c2062843a1ac0666081d5e48ac7e789f80_2cf796fe-7176-47d2-a289-336114be5200.webp?v=1785983670"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44448456999011,"title":"Trailhead Green","option1":"Trailhead Green","option2":null,"option3":null,"sku":"MAR013506E-FUG14","requires_shipping":true,"taxable":true,"featured_image":{"id":36494465007715,"product_id":8012556009571,"position":10,"created_at":"2026-08-06T10:34:30+08:00","updated_at":"2026-08-06T10:34:32+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c0703a1f85ba9930689845ce68d60e8c6b70ea1_2796b630-db15-428f-a3ed-370acd8fdcca.webp?v=1785983672","variant_ids":[44448456999011]},"available":true,"name":"iPhone 17 AirX 常態系列 這牙生不羈放縱 - Trailhead Green","public_title":"Trailhead Green","options":["Trailhead Green"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013506E-FUG14","featured_media":{"alt":null,"id":27997762584675,"position":10,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c0703a1f85ba9930689845ce68d60e8c6b70ea1_2796b630-db15-428f-a3ed-370acd8fdcca.webp?v=1785983672"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e4be8233007e591a9a841d23ff6eb2fa5c420e1.webp?v=1778744259","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6e9faf9adad880c13ea4d113f6603f15f657005.webp?v=1778744260","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d8053c2062843a1ac0666081d5e48ac7e789f80.webp?v=1785893520","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c0703a1f85ba9930689845ce68d60e8c6b70ea1.webp?v=1785893522","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d666202c56d783266fdf0d4c03e556f9b3df16d.webp?v=1785893526","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d8053c2062843a1ac0666081d5e48ac7e789f80_ebf54399-0af7-49c1-a378-16780cf180dc.webp?v=1785903154","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c0703a1f85ba9930689845ce68d60e8c6b70ea1_1c233e38-d2ee-4181-b91c-75e03ddb047f.webp?v=1785903156","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d666202c56d783266fdf0d4c03e556f9b3df16d_d8ab110b-3a51-45e4-bcb7-a4d362522ea4.webp?v=1785903158","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d8053c2062843a1ac0666081d5e48ac7e789f80_2cf796fe-7176-47d2-a289-336114be5200.webp?v=1785983670","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c0703a1f85ba9930689845ce68d60e8c6b70ea1_2796b630-db15-428f-a3ed-370acd8fdcca.webp?v=1785983672"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e4be8233007e591a9a841d23ff6eb2fa5c420e1.webp?v=1778744259","options":["color"],"media":[{"alt":null,"id":27339747164259,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e4be8233007e591a9a841d23ff6eb2fa5c420e1.webp?v=1778744259"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e4be8233007e591a9a841d23ff6eb2fa5c420e1.webp?v=1778744259","width":2000},{"alt":null,"id":27339747295331,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6e9faf9adad880c13ea4d113f6603f15f657005.webp?v=1778744260"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6e9faf9adad880c13ea4d113f6603f15f657005.webp?v=1778744260","width":2000},{"alt":null,"id":27988218871907,"position":3,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d8053c2062843a1ac0666081d5e48ac7e789f80.webp?v=1785893520"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d8053c2062843a1ac0666081d5e48ac7e789f80.webp?v=1785893520","width":550},{"alt":null,"id":27988219560035,"position":4,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c0703a1f85ba9930689845ce68d60e8c6b70ea1.webp?v=1785893522"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c0703a1f85ba9930689845ce68d60e8c6b70ea1.webp?v=1785893522","width":550},{"alt":null,"id":27988220117091,"position":5,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d666202c56d783266fdf0d4c03e556f9b3df16d.webp?v=1785893526"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d666202c56d783266fdf0d4c03e556f9b3df16d.webp?v=1785893526","width":550},{"alt":null,"id":27990258286691,"position":6,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d8053c2062843a1ac0666081d5e48ac7e789f80_ebf54399-0af7-49c1-a378-16780cf180dc.webp?v=1785903154"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d8053c2062843a1ac0666081d5e48ac7e789f80_ebf54399-0af7-49c1-a378-16780cf180dc.webp?v=1785903154","width":550},{"alt":null,"id":27990258516067,"position":7,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c0703a1f85ba9930689845ce68d60e8c6b70ea1_1c233e38-d2ee-4181-b91c-75e03ddb047f.webp?v=1785903156"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c0703a1f85ba9930689845ce68d60e8c6b70ea1_1c233e38-d2ee-4181-b91c-75e03ddb047f.webp?v=1785903156","width":550},{"alt":null,"id":27990258745443,"position":8,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d666202c56d783266fdf0d4c03e556f9b3df16d_d8ab110b-3a51-45e4-bcb7-a4d362522ea4.webp?v=1785903158"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d666202c56d783266fdf0d4c03e556f9b3df16d_d8ab110b-3a51-45e4-bcb7-a4d362522ea4.webp?v=1785903158","width":550},{"alt":null,"id":27997762191459,"position":9,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d8053c2062843a1ac0666081d5e48ac7e789f80_2cf796fe-7176-47d2-a289-336114be5200.webp?v=1785983670"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d8053c2062843a1ac0666081d5e48ac7e789f80_2cf796fe-7176-47d2-a289-336114be5200.webp?v=1785983670","width":550},{"alt":null,"id":27997762584675,"position":10,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c0703a1f85ba9930689845ce68d60e8c6b70ea1_2796b630-db15-428f-a3ed-370acd8fdcca.webp?v=1785983672"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c0703a1f85ba9930689845ce68d60e8c6b70ea1_2796b630-db15-428f-a3ed-370acd8fdcca.webp?v=1785983672","width":550}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44180343488611,"title":"Vero Black","option1":"Vero Black","option2":null,"option3":null,"sku":"MAR013504E-FUG14","requires_shipping":true,"taxable":true,"featured_image":{"id":35814784401507,"product_id":8012556009571,"position":1,"created_at":"2026-05-14T15:37:38+08:00","updated_at":"2026-05-14T15:37:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e4be8233007e591a9a841d23ff6eb2fa5c420e1.webp?v=1778744259","variant_ids":[44180343488611]},"available":true,"name":"iPhone 17 AirX 常態系列 這牙生不羈放縱 - Vero Black","public_title":"Vero Black","options":["Vero Black"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013504E-FUG14","featured_media":{"alt":null,"id":27339747164259,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e4be8233007e591a9a841d23ff6eb2fa5c420e1.webp?v=1778744259"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44180345880675,"title":"Flux Gray","option1":"Flux Gray","option2":null,"option3":null,"sku":"MAR013504F-FUG14","requires_shipping":true,"taxable":true,"featured_image":{"id":35814784532579,"product_id":8012556009571,"position":2,"created_at":"2026-05-14T15:37:38+08:00","updated_at":"2026-05-14T15:37:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6e9faf9adad880c13ea4d113f6603f15f657005.webp?v=1778744260","variant_ids":[44180345880675]},"available":true,"name":"iPhone 17 AirX 常態系列 這牙生不羈放縱 - Flux Gray","public_title":"Flux Gray","options":["Flux Gray"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013504F-FUG14","featured_media":{"alt":null,"id":27339747295331,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6e9faf9adad880c13ea4d113f6603f15f657005.webp?v=1778744260"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44442003701859,"title":"Ashen Violet","option1":"Ashen Violet","option2":null,"option3":null,"sku":"MAR013506C-FUG14","requires_shipping":true,"taxable":true,"featured_image":{"id":36486948323427,"product_id":8012556009571,"position":8,"created_at":"2026-08-05T12:12:36+08:00","updated_at":"2026-08-05T12:12:38+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d666202c56d783266fdf0d4c03e556f9b3df16d_d8ab110b-3a51-45e4-bcb7-a4d362522ea4.webp?v=1785903158","variant_ids":[44442003701859]},"available":true,"name":"iPhone 17 AirX 常態系列 這牙生不羈放縱 - Ashen Violet","public_title":"Ashen Violet","options":["Ashen Violet"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013506C-FUG14","featured_media":{"alt":null,"id":27990258745443,"position":8,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d666202c56d783266fdf0d4c03e556f9b3df16d_d8ab110b-3a51-45e4-bcb7-a4d362522ea4.webp?v=1785903158"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44448456310883,"title":"Ridgeline Gray","option1":"Ridgeline Gray","option2":null,"option3":null,"sku":"MAR013506D-FUG14","requires_shipping":true,"taxable":true,"featured_image":{"id":36494464647267,"product_id":8012556009571,"position":9,"created_at":"2026-08-06T10:34:28+08:00","updated_at":"2026-08-06T10:34:30+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d8053c2062843a1ac0666081d5e48ac7e789f80_2cf796fe-7176-47d2-a289-336114be5200.webp?v=1785983670","variant_ids":[44448456310883]},"available":true,"name":"iPhone 17 AirX 常態系列 這牙生不羈放縱 - Ridgeline Gray","public_title":"Ridgeline Gray","options":["Ridgeline Gray"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013506D-FUG14","featured_media":{"alt":null,"id":27997762191459,"position":9,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d8053c2062843a1ac0666081d5e48ac7e789f80_2cf796fe-7176-47d2-a289-336114be5200.webp?v=1785983670"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44448456999011,"title":"Trailhead Green","option1":"Trailhead Green","option2":null,"option3":null,"sku":"MAR013506E-FUG14","requires_shipping":true,"taxable":true,"featured_image":{"id":36494465007715,"product_id":8012556009571,"position":10,"created_at":"2026-08-06T10:34:30+08:00","updated_at":"2026-08-06T10:34:32+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c0703a1f85ba9930689845ce68d60e8c6b70ea1_2796b630-db15-428f-a3ed-370acd8fdcca.webp?v=1785983672","variant_ids":[44448456999011]},"available":true,"name":"iPhone 17 AirX 常態系列 這牙生不羈放縱 - Trailhead Green","public_title":"Trailhead Green","options":["Trailhead Green"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013506E-FUG14","featured_media":{"alt":null,"id":27997762584675,"position":10,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c0703a1f85ba9930689845ce68d60e8c6b70ea1_2796b630-db15-428f-a3ed-370acd8fdcca.webp?v=1785983672"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44180343488611,"title":"Vero Black","option1":"Vero Black","option2":null,"option3":null,"sku":"MAR013504E-FUG14","requires_shipping":true,"taxable":true,"featured_image":{"id":35814784401507,"product_id":8012556009571,"position":1,"created_at":"2026-05-14T15:37:38+08:00","updated_at":"2026-05-14T15:37:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e4be8233007e591a9a841d23ff6eb2fa5c420e1.webp?v=1778744259","variant_ids":[44180343488611]},"available":true,"name":"iPhone 17 AirX 常態系列 這牙生不羈放縱 - Vero Black","public_title":"Vero Black","options":["Vero Black"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013504E-FUG14","featured_media":{"alt":null,"id":27339747164259,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e4be8233007e591a9a841d23ff6eb2fa5c420e1.webp?v=1778744259"}},"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: "停產" }