$product = {"id":7409656365155,"title":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 春天來了","handle":"iphone-11-mod-nx-printable-kc12","description":null,"published_at":"2024-06-11T16:46:29+08:00","created_at":"2024-05-04T14:01:19+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"MOD NX 客製化","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","device-iPhone 11","discountable-item","member","merge","mod-nx-printable","new-modnx-sku","reseller","reseller-modnx-nature-explorers","Top50","type-Mod NX Printable"],"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":41891582214243,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114824-KC12","requires_shipping":true,"taxable":true,"featured_image":{"id":31476457930851,"product_id":7409656365155,"position":1,"created_at":"2024-05-04T14:01:21+08:00","updated_at":"2024-05-04T14:01:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a428046e8d76f751e2ea09438dd483e769c2d98_cf334f56-a40a-4303-9a20-e186de25a676.webp?v=1714802481","variant_ids":[41891582214243]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 春天來了 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114824-KC12","featured_media":{"alt":null,"id":23881669640291,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a428046e8d76f751e2ea09438dd483e769c2d98_cf334f56-a40a-4303-9a20-e186de25a676.webp?v=1714802481"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41891582279779,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0114804-KC12","requires_shipping":true,"taxable":true,"featured_image":{"id":31476461797475,"product_id":7409656365155,"position":9,"created_at":"2024-05-04T14:01:41+08:00","updated_at":"2024-05-04T14:01:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df7221e8ca2e392b923bd1e1ae37812c84bb6071_7c08b901-7a16-410f-aa1b-614273218cb8.webp?v=1714802501","variant_ids":[41891582279779]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 春天來了 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114804-KC12","featured_media":{"alt":null,"id":23881673539683,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df7221e8ca2e392b923bd1e1ae37812c84bb6071_7c08b901-7a16-410f-aa1b-614273218cb8.webp?v=1714802501"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41891582410851,"title":"Mod NX-軍綠邊框","option1":"Mod NX-軍綠邊框","option2":null,"option3":null,"sku":"NPB0114815-KC12","requires_shipping":true,"taxable":true,"featured_image":{"id":31476459896931,"product_id":7409656365155,"position":5,"created_at":"2024-05-04T14:01:31+08:00","updated_at":"2024-05-04T14:01:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3938e060146916c1d5f91d3a83f7a0df95d62c92_45acf1f2-1322-4b3d-b918-fb273cda84be.webp?v=1714802491","variant_ids":[41891582410851]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 春天來了 - Mod NX-軍綠邊框","public_title":"Mod NX-軍綠邊框","options":["Mod NX-軍綠邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114815-KC12","featured_media":{"alt":null,"id":23881671671907,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3938e060146916c1d5f91d3a83f7a0df95d62c92_45acf1f2-1322-4b3d-b918-fb273cda84be.webp?v=1714802491"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41891582476387,"title":"Mod NX-薰衣紫邊框","option1":"Mod NX-薰衣紫邊框","option2":null,"option3":null,"sku":"NPB01148C1-KC12","requires_shipping":true,"taxable":true,"featured_image":{"id":31476459470947,"product_id":7409656365155,"position":4,"created_at":"2024-05-04T14:01:29+08:00","updated_at":"2024-05-04T14:01:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6ddb25da6f6f51781b210c97a1dcdb26dcf1456_7987f941-6a70-46d0-a359-6a71ce50ef0b.webp?v=1714802489","variant_ids":[41891582476387]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 春天來了 - Mod NX-薰衣紫邊框","public_title":"Mod NX-薰衣紫邊框","options":["Mod NX-薰衣紫邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01148C1-KC12","featured_media":{"alt":null,"id":23881671213155,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6ddb25da6f6f51781b210c97a1dcdb26dcf1456_7987f941-6a70-46d0-a359-6a71ce50ef0b.webp?v=1714802489"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a428046e8d76f751e2ea09438dd483e769c2d98_cf334f56-a40a-4303-9a20-e186de25a676.webp?v=1714802481","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c739bdf48dde77b0b03bcc9350a90354bcf8d52_b513203a-5e5a-4d21-a269-c87273bb4ea7.webp?v=1714802484","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8664ce91029d6a3ecedc05b2e55f90985dda1abe_9ff9e4cb-0284-46b9-b8b0-e7017c1b5273.webp?v=1714802486","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6ddb25da6f6f51781b210c97a1dcdb26dcf1456_7987f941-6a70-46d0-a359-6a71ce50ef0b.webp?v=1714802489","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3938e060146916c1d5f91d3a83f7a0df95d62c92_45acf1f2-1322-4b3d-b918-fb273cda84be.webp?v=1714802491","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1c5b8948720a3e8a3feda50bc4e4b73dd7f8423_775e36c5-5ab8-4017-915a-2b6826a21048.webp?v=1714802494","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf35646cd5bdeb4a370f39f9ea5506e1bdbf530b_0b8ab269-30d1-4d2a-9756-41884511046d.webp?v=1714802496","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/483f754aae6aad24e6edfc97cf379f5a847e6896_271077b0-b253-4371-9115-88a8d1d6a7a0.webp?v=1714802498","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df7221e8ca2e392b923bd1e1ae37812c84bb6071_7c08b901-7a16-410f-aa1b-614273218cb8.webp?v=1714802501","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd24d905bac18e970bd4b9e70a72d0548fe3b8f7_c5518e9f-74e1-4f61-baa8-f71583a71f62.webp?v=1714802503","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abfd9387ff3baf81a340fd1f0b3ec50ba2f961d1_00646782-c07b-49ba-b88c-2edc7a9f96d8.webp?v=1714802506"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a428046e8d76f751e2ea09438dd483e769c2d98_cf334f56-a40a-4303-9a20-e186de25a676.webp?v=1714802481","options":["color"],"media":[{"alt":null,"id":23881669640291,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a428046e8d76f751e2ea09438dd483e769c2d98_cf334f56-a40a-4303-9a20-e186de25a676.webp?v=1714802481"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a428046e8d76f751e2ea09438dd483e769c2d98_cf334f56-a40a-4303-9a20-e186de25a676.webp?v=1714802481","width":2000},{"alt":null,"id":23881670197347,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c739bdf48dde77b0b03bcc9350a90354bcf8d52_b513203a-5e5a-4d21-a269-c87273bb4ea7.webp?v=1714802484"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c739bdf48dde77b0b03bcc9350a90354bcf8d52_b513203a-5e5a-4d21-a269-c87273bb4ea7.webp?v=1714802484","width":2000},{"alt":null,"id":23881670754403,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8664ce91029d6a3ecedc05b2e55f90985dda1abe_9ff9e4cb-0284-46b9-b8b0-e7017c1b5273.webp?v=1714802486"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8664ce91029d6a3ecedc05b2e55f90985dda1abe_9ff9e4cb-0284-46b9-b8b0-e7017c1b5273.webp?v=1714802486","width":2000},{"alt":null,"id":23881671213155,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6ddb25da6f6f51781b210c97a1dcdb26dcf1456_7987f941-6a70-46d0-a359-6a71ce50ef0b.webp?v=1714802489"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6ddb25da6f6f51781b210c97a1dcdb26dcf1456_7987f941-6a70-46d0-a359-6a71ce50ef0b.webp?v=1714802489","width":2000},{"alt":null,"id":23881671671907,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3938e060146916c1d5f91d3a83f7a0df95d62c92_45acf1f2-1322-4b3d-b918-fb273cda84be.webp?v=1714802491"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3938e060146916c1d5f91d3a83f7a0df95d62c92_45acf1f2-1322-4b3d-b918-fb273cda84be.webp?v=1714802491","width":2000},{"alt":null,"id":23881672065123,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1c5b8948720a3e8a3feda50bc4e4b73dd7f8423_775e36c5-5ab8-4017-915a-2b6826a21048.webp?v=1714802494"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1c5b8948720a3e8a3feda50bc4e4b73dd7f8423_775e36c5-5ab8-4017-915a-2b6826a21048.webp?v=1714802494","width":2000},{"alt":null,"id":23881672458339,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf35646cd5bdeb4a370f39f9ea5506e1bdbf530b_0b8ab269-30d1-4d2a-9756-41884511046d.webp?v=1714802496"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf35646cd5bdeb4a370f39f9ea5506e1bdbf530b_0b8ab269-30d1-4d2a-9756-41884511046d.webp?v=1714802496","width":2000},{"alt":null,"id":23881673015395,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/483f754aae6aad24e6edfc97cf379f5a847e6896_271077b0-b253-4371-9115-88a8d1d6a7a0.webp?v=1714802498"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/483f754aae6aad24e6edfc97cf379f5a847e6896_271077b0-b253-4371-9115-88a8d1d6a7a0.webp?v=1714802498","width":2000},{"alt":null,"id":23881673539683,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df7221e8ca2e392b923bd1e1ae37812c84bb6071_7c08b901-7a16-410f-aa1b-614273218cb8.webp?v=1714802501"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df7221e8ca2e392b923bd1e1ae37812c84bb6071_7c08b901-7a16-410f-aa1b-614273218cb8.webp?v=1714802501","width":2000},{"alt":null,"id":23881674195043,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd24d905bac18e970bd4b9e70a72d0548fe3b8f7_c5518e9f-74e1-4f61-baa8-f71583a71f62.webp?v=1714802503"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd24d905bac18e970bd4b9e70a72d0548fe3b8f7_c5518e9f-74e1-4f61-baa8-f71583a71f62.webp?v=1714802503","width":2000},{"alt":null,"id":23881674817635,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abfd9387ff3baf81a340fd1f0b3ec50ba2f961d1_00646782-c07b-49ba-b88c-2edc7a9f96d8.webp?v=1714802506"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abfd9387ff3baf81a340fd1f0b3ec50ba2f961d1_00646782-c07b-49ba-b88c-2edc7a9f96d8.webp?v=1714802506","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41891582214243,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114824-KC12","requires_shipping":true,"taxable":true,"featured_image":{"id":31476457930851,"product_id":7409656365155,"position":1,"created_at":"2024-05-04T14:01:21+08:00","updated_at":"2024-05-04T14:01:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a428046e8d76f751e2ea09438dd483e769c2d98_cf334f56-a40a-4303-9a20-e186de25a676.webp?v=1714802481","variant_ids":[41891582214243]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 春天來了 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114824-KC12","featured_media":{"alt":null,"id":23881669640291,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a428046e8d76f751e2ea09438dd483e769c2d98_cf334f56-a40a-4303-9a20-e186de25a676.webp?v=1714802481"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41891582279779,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0114804-KC12","requires_shipping":true,"taxable":true,"featured_image":{"id":31476461797475,"product_id":7409656365155,"position":9,"created_at":"2024-05-04T14:01:41+08:00","updated_at":"2024-05-04T14:01:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df7221e8ca2e392b923bd1e1ae37812c84bb6071_7c08b901-7a16-410f-aa1b-614273218cb8.webp?v=1714802501","variant_ids":[41891582279779]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 春天來了 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114804-KC12","featured_media":{"alt":null,"id":23881673539683,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df7221e8ca2e392b923bd1e1ae37812c84bb6071_7c08b901-7a16-410f-aa1b-614273218cb8.webp?v=1714802501"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41891582410851,"title":"Mod NX-軍綠邊框","option1":"Mod NX-軍綠邊框","option2":null,"option3":null,"sku":"NPB0114815-KC12","requires_shipping":true,"taxable":true,"featured_image":{"id":31476459896931,"product_id":7409656365155,"position":5,"created_at":"2024-05-04T14:01:31+08:00","updated_at":"2024-05-04T14:01:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3938e060146916c1d5f91d3a83f7a0df95d62c92_45acf1f2-1322-4b3d-b918-fb273cda84be.webp?v=1714802491","variant_ids":[41891582410851]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 春天來了 - Mod NX-軍綠邊框","public_title":"Mod NX-軍綠邊框","options":["Mod NX-軍綠邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114815-KC12","featured_media":{"alt":null,"id":23881671671907,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3938e060146916c1d5f91d3a83f7a0df95d62c92_45acf1f2-1322-4b3d-b918-fb273cda84be.webp?v=1714802491"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41891582476387,"title":"Mod NX-薰衣紫邊框","option1":"Mod NX-薰衣紫邊框","option2":null,"option3":null,"sku":"NPB01148C1-KC12","requires_shipping":true,"taxable":true,"featured_image":{"id":31476459470947,"product_id":7409656365155,"position":4,"created_at":"2024-05-04T14:01:29+08:00","updated_at":"2024-05-04T14:01:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6ddb25da6f6f51781b210c97a1dcdb26dcf1456_7987f941-6a70-46d0-a359-6a71ce50ef0b.webp?v=1714802489","variant_ids":[41891582476387]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 春天來了 - Mod NX-薰衣紫邊框","public_title":"Mod NX-薰衣紫邊框","options":["Mod NX-薰衣紫邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01148C1-KC12","featured_media":{"alt":null,"id":23881671213155,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6ddb25da6f6f51781b210c97a1dcdb26dcf1456_7987f941-6a70-46d0-a359-6a71ce50ef0b.webp?v=1714802489"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41891582214243,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114824-KC12","requires_shipping":true,"taxable":true,"featured_image":{"id":31476457930851,"product_id":7409656365155,"position":1,"created_at":"2024-05-04T14:01:21+08:00","updated_at":"2024-05-04T14:01:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a428046e8d76f751e2ea09438dd483e769c2d98_cf334f56-a40a-4303-9a20-e186de25a676.webp?v=1714802481","variant_ids":[41891582214243]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 春天來了 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114824-KC12","featured_media":{"alt":null,"id":23881669640291,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a428046e8d76f751e2ea09438dd483e769c2d98_cf334f56-a40a-4303-9a20-e186de25a676.webp?v=1714802481"}},"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: "停產" }