$product = {"id":6901895856227,"title":"通用 機能快扣背帶掛繩","handle":"utility-crossbody-lanyard-featured-product","description":"\u003cp\u003e \u003cspan data-mce-fragment=\"1\"\u003e建議售價 $\u003c\/span\u003e\u003cspan mce-data-marked=\"1\" data-mce-fragment=\"1\"\u003e1,180\u003c\/span\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cspan data-mce-fragment=\"1\"\u003e產品包含:掛繩\u003c\/span\u003e\u003cspan data-mce-fragment=\"1\"\u003e x 1\u003c\/span\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cspan data-mce-fragment=\"1\"\u003e\u003c\/span\u003e\u003cstrong data-mce-fragment=\"1\"\u003e本產品不含掛片,需另外選購。\u003c\/strong\u003e\u003cbr\u003e\u003c\/p\u003e","published_at":"2024-11-18T14:39:51+08:00","created_at":"2023-03-20T15:54:50+08:00","vendor":"RhinoShield by Evolutive Labs","type":"Lanyard","tags":["20%","25%","30%","35%","40%","45%","50%","brand-No Brand","caribou:40307175063651:3131335:3","caribou:40307175096419:3131336:1","caribou:42972241625187:3150510:1","caribou:42972241657955:3131334:1","discountable","discountable-item","dropdownDevice-No Brand 通用","featured-product","member","quickbuy","reseller","reseller-utility-crossbody-lanyard","type-utility-crossbody-lanyard-featured-product","viewable"],"price":118000,"price_min":118000,"price_max":118000,"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":42972241625187,"title":"銀灰色","option1":"銀灰色","option2":null,"option3":null,"sku":"LYD000001V","requires_shipping":true,"taxable":true,"featured_image":{"id":32910896103523,"product_id":6901895856227,"position":11,"created_at":"2024-11-18T14:38:40+08:00","updated_at":"2024-11-18T14:38:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc31aed060891a959dec1f698033f64196537f78_1bcfd7ee-f295-490c-8c0e-d8540cb3a14c.webp?v=1731911920","variant_ids":[42972241625187]},"available":true,"name":"通用 機能快扣背帶掛繩 - 銀灰色","public_title":"銀灰色","options":["銀灰色"],"price":118000,"weight":1180,"compare_at_price":null,"inventory_quantity":999999999,"inventory_management":null,"inventory_policy":"deny","barcode":"4711366136383","featured_media":{"alt":null,"id":24975109652579,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc31aed060891a959dec1f698033f64196537f78_1bcfd7ee-f295-490c-8c0e-d8540cb3a14c.webp?v=1731911920"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42972241657955,"title":"黑","option1":"黑","option2":null,"option3":null,"sku":"LYD00000U4","requires_shipping":true,"taxable":true,"featured_image":{"id":32910895874147,"product_id":6901895856227,"position":10,"created_at":"2024-11-18T14:38:38+08:00","updated_at":"2024-11-18T14:38:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d45c2d94c7d605a6aa68d20dc4c7ee0c83e3641_f3787de1-103a-4715-b549-cc72a9867dba.webp?v=1731911918","variant_ids":[42972241657955]},"available":true,"name":"通用 機能快扣背帶掛繩 - 黑","public_title":"黑","options":["黑"],"price":118000,"weight":1180,"compare_at_price":null,"inventory_quantity":999999979,"inventory_management":null,"inventory_policy":"deny","barcode":"4711366116019","featured_media":{"alt":null,"id":24975109521507,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d45c2d94c7d605a6aa68d20dc4c7ee0c83e3641_f3787de1-103a-4715-b549-cc72a9867dba.webp?v=1731911918"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40307175063651,"title":"卡其","option1":"卡其","option2":null,"option3":null,"sku":"LYD00000U5","requires_shipping":true,"taxable":true,"featured_image":{"id":32910895710307,"product_id":6901895856227,"position":9,"created_at":"2024-11-18T14:38:35+08:00","updated_at":"2024-11-18T14:38:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e335ac217b5327e9c909fd0588f12cf79a657134_3d334aa9-39a0-40dc-99ab-a74c005a2e78.webp?v=1731911915","variant_ids":[40307175063651]},"available":true,"name":"通用 機能快扣背帶掛繩 - 卡其","public_title":"卡其","options":["卡其"],"price":118000,"weight":1180,"compare_at_price":null,"inventory_quantity":-2024,"inventory_management":null,"inventory_policy":"deny","barcode":"4711366116026","featured_media":{"alt":null,"id":24975109423203,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e335ac217b5327e9c909fd0588f12cf79a657134_3d334aa9-39a0-40dc-99ab-a74c005a2e78.webp?v=1731911915"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40307175096419,"title":"軍綠","option1":"軍綠","option2":null,"option3":null,"sku":"LYD00000U6","requires_shipping":true,"taxable":true,"featured_image":{"id":32910895218787,"product_id":6901895856227,"position":8,"created_at":"2024-11-18T14:38:33+08:00","updated_at":"2024-11-18T14:38:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5876a5096a1d4c078ed05c22491a4ef3c53138a4_0fc3ccf4-88a1-4384-a5df-8ae36ca935a8.webp?v=1731911913","variant_ids":[40307175096419]},"available":true,"name":"通用 機能快扣背帶掛繩 - 軍綠","public_title":"軍綠","options":["軍綠"],"price":118000,"weight":1180,"compare_at_price":null,"inventory_quantity":-3330,"inventory_management":null,"inventory_policy":"deny","barcode":"4711366116033","featured_media":{"alt":null,"id":24975109193827,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5876a5096a1d4c078ed05c22491a4ef3c53138a4_0fc3ccf4-88a1-4384-a5df-8ae36ca935a8.webp?v=1731911913"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5876a5096a1d4c078ed05c22491a4ef3c53138a4_30c8bd1b-9406-447c-91ba-021ba26649df.webp?v=1731911624","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc31aed060891a959dec1f698033f64196537f78.webp?v=1731911629","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e335ac217b5327e9c909fd0588f12cf79a657134_86c9137f-d428-49e8-9065-c0c24f2e9d10.webp?v=1731911631","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5876a5096a1d4c078ed05c22491a4ef3c53138a4_a3f4c256-5ff9-4610-9c9c-79fd68826e38.webp?v=1731911784","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc31aed060891a959dec1f698033f64196537f78_e507dc9c-335b-408d-9faa-15c643b4a9bd.webp?v=1731911786","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e335ac217b5327e9c909fd0588f12cf79a657134_18695417-a795-42db-9245-fe699e415b41.webp?v=1731911789","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d45c2d94c7d605a6aa68d20dc4c7ee0c83e3641_4db9b6bc-0d87-4b49-a0d9-66d5d9b4ac0c.webp?v=1731911791","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5876a5096a1d4c078ed05c22491a4ef3c53138a4_0fc3ccf4-88a1-4384-a5df-8ae36ca935a8.webp?v=1731911913","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e335ac217b5327e9c909fd0588f12cf79a657134_3d334aa9-39a0-40dc-99ab-a74c005a2e78.webp?v=1731911915","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d45c2d94c7d605a6aa68d20dc4c7ee0c83e3641_f3787de1-103a-4715-b549-cc72a9867dba.webp?v=1731911918","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc31aed060891a959dec1f698033f64196537f78_1bcfd7ee-f295-490c-8c0e-d8540cb3a14c.webp?v=1731911920"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5876a5096a1d4c078ed05c22491a4ef3c53138a4_30c8bd1b-9406-447c-91ba-021ba26649df.webp?v=1731911624","options":["color"],"media":[{"alt":null,"id":24975100477539,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5876a5096a1d4c078ed05c22491a4ef3c53138a4_30c8bd1b-9406-447c-91ba-021ba26649df.webp?v=1731911624"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5876a5096a1d4c078ed05c22491a4ef3c53138a4_30c8bd1b-9406-447c-91ba-021ba26649df.webp?v=1731911624","width":2000},{"alt":null,"id":24975100641379,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc31aed060891a959dec1f698033f64196537f78.webp?v=1731911629"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc31aed060891a959dec1f698033f64196537f78.webp?v=1731911629","width":2000},{"alt":null,"id":24975100805219,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e335ac217b5327e9c909fd0588f12cf79a657134_86c9137f-d428-49e8-9065-c0c24f2e9d10.webp?v=1731911631"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e335ac217b5327e9c909fd0588f12cf79a657134_86c9137f-d428-49e8-9065-c0c24f2e9d10.webp?v=1731911631","width":2000},{"alt":null,"id":24975104540771,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5876a5096a1d4c078ed05c22491a4ef3c53138a4_a3f4c256-5ff9-4610-9c9c-79fd68826e38.webp?v=1731911784"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5876a5096a1d4c078ed05c22491a4ef3c53138a4_a3f4c256-5ff9-4610-9c9c-79fd68826e38.webp?v=1731911784","width":2000},{"alt":null,"id":24975104737379,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc31aed060891a959dec1f698033f64196537f78_e507dc9c-335b-408d-9faa-15c643b4a9bd.webp?v=1731911786"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc31aed060891a959dec1f698033f64196537f78_e507dc9c-335b-408d-9faa-15c643b4a9bd.webp?v=1731911786","width":2000},{"alt":null,"id":24975104835683,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e335ac217b5327e9c909fd0588f12cf79a657134_18695417-a795-42db-9245-fe699e415b41.webp?v=1731911789"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e335ac217b5327e9c909fd0588f12cf79a657134_18695417-a795-42db-9245-fe699e415b41.webp?v=1731911789","width":2000},{"alt":null,"id":24975104966755,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d45c2d94c7d605a6aa68d20dc4c7ee0c83e3641_4db9b6bc-0d87-4b49-a0d9-66d5d9b4ac0c.webp?v=1731911791"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d45c2d94c7d605a6aa68d20dc4c7ee0c83e3641_4db9b6bc-0d87-4b49-a0d9-66d5d9b4ac0c.webp?v=1731911791","width":2000},{"alt":null,"id":24975109193827,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5876a5096a1d4c078ed05c22491a4ef3c53138a4_0fc3ccf4-88a1-4384-a5df-8ae36ca935a8.webp?v=1731911913"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5876a5096a1d4c078ed05c22491a4ef3c53138a4_0fc3ccf4-88a1-4384-a5df-8ae36ca935a8.webp?v=1731911913","width":2000},{"alt":null,"id":24975109423203,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e335ac217b5327e9c909fd0588f12cf79a657134_3d334aa9-39a0-40dc-99ab-a74c005a2e78.webp?v=1731911915"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e335ac217b5327e9c909fd0588f12cf79a657134_3d334aa9-39a0-40dc-99ab-a74c005a2e78.webp?v=1731911915","width":2000},{"alt":null,"id":24975109521507,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d45c2d94c7d605a6aa68d20dc4c7ee0c83e3641_f3787de1-103a-4715-b549-cc72a9867dba.webp?v=1731911918"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d45c2d94c7d605a6aa68d20dc4c7ee0c83e3641_f3787de1-103a-4715-b549-cc72a9867dba.webp?v=1731911918","width":2000},{"alt":null,"id":24975109652579,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc31aed060891a959dec1f698033f64196537f78_1bcfd7ee-f295-490c-8c0e-d8540cb3a14c.webp?v=1731911920"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc31aed060891a959dec1f698033f64196537f78_1bcfd7ee-f295-490c-8c0e-d8540cb3a14c.webp?v=1731911920","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cp\u003e \u003cspan data-mce-fragment=\"1\"\u003e建議售價 $\u003c\/span\u003e\u003cspan mce-data-marked=\"1\" data-mce-fragment=\"1\"\u003e1,180\u003c\/span\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cspan data-mce-fragment=\"1\"\u003e產品包含:掛繩\u003c\/span\u003e\u003cspan data-mce-fragment=\"1\"\u003e x 1\u003c\/span\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003cspan data-mce-fragment=\"1\"\u003e\u003c\/span\u003e\u003cstrong data-mce-fragment=\"1\"\u003e本產品不含掛片,需另外選購。\u003c\/strong\u003e\u003cbr\u003e\u003c\/p\u003e"}; $bumper = null; $variants = [{"id":42972241625187,"title":"銀灰色","option1":"銀灰色","option2":null,"option3":null,"sku":"LYD000001V","requires_shipping":true,"taxable":true,"featured_image":{"id":32910896103523,"product_id":6901895856227,"position":11,"created_at":"2024-11-18T14:38:40+08:00","updated_at":"2024-11-18T14:38:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc31aed060891a959dec1f698033f64196537f78_1bcfd7ee-f295-490c-8c0e-d8540cb3a14c.webp?v=1731911920","variant_ids":[42972241625187]},"available":true,"name":"通用 機能快扣背帶掛繩 - 銀灰色","public_title":"銀灰色","options":["銀灰色"],"price":118000,"weight":1180,"compare_at_price":null,"inventory_quantity":999999999,"inventory_management":null,"inventory_policy":"deny","barcode":"4711366136383","featured_media":{"alt":null,"id":24975109652579,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc31aed060891a959dec1f698033f64196537f78_1bcfd7ee-f295-490c-8c0e-d8540cb3a14c.webp?v=1731911920"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42972241657955,"title":"黑","option1":"黑","option2":null,"option3":null,"sku":"LYD00000U4","requires_shipping":true,"taxable":true,"featured_image":{"id":32910895874147,"product_id":6901895856227,"position":10,"created_at":"2024-11-18T14:38:38+08:00","updated_at":"2024-11-18T14:38:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d45c2d94c7d605a6aa68d20dc4c7ee0c83e3641_f3787de1-103a-4715-b549-cc72a9867dba.webp?v=1731911918","variant_ids":[42972241657955]},"available":true,"name":"通用 機能快扣背帶掛繩 - 黑","public_title":"黑","options":["黑"],"price":118000,"weight":1180,"compare_at_price":null,"inventory_quantity":999999979,"inventory_management":null,"inventory_policy":"deny","barcode":"4711366116019","featured_media":{"alt":null,"id":24975109521507,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d45c2d94c7d605a6aa68d20dc4c7ee0c83e3641_f3787de1-103a-4715-b549-cc72a9867dba.webp?v=1731911918"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40307175063651,"title":"卡其","option1":"卡其","option2":null,"option3":null,"sku":"LYD00000U5","requires_shipping":true,"taxable":true,"featured_image":{"id":32910895710307,"product_id":6901895856227,"position":9,"created_at":"2024-11-18T14:38:35+08:00","updated_at":"2024-11-18T14:38:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e335ac217b5327e9c909fd0588f12cf79a657134_3d334aa9-39a0-40dc-99ab-a74c005a2e78.webp?v=1731911915","variant_ids":[40307175063651]},"available":true,"name":"通用 機能快扣背帶掛繩 - 卡其","public_title":"卡其","options":["卡其"],"price":118000,"weight":1180,"compare_at_price":null,"inventory_quantity":-2024,"inventory_management":null,"inventory_policy":"deny","barcode":"4711366116026","featured_media":{"alt":null,"id":24975109423203,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e335ac217b5327e9c909fd0588f12cf79a657134_3d334aa9-39a0-40dc-99ab-a74c005a2e78.webp?v=1731911915"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40307175096419,"title":"軍綠","option1":"軍綠","option2":null,"option3":null,"sku":"LYD00000U6","requires_shipping":true,"taxable":true,"featured_image":{"id":32910895218787,"product_id":6901895856227,"position":8,"created_at":"2024-11-18T14:38:33+08:00","updated_at":"2024-11-18T14:38:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5876a5096a1d4c078ed05c22491a4ef3c53138a4_0fc3ccf4-88a1-4384-a5df-8ae36ca935a8.webp?v=1731911913","variant_ids":[40307175096419]},"available":true,"name":"通用 機能快扣背帶掛繩 - 軍綠","public_title":"軍綠","options":["軍綠"],"price":118000,"weight":1180,"compare_at_price":null,"inventory_quantity":-3330,"inventory_management":null,"inventory_policy":"deny","barcode":"4711366116033","featured_media":{"alt":null,"id":24975109193827,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5876a5096a1d4c078ed05c22491a4ef3c53138a4_0fc3ccf4-88a1-4384-a5df-8ae36ca935a8.webp?v=1731911913"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":42972241625187,"title":"銀灰色","option1":"銀灰色","option2":null,"option3":null,"sku":"LYD000001V","requires_shipping":true,"taxable":true,"featured_image":{"id":32910896103523,"product_id":6901895856227,"position":11,"created_at":"2024-11-18T14:38:40+08:00","updated_at":"2024-11-18T14:38:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc31aed060891a959dec1f698033f64196537f78_1bcfd7ee-f295-490c-8c0e-d8540cb3a14c.webp?v=1731911920","variant_ids":[42972241625187]},"available":true,"name":"通用 機能快扣背帶掛繩 - 銀灰色","public_title":"銀灰色","options":["銀灰色"],"price":118000,"weight":1180,"compare_at_price":null,"inventory_quantity":999999999,"inventory_management":null,"inventory_policy":"deny","barcode":"4711366136383","featured_media":{"alt":null,"id":24975109652579,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc31aed060891a959dec1f698033f64196537f78_1bcfd7ee-f295-490c-8c0e-d8540cb3a14c.webp?v=1731911920"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; var sellingStatus; $device_handle = null 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 storedData = sessionStorage.getItem('sellingStatusData'); try { sellingStatusData = JSON.parse(storedData) } catch (error) { console.error('JSON.parse Error', error) sellingStatusData = null } $(document).ready(function() { handleSellingStatus($defaultVariant.sku, sellingStatusData); }); function handleSellingStatus(currentSku, sellingStatusData) { const sellingStatusElement = document.getElementById('selling-status') const addToCartButton = document.getElementById('AddToCart-product-template') const currentProductSku = currentSku.replace(/-(.*)$/, '-') if ($variants) { const matchSellingStatusProduct = sellingStatusData.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, sellingStatusData) }); });
// 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: "停產" }