$product = {"id":7827291668579,"title":"iPhone 15 Plus SolidX Tour de France The Finish Line","handle":"iphone-15-plus-solidx-bumper-back-crossover-design-tdf01","description":null,"published_at":"2025-07-14T10:54:08+08:00","created_at":"2025-06-26T15:28:11+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-tour-de-france","device-iPhone 15 Plus","merge","reseller-tour-de-france"],"price":125000,"price_min":125000,"price_max":125000,"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":43497469116515,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-TDF01","requires_shipping":true,"taxable":true,"featured_image":{"id":34099540754531,"product_id":7827291668579,"position":18,"created_at":"2025-06-30T15:57:55+08:00","updated_at":"2025-06-30T15:57:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a9d51db8304e89e315fbacbd55d9ad6fcf9ead4_9b287ed0-993c-4f5d-ae7e-636974e549a8.webp?v=1751270277","variant_ids":[43497469116515]},"available":true,"name":"iPhone 15 Plus SolidX Tour de France The Finish Line - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST012960B-TDF01","featured_media":{"alt":null,"id":25756172517475,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a9d51db8304e89e315fbacbd55d9ad6fcf9ead4_9b287ed0-993c-4f5d-ae7e-636974e549a8.webp?v=1751270277"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43497472917603,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-TDF01","requires_shipping":true,"taxable":true,"featured_image":{"id":34099537444963,"product_id":7827291668579,"position":12,"created_at":"2025-06-30T15:57:52+08:00","updated_at":"2025-06-30T15:57:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b4fcf0979eb49afedf6d8ab7ca1c9694f17100e_c9138009-2b68-4b53-a09f-b8e11d8a4342.webp?v=1751270273","variant_ids":[43497472917603]},"available":true,"name":"iPhone 15 Plus SolidX Tour de France The Finish Line - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129652-TDF01","featured_media":{"alt":null,"id":25756170780771,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b4fcf0979eb49afedf6d8ab7ca1c9694f17100e_c9138009-2b68-4b53-a09f-b8e11d8a4342.webp?v=1751270273"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/035683d5b73c1f55c34180e39217ddfdd59ca112.webp?v=1750922899","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a9d51db8304e89e315fbacbd55d9ad6fcf9ead4.webp?v=1750922900","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/785b17a23df79d6a3a705ade87f6fc1f11cfcc35.webp?v=1750922900","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b4fcf0979eb49afedf6d8ab7ca1c9694f17100e.webp?v=1750922901","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1854f2088c6815900cce98374177f92cc8c8ded7.webp?v=1750922901","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd6ab5bfe3e50bdecf6eb1b52a11e9b2ae563959.webp?v=1750922902","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17f8c9d6476f578e8bba793fc08f6563dc23d85f.webp?v=1750922902","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/251e4c6c27c1cf3600fdb08c0ae67bf8b708d391.webp?v=1750922903","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df709e6ba50310dd494ef827b6bbe180879bb9d4.webp?v=1750922903","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7525c0db443f286f15a47771005140557c36f7a.webp?v=1750922904","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df709e6ba50310dd494ef827b6bbe180879bb9d4_362a3d4b-f646-4542-8832-24a9881f3a37.webp?v=1751270273","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b4fcf0979eb49afedf6d8ab7ca1c9694f17100e_c9138009-2b68-4b53-a09f-b8e11d8a4342.webp?v=1751270273","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/785b17a23df79d6a3a705ade87f6fc1f11cfcc35_6793fc36-e1a3-4017-98e5-0eff1c22e1ac.webp?v=1751270274","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1854f2088c6815900cce98374177f92cc8c8ded7_ac097456-14ee-4ea1-8c78-3ef1d7be496d.webp?v=1751270274","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd6ab5bfe3e50bdecf6eb1b52a11e9b2ae563959_318bcf1b-ee12-4370-910e-d9268c3493eb.webp?v=1751270275","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/251e4c6c27c1cf3600fdb08c0ae67bf8b708d391_e0431e5a-2ff9-4b2b-9d4e-6baf6a9c770d.webp?v=1751270276","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/035683d5b73c1f55c34180e39217ddfdd59ca112_5e5ea1fe-83a9-4d54-9a7a-12e66d2aaa1f.webp?v=1751270276","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a9d51db8304e89e315fbacbd55d9ad6fcf9ead4_9b287ed0-993c-4f5d-ae7e-636974e549a8.webp?v=1751270277","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17f8c9d6476f578e8bba793fc08f6563dc23d85f_d14cc0c6-1de3-4244-93d5-ef33c269bf62.webp?v=1751270277","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7525c0db443f286f15a47771005140557c36f7a_7046bb7f-4069-49df-ba2f-4f38b9ad1868.webp?v=1751270277"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/035683d5b73c1f55c34180e39217ddfdd59ca112.webp?v=1750922899","options":["color"],"media":[{"alt":null,"id":25742962229347,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/035683d5b73c1f55c34180e39217ddfdd59ca112.webp?v=1750922899"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/035683d5b73c1f55c34180e39217ddfdd59ca112.webp?v=1750922899","width":2000},{"alt":null,"id":25742962425955,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a9d51db8304e89e315fbacbd55d9ad6fcf9ead4.webp?v=1750922900"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a9d51db8304e89e315fbacbd55d9ad6fcf9ead4.webp?v=1750922900","width":2000},{"alt":null,"id":25742962622563,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/785b17a23df79d6a3a705ade87f6fc1f11cfcc35.webp?v=1750922900"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/785b17a23df79d6a3a705ade87f6fc1f11cfcc35.webp?v=1750922900","width":2000},{"alt":null,"id":25742962884707,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b4fcf0979eb49afedf6d8ab7ca1c9694f17100e.webp?v=1750922901"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b4fcf0979eb49afedf6d8ab7ca1c9694f17100e.webp?v=1750922901","width":2000},{"alt":null,"id":25742963114083,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1854f2088c6815900cce98374177f92cc8c8ded7.webp?v=1750922901"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1854f2088c6815900cce98374177f92cc8c8ded7.webp?v=1750922901","width":2000},{"alt":null,"id":25742963343459,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd6ab5bfe3e50bdecf6eb1b52a11e9b2ae563959.webp?v=1750922902"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd6ab5bfe3e50bdecf6eb1b52a11e9b2ae563959.webp?v=1750922902","width":2000},{"alt":null,"id":25742963572835,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17f8c9d6476f578e8bba793fc08f6563dc23d85f.webp?v=1750922902"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17f8c9d6476f578e8bba793fc08f6563dc23d85f.webp?v=1750922902","width":2000},{"alt":null,"id":25742963867747,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/251e4c6c27c1cf3600fdb08c0ae67bf8b708d391.webp?v=1750922903"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/251e4c6c27c1cf3600fdb08c0ae67bf8b708d391.webp?v=1750922903","width":2000},{"alt":null,"id":25742963998819,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df709e6ba50310dd494ef827b6bbe180879bb9d4.webp?v=1750922903"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df709e6ba50310dd494ef827b6bbe180879bb9d4.webp?v=1750922903","width":2000},{"alt":null,"id":25742964097123,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7525c0db443f286f15a47771005140557c36f7a.webp?v=1750922904"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7525c0db443f286f15a47771005140557c36f7a.webp?v=1750922904","width":2000},{"alt":null,"id":25756170453091,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df709e6ba50310dd494ef827b6bbe180879bb9d4_362a3d4b-f646-4542-8832-24a9881f3a37.webp?v=1751270273"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df709e6ba50310dd494ef827b6bbe180879bb9d4_362a3d4b-f646-4542-8832-24a9881f3a37.webp?v=1751270273","width":2000},{"alt":null,"id":25756170780771,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b4fcf0979eb49afedf6d8ab7ca1c9694f17100e_c9138009-2b68-4b53-a09f-b8e11d8a4342.webp?v=1751270273"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b4fcf0979eb49afedf6d8ab7ca1c9694f17100e_c9138009-2b68-4b53-a09f-b8e11d8a4342.webp?v=1751270273","width":2000},{"alt":null,"id":25756171042915,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/785b17a23df79d6a3a705ade87f6fc1f11cfcc35_6793fc36-e1a3-4017-98e5-0eff1c22e1ac.webp?v=1751270274"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/785b17a23df79d6a3a705ade87f6fc1f11cfcc35_6793fc36-e1a3-4017-98e5-0eff1c22e1ac.webp?v=1751270274","width":2000},{"alt":null,"id":25756171272291,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1854f2088c6815900cce98374177f92cc8c8ded7_ac097456-14ee-4ea1-8c78-3ef1d7be496d.webp?v=1751270274"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1854f2088c6815900cce98374177f92cc8c8ded7_ac097456-14ee-4ea1-8c78-3ef1d7be496d.webp?v=1751270274","width":2000},{"alt":null,"id":25756171632739,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd6ab5bfe3e50bdecf6eb1b52a11e9b2ae563959_318bcf1b-ee12-4370-910e-d9268c3493eb.webp?v=1751270275"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd6ab5bfe3e50bdecf6eb1b52a11e9b2ae563959_318bcf1b-ee12-4370-910e-d9268c3493eb.webp?v=1751270275","width":2000},{"alt":null,"id":25756171993187,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/251e4c6c27c1cf3600fdb08c0ae67bf8b708d391_e0431e5a-2ff9-4b2b-9d4e-6baf6a9c770d.webp?v=1751270276"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/251e4c6c27c1cf3600fdb08c0ae67bf8b708d391_e0431e5a-2ff9-4b2b-9d4e-6baf6a9c770d.webp?v=1751270276","width":2000},{"alt":null,"id":25756172222563,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/035683d5b73c1f55c34180e39217ddfdd59ca112_5e5ea1fe-83a9-4d54-9a7a-12e66d2aaa1f.webp?v=1751270276"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/035683d5b73c1f55c34180e39217ddfdd59ca112_5e5ea1fe-83a9-4d54-9a7a-12e66d2aaa1f.webp?v=1751270276","width":2000},{"alt":null,"id":25756172517475,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a9d51db8304e89e315fbacbd55d9ad6fcf9ead4_9b287ed0-993c-4f5d-ae7e-636974e549a8.webp?v=1751270277"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a9d51db8304e89e315fbacbd55d9ad6fcf9ead4_9b287ed0-993c-4f5d-ae7e-636974e549a8.webp?v=1751270277","width":2000},{"alt":null,"id":25756172812387,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17f8c9d6476f578e8bba793fc08f6563dc23d85f_d14cc0c6-1de3-4244-93d5-ef33c269bf62.webp?v=1751270277"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17f8c9d6476f578e8bba793fc08f6563dc23d85f_d14cc0c6-1de3-4244-93d5-ef33c269bf62.webp?v=1751270277","width":2000},{"alt":null,"id":25756173140067,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7525c0db443f286f15a47771005140557c36f7a_7046bb7f-4069-49df-ba2f-4f38b9ad1868.webp?v=1751270277"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7525c0db443f286f15a47771005140557c36f7a_7046bb7f-4069-49df-ba2f-4f38b9ad1868.webp?v=1751270277","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43497469116515,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-TDF01","requires_shipping":true,"taxable":true,"featured_image":{"id":34099540754531,"product_id":7827291668579,"position":18,"created_at":"2025-06-30T15:57:55+08:00","updated_at":"2025-06-30T15:57:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a9d51db8304e89e315fbacbd55d9ad6fcf9ead4_9b287ed0-993c-4f5d-ae7e-636974e549a8.webp?v=1751270277","variant_ids":[43497469116515]},"available":true,"name":"iPhone 15 Plus SolidX Tour de France The Finish Line - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST012960B-TDF01","featured_media":{"alt":null,"id":25756172517475,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a9d51db8304e89e315fbacbd55d9ad6fcf9ead4_9b287ed0-993c-4f5d-ae7e-636974e549a8.webp?v=1751270277"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43497472917603,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-TDF01","requires_shipping":true,"taxable":true,"featured_image":{"id":34099537444963,"product_id":7827291668579,"position":12,"created_at":"2025-06-30T15:57:52+08:00","updated_at":"2025-06-30T15:57:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b4fcf0979eb49afedf6d8ab7ca1c9694f17100e_c9138009-2b68-4b53-a09f-b8e11d8a4342.webp?v=1751270273","variant_ids":[43497472917603]},"available":true,"name":"iPhone 15 Plus SolidX Tour de France The Finish Line - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129652-TDF01","featured_media":{"alt":null,"id":25756170780771,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b4fcf0979eb49afedf6d8ab7ca1c9694f17100e_c9138009-2b68-4b53-a09f-b8e11d8a4342.webp?v=1751270273"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43497469116515,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-TDF01","requires_shipping":true,"taxable":true,"featured_image":{"id":34099540754531,"product_id":7827291668579,"position":18,"created_at":"2025-06-30T15:57:55+08:00","updated_at":"2025-06-30T15:57:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a9d51db8304e89e315fbacbd55d9ad6fcf9ead4_9b287ed0-993c-4f5d-ae7e-636974e549a8.webp?v=1751270277","variant_ids":[43497469116515]},"available":true,"name":"iPhone 15 Plus SolidX Tour de France The Finish Line - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST012960B-TDF01","featured_media":{"alt":null,"id":25756172517475,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a9d51db8304e89e315fbacbd55d9ad6fcf9ead4_9b287ed0-993c-4f5d-ae7e-636974e549a8.webp?v=1751270277"}},"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: "停產" }