$product = {"id":6898387222627,"title":"犀牛盾 AirPods 3 保護殼","handle":"airpods-3-airpods-case-bundle-front-featured-product","description":"","published_at":"2023-03-20T15:53:33+08:00","created_at":"2023-03-07T09:48:31+08:00","vendor":"RHINOSHIELD","type":"Airpods整體","tags":["20%","2023-tagsAdd-reseller-PL","20240304-reseller-\u003ereplace_to-","25%","30%","35%","40%","45%","45degree","50%","airpods-case-featured-product","bundle-addition","discountable-item","dropdownDevice-Apple Airpods 3","featured-product","member","quickbuy","reseller","reseller-airpods","Top50","type-airpods-case-featured-product"],"price":65000,"price_min":65000,"price_max":65000,"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":40289290649699,"title":"黑","option1":"黑","option2":null,"option3":null,"sku":"ABT0124552","requires_shipping":true,"taxable":true,"featured_image":{"id":29896703803491,"product_id":6898387222627,"position":2,"created_at":"2023-03-07T09:48:31+08:00","updated_at":"2023-04-06T14:55:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT0124552_3bee0b46-1fa8-43a8-9a17-c70426b48302.png?v=1680764105","variant_ids":[40289290649699]},"available":true,"name":"犀牛盾 AirPods 3 保護殼 - 黑","public_title":"黑","options":["黑"],"price":65000,"weight":0,"compare_at_price":null,"inventory_quantity":-1007,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203609537","featured_media":{"alt":null,"id":22250633658467,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT0124552_3bee0b46-1fa8-43a8-9a17-c70426b48302.png?v=1680764105"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40289290682467,"title":"櫻花粉","option1":"櫻花粉","option2":null,"option3":null,"sku":"ABT0124557","requires_shipping":true,"taxable":true,"featured_image":{"id":29896703836259,"product_id":6898387222627,"position":1,"created_at":"2023-03-07T09:48:31+08:00","updated_at":"2023-04-06T14:55:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT0124557_3392944f-65a0-4866-8f05-704b286f6606.png?v=1680764105","variant_ids":[40289290682467]},"available":true,"name":"犀牛盾 AirPods 3 保護殼 - 櫻花粉","public_title":"櫻花粉","options":["櫻花粉"],"price":65000,"weight":0,"compare_at_price":null,"inventory_quantity":-420,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203609544","featured_media":{"alt":null,"id":22250633691235,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT0124557_3392944f-65a0-4866-8f05-704b286f6606.png?v=1680764105"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40289290715235,"title":"循環灰","option1":"循環灰","option2":null,"option3":null,"sku":"ABT01245O8","requires_shipping":true,"taxable":true,"featured_image":{"id":29896703869027,"product_id":6898387222627,"position":3,"created_at":"2023-03-07T09:48:31+08:00","updated_at":"2023-03-07T09:48:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245O8_9a7c059d-0d4b-4b0c-ab25-c8b4fbf8dac6.png?v=1678153711","variant_ids":[40289290715235]},"available":true,"name":"犀牛盾 AirPods 3 保護殼 - 循環灰","public_title":"循環灰","options":["循環灰"],"price":65000,"weight":0,"compare_at_price":null,"inventory_quantity":-550,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203609476","featured_media":{"alt":null,"id":22250633724003,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245O8_9a7c059d-0d4b-4b0c-ab25-c8b4fbf8dac6.png?v=1678153711"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40289290748003,"title":"鈷藍","option1":"鈷藍","option2":null,"option3":null,"sku":"ABT01245O9","requires_shipping":true,"taxable":true,"featured_image":{"id":29896703901795,"product_id":6898387222627,"position":4,"created_at":"2023-03-07T09:48:31+08:00","updated_at":"2023-03-07T09:48:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245O9_44fc068b-647a-4e5d-9d3a-0504b5e14394.png?v=1678153711","variant_ids":[40289290748003]},"available":true,"name":"犀牛盾 AirPods 3 保護殼 - 鈷藍","public_title":"鈷藍","options":["鈷藍"],"price":65000,"weight":0,"compare_at_price":null,"inventory_quantity":-258,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203609483","featured_media":{"alt":null,"id":22250633756771,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245O9_44fc068b-647a-4e5d-9d3a-0504b5e14394.png?v=1678153711"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40289290780771,"title":"夕陽銅","option1":"夕陽銅","option2":null,"option3":null,"sku":"ABT01245P0","requires_shipping":true,"taxable":true,"featured_image":{"id":29896703934563,"product_id":6898387222627,"position":5,"created_at":"2023-03-07T09:48:31+08:00","updated_at":"2023-03-07T09:48:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245P0_2abc922a-7876-4c3d-8168-2c079dd27736.png?v=1678153711","variant_ids":[40289290780771]},"available":true,"name":"犀牛盾 AirPods 3 保護殼 - 夕陽銅","public_title":"夕陽銅","options":["夕陽銅"],"price":65000,"weight":0,"compare_at_price":null,"inventory_quantity":-132,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203609490","featured_media":{"alt":null,"id":22250633789539,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245P0_2abc922a-7876-4c3d-8168-2c079dd27736.png?v=1678153711"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40289290813539,"title":"紫羅蘭色","option1":"紫羅蘭色","option2":null,"option3":null,"sku":"ABT01245P1","requires_shipping":true,"taxable":true,"featured_image":{"id":29896703967331,"product_id":6898387222627,"position":6,"created_at":"2023-03-07T09:48:31+08:00","updated_at":"2023-03-07T09:48:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245P1_264a0da7-f740-4d87-8816-68dbf6a4c32f.png?v=1678153711","variant_ids":[40289290813539]},"available":true,"name":"犀牛盾 AirPods 3 保護殼 - 紫羅蘭色","public_title":"紫羅蘭色","options":["紫羅蘭色"],"price":65000,"weight":0,"compare_at_price":null,"inventory_quantity":-316,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203609506","featured_media":{"alt":null,"id":22250633822307,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245P1_264a0da7-f740-4d87-8816-68dbf6a4c32f.png?v=1678153711"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40289290846307,"title":"鼠尾草綠","option1":"鼠尾草綠","option2":null,"option3":null,"sku":"ABT01245P2","requires_shipping":true,"taxable":true,"featured_image":{"id":29896704000099,"product_id":6898387222627,"position":7,"created_at":"2023-03-07T09:48:31+08:00","updated_at":"2023-03-07T09:48:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245P2_f605c2da-5a67-453a-a24f-e59f333ffbb3.png?v=1678153711","variant_ids":[40289290846307]},"available":true,"name":"犀牛盾 AirPods 3 保護殼 - 鼠尾草綠","public_title":"鼠尾草綠","options":["鼠尾草綠"],"price":65000,"weight":0,"compare_at_price":null,"inventory_quantity":-362,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203609513","featured_media":{"alt":null,"id":22250633855075,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245P2_f605c2da-5a67-453a-a24f-e59f333ffbb3.png?v=1678153711"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40289290879075,"title":"透明","option1":"透明","option2":null,"option3":null,"sku":"ABT01245R4","requires_shipping":true,"taxable":true,"featured_image":{"id":29896704032867,"product_id":6898387222627,"position":8,"created_at":"2023-03-07T09:48:31+08:00","updated_at":"2023-03-07T09:48:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245R4_8f35a610-4ff9-4728-a1a0-4e16546a6ef2.png?v=1678153711","variant_ids":[40289290879075]},"available":true,"name":"犀牛盾 AirPods 3 保護殼 - 透明","public_title":"透明","options":["透明"],"price":65000,"weight":0,"compare_at_price":null,"inventory_quantity":-1362,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203609520","featured_media":{"alt":null,"id":22250633887843,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245R4_8f35a610-4ff9-4728-a1a0-4e16546a6ef2.png?v=1678153711"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT0124557_3392944f-65a0-4866-8f05-704b286f6606.png?v=1680764105","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT0124552_3bee0b46-1fa8-43a8-9a17-c70426b48302.png?v=1680764105","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245O8_9a7c059d-0d4b-4b0c-ab25-c8b4fbf8dac6.png?v=1678153711","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245O9_44fc068b-647a-4e5d-9d3a-0504b5e14394.png?v=1678153711","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245P0_2abc922a-7876-4c3d-8168-2c079dd27736.png?v=1678153711","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245P1_264a0da7-f740-4d87-8816-68dbf6a4c32f.png?v=1678153711","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245P2_f605c2da-5a67-453a-a24f-e59f333ffbb3.png?v=1678153711","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245R4_8f35a610-4ff9-4728-a1a0-4e16546a6ef2.png?v=1678153711"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT0124557_3392944f-65a0-4866-8f05-704b286f6606.png?v=1680764105","options":["color"],"media":[{"alt":null,"id":22250633691235,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT0124557_3392944f-65a0-4866-8f05-704b286f6606.png?v=1680764105"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT0124557_3392944f-65a0-4866-8f05-704b286f6606.png?v=1680764105","width":2000},{"alt":null,"id":22250633658467,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT0124552_3bee0b46-1fa8-43a8-9a17-c70426b48302.png?v=1680764105"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT0124552_3bee0b46-1fa8-43a8-9a17-c70426b48302.png?v=1680764105","width":2000},{"alt":null,"id":22250633724003,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245O8_9a7c059d-0d4b-4b0c-ab25-c8b4fbf8dac6.png?v=1678153711"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245O8_9a7c059d-0d4b-4b0c-ab25-c8b4fbf8dac6.png?v=1678153711","width":2000},{"alt":null,"id":22250633756771,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245O9_44fc068b-647a-4e5d-9d3a-0504b5e14394.png?v=1678153711"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245O9_44fc068b-647a-4e5d-9d3a-0504b5e14394.png?v=1678153711","width":2000},{"alt":null,"id":22250633789539,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245P0_2abc922a-7876-4c3d-8168-2c079dd27736.png?v=1678153711"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245P0_2abc922a-7876-4c3d-8168-2c079dd27736.png?v=1678153711","width":2000},{"alt":null,"id":22250633822307,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245P1_264a0da7-f740-4d87-8816-68dbf6a4c32f.png?v=1678153711"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245P1_264a0da7-f740-4d87-8816-68dbf6a4c32f.png?v=1678153711","width":2000},{"alt":null,"id":22250633855075,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245P2_f605c2da-5a67-453a-a24f-e59f333ffbb3.png?v=1678153711"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245P2_f605c2da-5a67-453a-a24f-e59f333ffbb3.png?v=1678153711","width":2000},{"alt":null,"id":22250633887843,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245R4_8f35a610-4ff9-4728-a1a0-4e16546a6ef2.png?v=1678153711"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245R4_8f35a610-4ff9-4728-a1a0-4e16546a6ef2.png?v=1678153711","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":""}; $bumper = null; $variants = [{"id":40289290649699,"title":"黑","option1":"黑","option2":null,"option3":null,"sku":"ABT0124552","requires_shipping":true,"taxable":true,"featured_image":{"id":29896703803491,"product_id":6898387222627,"position":2,"created_at":"2023-03-07T09:48:31+08:00","updated_at":"2023-04-06T14:55:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT0124552_3bee0b46-1fa8-43a8-9a17-c70426b48302.png?v=1680764105","variant_ids":[40289290649699]},"available":true,"name":"犀牛盾 AirPods 3 保護殼 - 黑","public_title":"黑","options":["黑"],"price":65000,"weight":0,"compare_at_price":null,"inventory_quantity":-1007,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203609537","featured_media":{"alt":null,"id":22250633658467,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT0124552_3bee0b46-1fa8-43a8-9a17-c70426b48302.png?v=1680764105"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40289290682467,"title":"櫻花粉","option1":"櫻花粉","option2":null,"option3":null,"sku":"ABT0124557","requires_shipping":true,"taxable":true,"featured_image":{"id":29896703836259,"product_id":6898387222627,"position":1,"created_at":"2023-03-07T09:48:31+08:00","updated_at":"2023-04-06T14:55:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT0124557_3392944f-65a0-4866-8f05-704b286f6606.png?v=1680764105","variant_ids":[40289290682467]},"available":true,"name":"犀牛盾 AirPods 3 保護殼 - 櫻花粉","public_title":"櫻花粉","options":["櫻花粉"],"price":65000,"weight":0,"compare_at_price":null,"inventory_quantity":-420,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203609544","featured_media":{"alt":null,"id":22250633691235,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT0124557_3392944f-65a0-4866-8f05-704b286f6606.png?v=1680764105"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40289290715235,"title":"循環灰","option1":"循環灰","option2":null,"option3":null,"sku":"ABT01245O8","requires_shipping":true,"taxable":true,"featured_image":{"id":29896703869027,"product_id":6898387222627,"position":3,"created_at":"2023-03-07T09:48:31+08:00","updated_at":"2023-03-07T09:48:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245O8_9a7c059d-0d4b-4b0c-ab25-c8b4fbf8dac6.png?v=1678153711","variant_ids":[40289290715235]},"available":true,"name":"犀牛盾 AirPods 3 保護殼 - 循環灰","public_title":"循環灰","options":["循環灰"],"price":65000,"weight":0,"compare_at_price":null,"inventory_quantity":-550,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203609476","featured_media":{"alt":null,"id":22250633724003,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245O8_9a7c059d-0d4b-4b0c-ab25-c8b4fbf8dac6.png?v=1678153711"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40289290748003,"title":"鈷藍","option1":"鈷藍","option2":null,"option3":null,"sku":"ABT01245O9","requires_shipping":true,"taxable":true,"featured_image":{"id":29896703901795,"product_id":6898387222627,"position":4,"created_at":"2023-03-07T09:48:31+08:00","updated_at":"2023-03-07T09:48:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245O9_44fc068b-647a-4e5d-9d3a-0504b5e14394.png?v=1678153711","variant_ids":[40289290748003]},"available":true,"name":"犀牛盾 AirPods 3 保護殼 - 鈷藍","public_title":"鈷藍","options":["鈷藍"],"price":65000,"weight":0,"compare_at_price":null,"inventory_quantity":-258,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203609483","featured_media":{"alt":null,"id":22250633756771,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245O9_44fc068b-647a-4e5d-9d3a-0504b5e14394.png?v=1678153711"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40289290780771,"title":"夕陽銅","option1":"夕陽銅","option2":null,"option3":null,"sku":"ABT01245P0","requires_shipping":true,"taxable":true,"featured_image":{"id":29896703934563,"product_id":6898387222627,"position":5,"created_at":"2023-03-07T09:48:31+08:00","updated_at":"2023-03-07T09:48:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245P0_2abc922a-7876-4c3d-8168-2c079dd27736.png?v=1678153711","variant_ids":[40289290780771]},"available":true,"name":"犀牛盾 AirPods 3 保護殼 - 夕陽銅","public_title":"夕陽銅","options":["夕陽銅"],"price":65000,"weight":0,"compare_at_price":null,"inventory_quantity":-132,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203609490","featured_media":{"alt":null,"id":22250633789539,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245P0_2abc922a-7876-4c3d-8168-2c079dd27736.png?v=1678153711"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40289290813539,"title":"紫羅蘭色","option1":"紫羅蘭色","option2":null,"option3":null,"sku":"ABT01245P1","requires_shipping":true,"taxable":true,"featured_image":{"id":29896703967331,"product_id":6898387222627,"position":6,"created_at":"2023-03-07T09:48:31+08:00","updated_at":"2023-03-07T09:48:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245P1_264a0da7-f740-4d87-8816-68dbf6a4c32f.png?v=1678153711","variant_ids":[40289290813539]},"available":true,"name":"犀牛盾 AirPods 3 保護殼 - 紫羅蘭色","public_title":"紫羅蘭色","options":["紫羅蘭色"],"price":65000,"weight":0,"compare_at_price":null,"inventory_quantity":-316,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203609506","featured_media":{"alt":null,"id":22250633822307,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245P1_264a0da7-f740-4d87-8816-68dbf6a4c32f.png?v=1678153711"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40289290846307,"title":"鼠尾草綠","option1":"鼠尾草綠","option2":null,"option3":null,"sku":"ABT01245P2","requires_shipping":true,"taxable":true,"featured_image":{"id":29896704000099,"product_id":6898387222627,"position":7,"created_at":"2023-03-07T09:48:31+08:00","updated_at":"2023-03-07T09:48:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245P2_f605c2da-5a67-453a-a24f-e59f333ffbb3.png?v=1678153711","variant_ids":[40289290846307]},"available":true,"name":"犀牛盾 AirPods 3 保護殼 - 鼠尾草綠","public_title":"鼠尾草綠","options":["鼠尾草綠"],"price":65000,"weight":0,"compare_at_price":null,"inventory_quantity":-362,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203609513","featured_media":{"alt":null,"id":22250633855075,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245P2_f605c2da-5a67-453a-a24f-e59f333ffbb3.png?v=1678153711"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40289290879075,"title":"透明","option1":"透明","option2":null,"option3":null,"sku":"ABT01245R4","requires_shipping":true,"taxable":true,"featured_image":{"id":29896704032867,"product_id":6898387222627,"position":8,"created_at":"2023-03-07T09:48:31+08:00","updated_at":"2023-03-07T09:48:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245R4_8f35a610-4ff9-4728-a1a0-4e16546a6ef2.png?v=1678153711","variant_ids":[40289290879075]},"available":true,"name":"犀牛盾 AirPods 3 保護殼 - 透明","public_title":"透明","options":["透明"],"price":65000,"weight":0,"compare_at_price":null,"inventory_quantity":-1362,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203609520","featured_media":{"alt":null,"id":22250633887843,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT01245R4_8f35a610-4ff9-4728-a1a0-4e16546a6ef2.png?v=1678153711"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":40289290649699,"title":"黑","option1":"黑","option2":null,"option3":null,"sku":"ABT0124552","requires_shipping":true,"taxable":true,"featured_image":{"id":29896703803491,"product_id":6898387222627,"position":2,"created_at":"2023-03-07T09:48:31+08:00","updated_at":"2023-04-06T14:55:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT0124552_3bee0b46-1fa8-43a8-9a17-c70426b48302.png?v=1680764105","variant_ids":[40289290649699]},"available":true,"name":"犀牛盾 AirPods 3 保護殼 - 黑","public_title":"黑","options":["黑"],"price":65000,"weight":0,"compare_at_price":null,"inventory_quantity":-1007,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203609537","featured_media":{"alt":null,"id":22250633658467,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/airpods-3-airpodscase-bundle-front-featured-product_ABT0124552_3bee0b46-1fa8-43a8-9a17-c70426b48302.png?v=1680764105"}},"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: "停產" }