$product = {"id":7409641422947,"title":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 胡迪小背心","handle":"iphone-11-mod-nx-printable-pa02","description":null,"published_at":"2024-06-11T16:46:14+08:00","created_at":"2024-05-04T13:58:11+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":41891457237091,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114824-PA02","requires_shipping":true,"taxable":true,"featured_image":{"id":31476424835171,"product_id":7409641422947,"position":11,"created_at":"2024-05-04T13:58:37+08:00","updated_at":"2024-05-04T13:58:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c123cda2b0d4529cafa7e0e259c21908647a3fc_3724d189-9301-406c-b360-eaa7178869fd.webp?v=1714802317","variant_ids":[41891457237091]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 胡迪小背心 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114824-PA02","featured_media":{"alt":null,"id":23881636446307,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c123cda2b0d4529cafa7e0e259c21908647a3fc_3724d189-9301-406c-b360-eaa7178869fd.webp?v=1714802317"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41891457302627,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0114804-PA02","requires_shipping":true,"taxable":true,"featured_image":{"id":31476422901859,"product_id":7409641422947,"position":7,"created_at":"2024-05-04T13:58:28+08:00","updated_at":"2024-05-04T13:58:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6aab877f71e31a24d041814abe17a01f15c97d8c_0ec8caf4-c5f1-457d-ad50-befc6a5345e6.webp?v=1714802308","variant_ids":[41891457302627]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 胡迪小背心 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114804-PA02","featured_media":{"alt":null,"id":23881634578531,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6aab877f71e31a24d041814abe17a01f15c97d8c_0ec8caf4-c5f1-457d-ad50-befc6a5345e6.webp?v=1714802308"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41891457433699,"title":"Mod NX-軍綠邊框","option1":"Mod NX-軍綠邊框","option2":null,"option3":null,"sku":"NPB0114815-PA02","requires_shipping":true,"taxable":true,"featured_image":{"id":31476421787747,"product_id":7409641422947,"position":5,"created_at":"2024-05-04T13:58:23+08:00","updated_at":"2024-05-04T13:58:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5987fac1a3a6e1b5f4c320f60fe7bafad8c6e1c5_74add3e5-f9a0-431a-9360-36c5b632d960.webp?v=1714802303","variant_ids":[41891457433699]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 胡迪小背心 - Mod NX-軍綠邊框","public_title":"Mod NX-軍綠邊框","options":["Mod NX-軍綠邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114815-PA02","featured_media":{"alt":null,"id":23881633529955,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5987fac1a3a6e1b5f4c320f60fe7bafad8c6e1c5_74add3e5-f9a0-431a-9360-36c5b632d960.webp?v=1714802303"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41891457499235,"title":"Mod NX-薰衣紫邊框","option1":"Mod NX-薰衣紫邊框","option2":null,"option3":null,"sku":"NPB01148C1-PA02","requires_shipping":true,"taxable":true,"featured_image":{"id":31476423458915,"product_id":7409641422947,"position":8,"created_at":"2024-05-04T13:58:30+08:00","updated_at":"2024-05-04T13:58:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00203958395db84d2e83690b3472b27bfd93c202_9b1687f3-6192-4f80-93d8-2f35a767a74e.webp?v=1714802310","variant_ids":[41891457499235]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 胡迪小背心 - Mod NX-薰衣紫邊框","public_title":"Mod NX-薰衣紫邊框","options":["Mod NX-薰衣紫邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01148C1-PA02","featured_media":{"alt":null,"id":23881635070051,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00203958395db84d2e83690b3472b27bfd93c202_9b1687f3-6192-4f80-93d8-2f35a767a74e.webp?v=1714802310"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba0449323cec6df4e7e65ea4ef5c89caf10c20d4_9707edba-20de-49d7-ba40-050ce493e6d8.webp?v=1714802294","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/545cb5d7170b100ac3ef005921b2beb0d048e709_6d04e4e1-bd11-49bc-9ecc-a1b481bc4af9.webp?v=1714802296","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0318d44fc429ad7ab97a92e7d684ed15c23b7ba6_698d6585-f4e1-4838-948a-b26999918f37.webp?v=1714802299","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4b1a7de8ff001cf5022eb96a104f37ff450879d_08c0489c-c488-424a-bae3-83916a769b40.webp?v=1714802301","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5987fac1a3a6e1b5f4c320f60fe7bafad8c6e1c5_74add3e5-f9a0-431a-9360-36c5b632d960.webp?v=1714802303","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73331498f2499380682479b94fa434219ed236ff_d33b79d8-cb0b-4939-b415-9cacc17cec21.webp?v=1714802306","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6aab877f71e31a24d041814abe17a01f15c97d8c_0ec8caf4-c5f1-457d-ad50-befc6a5345e6.webp?v=1714802308","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00203958395db84d2e83690b3472b27bfd93c202_9b1687f3-6192-4f80-93d8-2f35a767a74e.webp?v=1714802310","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fab30c6a80d29144f3a3bce43533b5268acbdbd_cc5b433b-2487-403c-8596-287dd1e0ec8f.webp?v=1714802313","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab8be3917c01bf0d458b5ccb145a6118267fd3dd_7549d0e1-2a2b-491b-85f5-e59c56fc8400.webp?v=1714802315","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c123cda2b0d4529cafa7e0e259c21908647a3fc_3724d189-9301-406c-b360-eaa7178869fd.webp?v=1714802317"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba0449323cec6df4e7e65ea4ef5c89caf10c20d4_9707edba-20de-49d7-ba40-050ce493e6d8.webp?v=1714802294","options":["color"],"media":[{"alt":null,"id":23881631268963,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba0449323cec6df4e7e65ea4ef5c89caf10c20d4_9707edba-20de-49d7-ba40-050ce493e6d8.webp?v=1714802294"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba0449323cec6df4e7e65ea4ef5c89caf10c20d4_9707edba-20de-49d7-ba40-050ce493e6d8.webp?v=1714802294","width":2000},{"alt":null,"id":23881631891555,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/545cb5d7170b100ac3ef005921b2beb0d048e709_6d04e4e1-bd11-49bc-9ecc-a1b481bc4af9.webp?v=1714802296"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/545cb5d7170b100ac3ef005921b2beb0d048e709_6d04e4e1-bd11-49bc-9ecc-a1b481bc4af9.webp?v=1714802296","width":2000},{"alt":null,"id":23881632350307,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0318d44fc429ad7ab97a92e7d684ed15c23b7ba6_698d6585-f4e1-4838-948a-b26999918f37.webp?v=1714802299"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0318d44fc429ad7ab97a92e7d684ed15c23b7ba6_698d6585-f4e1-4838-948a-b26999918f37.webp?v=1714802299","width":2000},{"alt":null,"id":23881632940131,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4b1a7de8ff001cf5022eb96a104f37ff450879d_08c0489c-c488-424a-bae3-83916a769b40.webp?v=1714802301"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4b1a7de8ff001cf5022eb96a104f37ff450879d_08c0489c-c488-424a-bae3-83916a769b40.webp?v=1714802301","width":2000},{"alt":null,"id":23881633529955,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5987fac1a3a6e1b5f4c320f60fe7bafad8c6e1c5_74add3e5-f9a0-431a-9360-36c5b632d960.webp?v=1714802303"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5987fac1a3a6e1b5f4c320f60fe7bafad8c6e1c5_74add3e5-f9a0-431a-9360-36c5b632d960.webp?v=1714802303","width":2000},{"alt":null,"id":23881634087011,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73331498f2499380682479b94fa434219ed236ff_d33b79d8-cb0b-4939-b415-9cacc17cec21.webp?v=1714802306"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73331498f2499380682479b94fa434219ed236ff_d33b79d8-cb0b-4939-b415-9cacc17cec21.webp?v=1714802306","width":2000},{"alt":null,"id":23881634578531,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6aab877f71e31a24d041814abe17a01f15c97d8c_0ec8caf4-c5f1-457d-ad50-befc6a5345e6.webp?v=1714802308"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6aab877f71e31a24d041814abe17a01f15c97d8c_0ec8caf4-c5f1-457d-ad50-befc6a5345e6.webp?v=1714802308","width":2000},{"alt":null,"id":23881635070051,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00203958395db84d2e83690b3472b27bfd93c202_9b1687f3-6192-4f80-93d8-2f35a767a74e.webp?v=1714802310"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00203958395db84d2e83690b3472b27bfd93c202_9b1687f3-6192-4f80-93d8-2f35a767a74e.webp?v=1714802310","width":2000},{"alt":null,"id":23881635627107,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fab30c6a80d29144f3a3bce43533b5268acbdbd_cc5b433b-2487-403c-8596-287dd1e0ec8f.webp?v=1714802313"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fab30c6a80d29144f3a3bce43533b5268acbdbd_cc5b433b-2487-403c-8596-287dd1e0ec8f.webp?v=1714802313","width":2000},{"alt":null,"id":23881635922019,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab8be3917c01bf0d458b5ccb145a6118267fd3dd_7549d0e1-2a2b-491b-85f5-e59c56fc8400.webp?v=1714802315"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab8be3917c01bf0d458b5ccb145a6118267fd3dd_7549d0e1-2a2b-491b-85f5-e59c56fc8400.webp?v=1714802315","width":2000},{"alt":null,"id":23881636446307,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c123cda2b0d4529cafa7e0e259c21908647a3fc_3724d189-9301-406c-b360-eaa7178869fd.webp?v=1714802317"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c123cda2b0d4529cafa7e0e259c21908647a3fc_3724d189-9301-406c-b360-eaa7178869fd.webp?v=1714802317","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41891457237091,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114824-PA02","requires_shipping":true,"taxable":true,"featured_image":{"id":31476424835171,"product_id":7409641422947,"position":11,"created_at":"2024-05-04T13:58:37+08:00","updated_at":"2024-05-04T13:58:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c123cda2b0d4529cafa7e0e259c21908647a3fc_3724d189-9301-406c-b360-eaa7178869fd.webp?v=1714802317","variant_ids":[41891457237091]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 胡迪小背心 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114824-PA02","featured_media":{"alt":null,"id":23881636446307,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c123cda2b0d4529cafa7e0e259c21908647a3fc_3724d189-9301-406c-b360-eaa7178869fd.webp?v=1714802317"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41891457302627,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0114804-PA02","requires_shipping":true,"taxable":true,"featured_image":{"id":31476422901859,"product_id":7409641422947,"position":7,"created_at":"2024-05-04T13:58:28+08:00","updated_at":"2024-05-04T13:58:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6aab877f71e31a24d041814abe17a01f15c97d8c_0ec8caf4-c5f1-457d-ad50-befc6a5345e6.webp?v=1714802308","variant_ids":[41891457302627]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 胡迪小背心 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114804-PA02","featured_media":{"alt":null,"id":23881634578531,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6aab877f71e31a24d041814abe17a01f15c97d8c_0ec8caf4-c5f1-457d-ad50-befc6a5345e6.webp?v=1714802308"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41891457433699,"title":"Mod NX-軍綠邊框","option1":"Mod NX-軍綠邊框","option2":null,"option3":null,"sku":"NPB0114815-PA02","requires_shipping":true,"taxable":true,"featured_image":{"id":31476421787747,"product_id":7409641422947,"position":5,"created_at":"2024-05-04T13:58:23+08:00","updated_at":"2024-05-04T13:58:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5987fac1a3a6e1b5f4c320f60fe7bafad8c6e1c5_74add3e5-f9a0-431a-9360-36c5b632d960.webp?v=1714802303","variant_ids":[41891457433699]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 胡迪小背心 - Mod NX-軍綠邊框","public_title":"Mod NX-軍綠邊框","options":["Mod NX-軍綠邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114815-PA02","featured_media":{"alt":null,"id":23881633529955,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5987fac1a3a6e1b5f4c320f60fe7bafad8c6e1c5_74add3e5-f9a0-431a-9360-36c5b632d960.webp?v=1714802303"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41891457499235,"title":"Mod NX-薰衣紫邊框","option1":"Mod NX-薰衣紫邊框","option2":null,"option3":null,"sku":"NPB01148C1-PA02","requires_shipping":true,"taxable":true,"featured_image":{"id":31476423458915,"product_id":7409641422947,"position":8,"created_at":"2024-05-04T13:58:30+08:00","updated_at":"2024-05-04T13:58:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00203958395db84d2e83690b3472b27bfd93c202_9b1687f3-6192-4f80-93d8-2f35a767a74e.webp?v=1714802310","variant_ids":[41891457499235]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 胡迪小背心 - Mod NX-薰衣紫邊框","public_title":"Mod NX-薰衣紫邊框","options":["Mod NX-薰衣紫邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01148C1-PA02","featured_media":{"alt":null,"id":23881635070051,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00203958395db84d2e83690b3472b27bfd93c202_9b1687f3-6192-4f80-93d8-2f35a767a74e.webp?v=1714802310"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41891457237091,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114824-PA02","requires_shipping":true,"taxable":true,"featured_image":{"id":31476424835171,"product_id":7409641422947,"position":11,"created_at":"2024-05-04T13:58:37+08:00","updated_at":"2024-05-04T13:58:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c123cda2b0d4529cafa7e0e259c21908647a3fc_3724d189-9301-406c-b360-eaa7178869fd.webp?v=1714802317","variant_ids":[41891457237091]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 胡迪小背心 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114824-PA02","featured_media":{"alt":null,"id":23881636446307,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c123cda2b0d4529cafa7e0e259c21908647a3fc_3724d189-9301-406c-b360-eaa7178869fd.webp?v=1714802317"}},"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: "停產" }