$product = {"id":7409556684899,"title":"犀牛盾Mod NX手機殼 - iPhone 11 - 【獨家設計款】 - 貼紙系列-蛋糕島甜點","handle":"iphone-11-mod-nx-printable-om68","description":null,"published_at":"2024-06-11T16:44:40+08:00","created_at":"2024-05-04T13:39:56+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":41890684076131,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114824-OM68","requires_shipping":true,"taxable":true,"featured_image":{"id":31476201750627,"product_id":7409556684899,"position":8,"created_at":"2024-05-04T13:40:16+08:00","updated_at":"2024-05-04T13:40:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b319ef390b7e7363fad7bba07e8edd70f9a5feb_e57e66fc-515b-4851-b302-99adf10c1226.webp?v=1714801217","variant_ids":[41890684076131]},"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-OM68","featured_media":{"alt":null,"id":23881412345955,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b319ef390b7e7363fad7bba07e8edd70f9a5feb_e57e66fc-515b-4851-b302-99adf10c1226.webp?v=1714801217"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41890684207203,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0114804-OM68","requires_shipping":true,"taxable":true,"featured_image":{"id":31476200439907,"product_id":7409556684899,"position":5,"created_at":"2024-05-04T13:40:09+08:00","updated_at":"2024-05-04T13:40:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/553b1eb76227bfb676ed8e6f1159b58b8c03a83b_0f5e27aa-2a3b-42bd-8fbe-5555918a16bc.webp?v=1714801209","variant_ids":[41890684207203]},"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-OM68","featured_media":{"alt":null,"id":23881411035235,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/553b1eb76227bfb676ed8e6f1159b58b8c03a83b_0f5e27aa-2a3b-42bd-8fbe-5555918a16bc.webp?v=1714801209"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41890684403811,"title":"Mod NX-軍綠邊框","option1":"Mod NX-軍綠邊框","option2":null,"option3":null,"sku":"NPB0114815-OM68","requires_shipping":true,"taxable":true,"featured_image":{"id":31476199850083,"product_id":7409556684899,"position":4,"created_at":"2024-05-04T13:40:06+08:00","updated_at":"2024-05-04T13:40:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f07e8220dbb959520f57833aacfd6622f6ce92a8_b23151fb-3d91-47d6-8199-9265e785cf78.webp?v=1714801206","variant_ids":[41890684403811]},"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-OM68","featured_media":{"alt":null,"id":23881410543715,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f07e8220dbb959520f57833aacfd6622f6ce92a8_b23151fb-3d91-47d6-8199-9265e785cf78.webp?v=1714801206"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41890684469347,"title":"Mod NX-薰衣紫邊框","option1":"Mod NX-薰衣紫邊框","option2":null,"option3":null,"sku":"NPB01148C1-OM68","requires_shipping":true,"taxable":true,"featured_image":{"id":31476198735971,"product_id":7409556684899,"position":1,"created_at":"2024-05-04T13:39:58+08:00","updated_at":"2024-05-04T13:39:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d78cfc13f357b65ace892f3e35df0e757e23089b_86e63871-cf50-46fd-bd88-a5c5378637da.webp?v=1714801198","variant_ids":[41890684469347]},"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-OM68","featured_media":{"alt":null,"id":23881409331299,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d78cfc13f357b65ace892f3e35df0e757e23089b_86e63871-cf50-46fd-bd88-a5c5378637da.webp?v=1714801198"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d78cfc13f357b65ace892f3e35df0e757e23089b_86e63871-cf50-46fd-bd88-a5c5378637da.webp?v=1714801198","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a19e30a6784039e16ec4e7409693f0ccc05e7a4e_089d2a2b-6b6b-45b2-afc4-3461130d8942.webp?v=1714801201","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/436c299dceeeecf6d0d407954df8bb2b2ab5a91d_d5412d18-403f-4027-bcfb-bf68a70e1d56.webp?v=1714801203","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f07e8220dbb959520f57833aacfd6622f6ce92a8_b23151fb-3d91-47d6-8199-9265e785cf78.webp?v=1714801206","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/553b1eb76227bfb676ed8e6f1159b58b8c03a83b_0f5e27aa-2a3b-42bd-8fbe-5555918a16bc.webp?v=1714801209","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a7ae70f59f1055f4d0f12e8f7a4ab21bb227d48_0570e9db-106e-46eb-9e3c-4b9bff1ac724.webp?v=1714801211","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e01f0a348dc4a09d57deadf1e9e9023281462440_9b9a1d0d-a7ef-487a-a3ae-c90896a486d3.webp?v=1714801214","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b319ef390b7e7363fad7bba07e8edd70f9a5feb_e57e66fc-515b-4851-b302-99adf10c1226.webp?v=1714801217","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46361a026d818529f8255c8862dfc862bff21cfb_51edea2f-e064-44b0-9f59-de5d223dd498.webp?v=1714801219","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/805aea860fa8257996a99a7cff6bdbfd70cb2b06_4c918f37-85b4-4585-9e0b-8d96f3463617.webp?v=1714801221","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1057058597f9fb4f7f75017cf8789914cdf2511b_2e560057-37cb-4912-87f3-64ce84824a9a.webp?v=1714801224"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d78cfc13f357b65ace892f3e35df0e757e23089b_86e63871-cf50-46fd-bd88-a5c5378637da.webp?v=1714801198","options":["color"],"media":[{"alt":null,"id":23881409331299,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d78cfc13f357b65ace892f3e35df0e757e23089b_86e63871-cf50-46fd-bd88-a5c5378637da.webp?v=1714801198"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d78cfc13f357b65ace892f3e35df0e757e23089b_86e63871-cf50-46fd-bd88-a5c5378637da.webp?v=1714801198","width":2000},{"alt":null,"id":23881409691747,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a19e30a6784039e16ec4e7409693f0ccc05e7a4e_089d2a2b-6b6b-45b2-afc4-3461130d8942.webp?v=1714801201"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a19e30a6784039e16ec4e7409693f0ccc05e7a4e_089d2a2b-6b6b-45b2-afc4-3461130d8942.webp?v=1714801201","width":2000},{"alt":null,"id":23881410150499,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/436c299dceeeecf6d0d407954df8bb2b2ab5a91d_d5412d18-403f-4027-bcfb-bf68a70e1d56.webp?v=1714801203"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/436c299dceeeecf6d0d407954df8bb2b2ab5a91d_d5412d18-403f-4027-bcfb-bf68a70e1d56.webp?v=1714801203","width":2000},{"alt":null,"id":23881410543715,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f07e8220dbb959520f57833aacfd6622f6ce92a8_b23151fb-3d91-47d6-8199-9265e785cf78.webp?v=1714801206"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f07e8220dbb959520f57833aacfd6622f6ce92a8_b23151fb-3d91-47d6-8199-9265e785cf78.webp?v=1714801206","width":2000},{"alt":null,"id":23881411035235,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/553b1eb76227bfb676ed8e6f1159b58b8c03a83b_0f5e27aa-2a3b-42bd-8fbe-5555918a16bc.webp?v=1714801209"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/553b1eb76227bfb676ed8e6f1159b58b8c03a83b_0f5e27aa-2a3b-42bd-8fbe-5555918a16bc.webp?v=1714801209","width":2000},{"alt":null,"id":23881411461219,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a7ae70f59f1055f4d0f12e8f7a4ab21bb227d48_0570e9db-106e-46eb-9e3c-4b9bff1ac724.webp?v=1714801211"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a7ae70f59f1055f4d0f12e8f7a4ab21bb227d48_0570e9db-106e-46eb-9e3c-4b9bff1ac724.webp?v=1714801211","width":2000},{"alt":null,"id":23881411985507,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e01f0a348dc4a09d57deadf1e9e9023281462440_9b9a1d0d-a7ef-487a-a3ae-c90896a486d3.webp?v=1714801214"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e01f0a348dc4a09d57deadf1e9e9023281462440_9b9a1d0d-a7ef-487a-a3ae-c90896a486d3.webp?v=1714801214","width":2000},{"alt":null,"id":23881412345955,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b319ef390b7e7363fad7bba07e8edd70f9a5feb_e57e66fc-515b-4851-b302-99adf10c1226.webp?v=1714801217"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b319ef390b7e7363fad7bba07e8edd70f9a5feb_e57e66fc-515b-4851-b302-99adf10c1226.webp?v=1714801217","width":2000},{"alt":null,"id":23881412640867,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46361a026d818529f8255c8862dfc862bff21cfb_51edea2f-e064-44b0-9f59-de5d223dd498.webp?v=1714801219"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46361a026d818529f8255c8862dfc862bff21cfb_51edea2f-e064-44b0-9f59-de5d223dd498.webp?v=1714801219","width":2000},{"alt":null,"id":23881412935779,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/805aea860fa8257996a99a7cff6bdbfd70cb2b06_4c918f37-85b4-4585-9e0b-8d96f3463617.webp?v=1714801221"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/805aea860fa8257996a99a7cff6bdbfd70cb2b06_4c918f37-85b4-4585-9e0b-8d96f3463617.webp?v=1714801221","width":2000},{"alt":null,"id":23881413394531,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1057058597f9fb4f7f75017cf8789914cdf2511b_2e560057-37cb-4912-87f3-64ce84824a9a.webp?v=1714801224"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1057058597f9fb4f7f75017cf8789914cdf2511b_2e560057-37cb-4912-87f3-64ce84824a9a.webp?v=1714801224","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41890684076131,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114824-OM68","requires_shipping":true,"taxable":true,"featured_image":{"id":31476201750627,"product_id":7409556684899,"position":8,"created_at":"2024-05-04T13:40:16+08:00","updated_at":"2024-05-04T13:40:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b319ef390b7e7363fad7bba07e8edd70f9a5feb_e57e66fc-515b-4851-b302-99adf10c1226.webp?v=1714801217","variant_ids":[41890684076131]},"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-OM68","featured_media":{"alt":null,"id":23881412345955,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b319ef390b7e7363fad7bba07e8edd70f9a5feb_e57e66fc-515b-4851-b302-99adf10c1226.webp?v=1714801217"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41890684207203,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0114804-OM68","requires_shipping":true,"taxable":true,"featured_image":{"id":31476200439907,"product_id":7409556684899,"position":5,"created_at":"2024-05-04T13:40:09+08:00","updated_at":"2024-05-04T13:40:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/553b1eb76227bfb676ed8e6f1159b58b8c03a83b_0f5e27aa-2a3b-42bd-8fbe-5555918a16bc.webp?v=1714801209","variant_ids":[41890684207203]},"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-OM68","featured_media":{"alt":null,"id":23881411035235,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/553b1eb76227bfb676ed8e6f1159b58b8c03a83b_0f5e27aa-2a3b-42bd-8fbe-5555918a16bc.webp?v=1714801209"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41890684403811,"title":"Mod NX-軍綠邊框","option1":"Mod NX-軍綠邊框","option2":null,"option3":null,"sku":"NPB0114815-OM68","requires_shipping":true,"taxable":true,"featured_image":{"id":31476199850083,"product_id":7409556684899,"position":4,"created_at":"2024-05-04T13:40:06+08:00","updated_at":"2024-05-04T13:40:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f07e8220dbb959520f57833aacfd6622f6ce92a8_b23151fb-3d91-47d6-8199-9265e785cf78.webp?v=1714801206","variant_ids":[41890684403811]},"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-OM68","featured_media":{"alt":null,"id":23881410543715,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f07e8220dbb959520f57833aacfd6622f6ce92a8_b23151fb-3d91-47d6-8199-9265e785cf78.webp?v=1714801206"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41890684469347,"title":"Mod NX-薰衣紫邊框","option1":"Mod NX-薰衣紫邊框","option2":null,"option3":null,"sku":"NPB01148C1-OM68","requires_shipping":true,"taxable":true,"featured_image":{"id":31476198735971,"product_id":7409556684899,"position":1,"created_at":"2024-05-04T13:39:58+08:00","updated_at":"2024-05-04T13:39:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d78cfc13f357b65ace892f3e35df0e757e23089b_86e63871-cf50-46fd-bd88-a5c5378637da.webp?v=1714801198","variant_ids":[41890684469347]},"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-OM68","featured_media":{"alt":null,"id":23881409331299,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d78cfc13f357b65ace892f3e35df0e757e23089b_86e63871-cf50-46fd-bd88-a5c5378637da.webp?v=1714801198"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41890684076131,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114824-OM68","requires_shipping":true,"taxable":true,"featured_image":{"id":31476201750627,"product_id":7409556684899,"position":8,"created_at":"2024-05-04T13:40:16+08:00","updated_at":"2024-05-04T13:40:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b319ef390b7e7363fad7bba07e8edd70f9a5feb_e57e66fc-515b-4851-b302-99adf10c1226.webp?v=1714801217","variant_ids":[41890684076131]},"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-OM68","featured_media":{"alt":null,"id":23881412345955,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b319ef390b7e7363fad7bba07e8edd70f9a5feb_e57e66fc-515b-4851-b302-99adf10c1226.webp?v=1714801217"}},"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: "停產" }