$product = {"id":7155875807331,"title":"iPhone X SolidSuit 1G 生日帽","handle":"iphone-x-solidsuit-classic-iv01","description":null,"published_at":"2024-01-24T16:48:20+08:00","created_at":"2024-01-23T17:01:34+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit專區1G","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-1chun","device-iPhone X","merge","reseller-1chun"],"price":83000,"price_min":83000,"price_max":83000,"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":41197074186339,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0106452-IV01","requires_shipping":true,"taxable":true,"featured_image":{"id":36144741711971,"product_id":7155875807331,"position":19,"created_at":"2026-07-01T14:33:28+08:00","updated_at":"2026-07-01T14:33:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/703d93d9e9e23cd9234fe56e21b222c7b06ce955.webp?v=1782887610","variant_ids":[41197074186339]},"available":true,"name":"iPhone X SolidSuit 1G 生日帽 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0106452-IV01","featured_media":{"alt":null,"id":27649628962915,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/703d93d9e9e23cd9234fe56e21b222c7b06ce955.webp?v=1782887610"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197074382947,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"SST01064P2-IV01","requires_shipping":true,"taxable":true,"featured_image":{"id":30837373993059,"product_id":7155875807331,"position":15,"created_at":"2024-01-24T11:06:32+08:00","updated_at":"2024-01-24T11:06:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36409e046c300031889d25a27d44f8f7798ffb12_36e482b2-2efb-4e41-bcd8-a73bc451e5d3.webp?v=1706065592","variant_ids":[41197074382947]},"available":true,"name":"iPhone X SolidSuit 1G 生日帽 - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":23208291598435,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36409e046c300031889d25a27d44f8f7798ffb12_36e482b2-2efb-4e41-bcd8-a73bc451e5d3.webp?v=1706065592"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1717fb341a28896c1ca07b49f0bd758e4b22b20_a9a1c468-596c-4ce0-9ed0-45df4d1200ae.webp?v=1706000497","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd791069908e4bc595a1f45965c2307dd68512e7_38902013-5d81-4e98-bcff-8229e7e6c6ed.webp?v=1706000499","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39f3b01372dc0fbdfe909e03b87e55c49b435112_e2589938-556d-4b6c-a210-3d158e953f48.webp?v=1706000501","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/957f90bd6a6052fca295ae9ac29f141355cf40bb_7a789100-236f-412e-b9db-1ae902c969b0.webp?v=1706000504","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36409e046c300031889d25a27d44f8f7798ffb12_65048ded-eea0-4c7e-86d8-be3c4d06973e.webp?v=1706000506","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48d2d2e6c0558a8f8559f63cb9275ee46ea30048_1d8bb8e1-7bc0-42d2-a20c-1a1a44370199.webp?v=1706000508","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4474f9e1e6604804a695d71c321ca91c7819682c_f8da2a4f-8c42-4b4c-8787-8ce374581bc7.webp?v=1706000511","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/957f90bd6a6052fca295ae9ac29f141355cf40bb_0b2d7a8b-c596-4aaa-98ca-a0544fafcd84.webp?v=1706062559","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48d2d2e6c0558a8f8559f63cb9275ee46ea30048_aa6e543a-e2eb-48fa-a012-08e5f2cb5a83.webp?v=1706062561","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39f3b01372dc0fbdfe909e03b87e55c49b435112_271f5241-1be1-4842-909c-7a147b685cf8.webp?v=1706062564","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36409e046c300031889d25a27d44f8f7798ffb12_1c140b05-3bf9-4bff-bedd-0479b7a37d33.webp?v=1706062566","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39f3b01372dc0fbdfe909e03b87e55c49b435112_59c42e92-4b9e-4dec-8b1a-648d760683ef.webp?v=1706065585","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/957f90bd6a6052fca295ae9ac29f141355cf40bb_d67f2c2a-772c-4d50-8f46-e927fe0ad815.webp?v=1706065587","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1717fb341a28896c1ca07b49f0bd758e4b22b20_f99556d0-93c2-4ea9-ba54-899e88ca4a58.webp?v=1706065590","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36409e046c300031889d25a27d44f8f7798ffb12_36e482b2-2efb-4e41-bcd8-a73bc451e5d3.webp?v=1706065592","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4474f9e1e6604804a695d71c321ca91c7819682c_956eeed9-9d04-46f3-ae4a-d694df15f086.webp?v=1706065594","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48d2d2e6c0558a8f8559f63cb9275ee46ea30048_04db02be-d4e6-4a06-9230-23c1f4324318.webp?v=1706065597","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd791069908e4bc595a1f45965c2307dd68512e7_eeca14e9-eea3-49f1-bf31-12f3f58c4225.webp?v=1706065599","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/703d93d9e9e23cd9234fe56e21b222c7b06ce955.webp?v=1782887610"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1717fb341a28896c1ca07b49f0bd758e4b22b20_a9a1c468-596c-4ce0-9ed0-45df4d1200ae.webp?v=1706000497","options":["color"],"media":[{"alt":null,"id":23201895940195,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1717fb341a28896c1ca07b49f0bd758e4b22b20_a9a1c468-596c-4ce0-9ed0-45df4d1200ae.webp?v=1706000497"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1717fb341a28896c1ca07b49f0bd758e4b22b20_a9a1c468-596c-4ce0-9ed0-45df4d1200ae.webp?v=1706000497","width":2000},{"alt":null,"id":23201896464483,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd791069908e4bc595a1f45965c2307dd68512e7_38902013-5d81-4e98-bcff-8229e7e6c6ed.webp?v=1706000499"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd791069908e4bc595a1f45965c2307dd68512e7_38902013-5d81-4e98-bcff-8229e7e6c6ed.webp?v=1706000499","width":2000},{"alt":null,"id":23201897087075,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39f3b01372dc0fbdfe909e03b87e55c49b435112_e2589938-556d-4b6c-a210-3d158e953f48.webp?v=1706000501"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39f3b01372dc0fbdfe909e03b87e55c49b435112_e2589938-556d-4b6c-a210-3d158e953f48.webp?v=1706000501","width":2000},{"alt":null,"id":23201897807971,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/957f90bd6a6052fca295ae9ac29f141355cf40bb_7a789100-236f-412e-b9db-1ae902c969b0.webp?v=1706000504"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/957f90bd6a6052fca295ae9ac29f141355cf40bb_7a789100-236f-412e-b9db-1ae902c969b0.webp?v=1706000504","width":2000},{"alt":null,"id":23201898397795,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36409e046c300031889d25a27d44f8f7798ffb12_65048ded-eea0-4c7e-86d8-be3c4d06973e.webp?v=1706000506"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36409e046c300031889d25a27d44f8f7798ffb12_65048ded-eea0-4c7e-86d8-be3c4d06973e.webp?v=1706000506","width":2000},{"alt":null,"id":23201898823779,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48d2d2e6c0558a8f8559f63cb9275ee46ea30048_1d8bb8e1-7bc0-42d2-a20c-1a1a44370199.webp?v=1706000508"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48d2d2e6c0558a8f8559f63cb9275ee46ea30048_1d8bb8e1-7bc0-42d2-a20c-1a1a44370199.webp?v=1706000508","width":2000},{"alt":null,"id":23201899413603,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4474f9e1e6604804a695d71c321ca91c7819682c_f8da2a4f-8c42-4b4c-8787-8ce374581bc7.webp?v=1706000511"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4474f9e1e6604804a695d71c321ca91c7819682c_f8da2a4f-8c42-4b4c-8787-8ce374581bc7.webp?v=1706000511","width":2000},{"alt":null,"id":23207124402275,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/957f90bd6a6052fca295ae9ac29f141355cf40bb_0b2d7a8b-c596-4aaa-98ca-a0544fafcd84.webp?v=1706062559"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/957f90bd6a6052fca295ae9ac29f141355cf40bb_0b2d7a8b-c596-4aaa-98ca-a0544fafcd84.webp?v=1706062559","width":2000},{"alt":null,"id":23207125811299,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48d2d2e6c0558a8f8559f63cb9275ee46ea30048_aa6e543a-e2eb-48fa-a012-08e5f2cb5a83.webp?v=1706062561"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48d2d2e6c0558a8f8559f63cb9275ee46ea30048_aa6e543a-e2eb-48fa-a012-08e5f2cb5a83.webp?v=1706062561","width":2000},{"alt":null,"id":23207126892643,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39f3b01372dc0fbdfe909e03b87e55c49b435112_271f5241-1be1-4842-909c-7a147b685cf8.webp?v=1706062564"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39f3b01372dc0fbdfe909e03b87e55c49b435112_271f5241-1be1-4842-909c-7a147b685cf8.webp?v=1706062564","width":2000},{"alt":null,"id":23207128105059,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36409e046c300031889d25a27d44f8f7798ffb12_1c140b05-3bf9-4bff-bedd-0479b7a37d33.webp?v=1706062566"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36409e046c300031889d25a27d44f8f7798ffb12_1c140b05-3bf9-4bff-bedd-0479b7a37d33.webp?v=1706062566","width":2000},{"alt":null,"id":23208289697891,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39f3b01372dc0fbdfe909e03b87e55c49b435112_59c42e92-4b9e-4dec-8b1a-648d760683ef.webp?v=1706065585"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39f3b01372dc0fbdfe909e03b87e55c49b435112_59c42e92-4b9e-4dec-8b1a-648d760683ef.webp?v=1706065585","width":2000},{"alt":null,"id":23208290386019,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/957f90bd6a6052fca295ae9ac29f141355cf40bb_d67f2c2a-772c-4d50-8f46-e927fe0ad815.webp?v=1706065587"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/957f90bd6a6052fca295ae9ac29f141355cf40bb_d67f2c2a-772c-4d50-8f46-e927fe0ad815.webp?v=1706065587","width":2000},{"alt":null,"id":23208290844771,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1717fb341a28896c1ca07b49f0bd758e4b22b20_f99556d0-93c2-4ea9-ba54-899e88ca4a58.webp?v=1706065590"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1717fb341a28896c1ca07b49f0bd758e4b22b20_f99556d0-93c2-4ea9-ba54-899e88ca4a58.webp?v=1706065590","width":2000},{"alt":null,"id":23208291598435,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36409e046c300031889d25a27d44f8f7798ffb12_36e482b2-2efb-4e41-bcd8-a73bc451e5d3.webp?v=1706065592"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36409e046c300031889d25a27d44f8f7798ffb12_36e482b2-2efb-4e41-bcd8-a73bc451e5d3.webp?v=1706065592","width":2000},{"alt":null,"id":23208292253795,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4474f9e1e6604804a695d71c321ca91c7819682c_956eeed9-9d04-46f3-ae4a-d694df15f086.webp?v=1706065594"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4474f9e1e6604804a695d71c321ca91c7819682c_956eeed9-9d04-46f3-ae4a-d694df15f086.webp?v=1706065594","width":2000},{"alt":null,"id":23208292810851,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48d2d2e6c0558a8f8559f63cb9275ee46ea30048_04db02be-d4e6-4a06-9230-23c1f4324318.webp?v=1706065597"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48d2d2e6c0558a8f8559f63cb9275ee46ea30048_04db02be-d4e6-4a06-9230-23c1f4324318.webp?v=1706065597","width":2000},{"alt":null,"id":23208293367907,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd791069908e4bc595a1f45965c2307dd68512e7_eeca14e9-eea3-49f1-bf31-12f3f58c4225.webp?v=1706065599"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd791069908e4bc595a1f45965c2307dd68512e7_eeca14e9-eea3-49f1-bf31-12f3f58c4225.webp?v=1706065599","width":2000},{"alt":null,"id":27649628962915,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/703d93d9e9e23cd9234fe56e21b222c7b06ce955.webp?v=1782887610"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/703d93d9e9e23cd9234fe56e21b222c7b06ce955.webp?v=1782887610","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41197074186339,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0106452-IV01","requires_shipping":true,"taxable":true,"featured_image":{"id":36144741711971,"product_id":7155875807331,"position":19,"created_at":"2026-07-01T14:33:28+08:00","updated_at":"2026-07-01T14:33:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/703d93d9e9e23cd9234fe56e21b222c7b06ce955.webp?v=1782887610","variant_ids":[41197074186339]},"available":true,"name":"iPhone X SolidSuit 1G 生日帽 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0106452-IV01","featured_media":{"alt":null,"id":27649628962915,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/703d93d9e9e23cd9234fe56e21b222c7b06ce955.webp?v=1782887610"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41197074382947,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"SST01064P2-IV01","requires_shipping":true,"taxable":true,"featured_image":{"id":30837373993059,"product_id":7155875807331,"position":15,"created_at":"2024-01-24T11:06:32+08:00","updated_at":"2024-01-24T11:06:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36409e046c300031889d25a27d44f8f7798ffb12_36e482b2-2efb-4e41-bcd8-a73bc451e5d3.webp?v=1706065592","variant_ids":[41197074382947]},"available":true,"name":"iPhone X SolidSuit 1G 生日帽 - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":23208291598435,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36409e046c300031889d25a27d44f8f7798ffb12_36e482b2-2efb-4e41-bcd8-a73bc451e5d3.webp?v=1706065592"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41197074186339,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0106452-IV01","requires_shipping":true,"taxable":true,"featured_image":{"id":36144741711971,"product_id":7155875807331,"position":19,"created_at":"2026-07-01T14:33:28+08:00","updated_at":"2026-07-01T14:33:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/703d93d9e9e23cd9234fe56e21b222c7b06ce955.webp?v=1782887610","variant_ids":[41197074186339]},"available":true,"name":"iPhone X SolidSuit 1G 生日帽 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0106452-IV01","featured_media":{"alt":null,"id":27649628962915,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/703d93d9e9e23cd9234fe56e21b222c7b06ce955.webp?v=1782887610"}},"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: "停產" }