$product = {"id":7873240891491,"title":"iPhone 12 mini SolidSuit Keigo Cotton Swab","handle":"iphone-12-mini-solidsuit-classic-kei07","description":null,"published_at":"2025-09-01T11:05:42+08:00","created_at":"2025-09-01T09:32:31+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-keigo","device-iPhone 12 Mini","merge","reseller-keigo"],"price":83000,"price_min":83000,"price_max":83000,"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":43658441588835,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"SST01184O9-KEI07","requires_shipping":true,"taxable":true,"featured_image":{"id":34409796173923,"product_id":7873240891491,"position":8,"created_at":"2025-09-01T09:32:40+08:00","updated_at":"2025-09-01T09:32:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09f404235139fef419fcadfdbd7e287dcc59937e.webp?v=1756690362","variant_ids":[43658441588835]},"available":true,"name":"iPhone 12 mini SolidSuit Keigo Cotton Swab - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01184O9-KEI07","featured_media":{"alt":null,"id":25982111350883,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09f404235139fef419fcadfdbd7e287dcc59937e.webp?v=1756690362"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658441621603,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"SST011840B-KEI07","requires_shipping":true,"taxable":true,"featured_image":{"id":34409795715171,"product_id":7873240891491,"position":6,"created_at":"2025-09-01T09:32:38+08:00","updated_at":"2025-09-01T09:32:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53d017f5ba938b23239bd33073aad3552cf1bef1.webp?v=1756690360","variant_ids":[43658441621603]},"available":true,"name":"iPhone 12 mini SolidSuit Keigo Cotton Swab - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST011840B-KEI07","featured_media":{"alt":null,"id":25982110892131,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53d017f5ba938b23239bd33073aad3552cf1bef1.webp?v=1756690360"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658441687139,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"SST01184Z8-KEI07","requires_shipping":true,"taxable":true,"featured_image":{"id":34409794830435,"product_id":7873240891491,"position":2,"created_at":"2025-09-01T09:32:35+08:00","updated_at":"2025-09-01T09:32:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9623158a409f28036c9af792cd685b39df8de64c.webp?v=1756690358","variant_ids":[43658441687139]},"available":true,"name":"iPhone 12 mini SolidSuit Keigo Cotton Swab - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01184Z8-KEI07","featured_media":{"alt":null,"id":25982109974627,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9623158a409f28036c9af792cd685b39df8de64c.webp?v=1756690358"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658441719907,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0118452-KEI07","requires_shipping":true,"taxable":true,"featured_image":{"id":34409795944547,"product_id":7873240891491,"position":7,"created_at":"2025-09-01T09:32:39+08:00","updated_at":"2025-09-01T09:32:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c56207444ce35c9d486c3964426c49cbbd3eea1e.webp?v=1756690361","variant_ids":[43658441719907]},"available":true,"name":"iPhone 12 mini SolidSuit Keigo Cotton Swab - Black","public_title":"Black","options":["Black"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0118452-KEI07","featured_media":{"alt":null,"id":25982111121507,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c56207444ce35c9d486c3964426c49cbbd3eea1e.webp?v=1756690361"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658441785443,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"SST01184P2-KEI07","requires_shipping":true,"taxable":true,"featured_image":{"id":34409795289187,"product_id":7873240891491,"position":4,"created_at":"2025-09-01T09:32:37+08:00","updated_at":"2025-09-01T09:32:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5065a04b696d413d71fea6a125b1efb521563bb.webp?v=1756690359","variant_ids":[43658441785443]},"available":true,"name":"iPhone 12 mini SolidSuit Keigo Cotton Swab - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01184P2-KEI07","featured_media":{"alt":null,"id":25982110466147,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5065a04b696d413d71fea6a125b1efb521563bb.webp?v=1756690359"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658441818211,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"SST011840A-KEI07","requires_shipping":true,"taxable":true,"featured_image":{"id":34409796403299,"product_id":7873240891491,"position":9,"created_at":"2025-09-01T09:32:40+08:00","updated_at":"2025-09-01T09:32:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e79f87b97d3604c52bf8a84bed237d5027efbccb.webp?v=1756690363","variant_ids":[43658441818211]},"available":true,"name":"iPhone 12 mini SolidSuit Keigo Cotton Swab - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST011840A-KEI07","featured_media":{"alt":null,"id":25982111580259,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e79f87b97d3604c52bf8a84bed237d5027efbccb.webp?v=1756690363"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4117753999adccd1f9c8aaa056e5ec2647b22d36.webp?v=1756690357","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9623158a409f28036c9af792cd685b39df8de64c.webp?v=1756690358","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de126f956db9b7d33170e1dbc275fdbe9a10e754.webp?v=1756690358","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5065a04b696d413d71fea6a125b1efb521563bb.webp?v=1756690359","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b03cd3a9b2ec08839c7521c46891d4f7a54e0d92.webp?v=1756690359","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53d017f5ba938b23239bd33073aad3552cf1bef1.webp?v=1756690360","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c56207444ce35c9d486c3964426c49cbbd3eea1e.webp?v=1756690361","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09f404235139fef419fcadfdbd7e287dcc59937e.webp?v=1756690362","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e79f87b97d3604c52bf8a84bed237d5027efbccb.webp?v=1756690363"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4117753999adccd1f9c8aaa056e5ec2647b22d36.webp?v=1756690357","options":["color"],"media":[{"alt":null,"id":25982109810787,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4117753999adccd1f9c8aaa056e5ec2647b22d36.webp?v=1756690357"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4117753999adccd1f9c8aaa056e5ec2647b22d36.webp?v=1756690357","width":2000},{"alt":null,"id":25982109974627,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9623158a409f28036c9af792cd685b39df8de64c.webp?v=1756690358"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9623158a409f28036c9af792cd685b39df8de64c.webp?v=1756690358","width":2000},{"alt":null,"id":25982110236771,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de126f956db9b7d33170e1dbc275fdbe9a10e754.webp?v=1756690358"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de126f956db9b7d33170e1dbc275fdbe9a10e754.webp?v=1756690358","width":2000},{"alt":null,"id":25982110466147,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5065a04b696d413d71fea6a125b1efb521563bb.webp?v=1756690359"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5065a04b696d413d71fea6a125b1efb521563bb.webp?v=1756690359","width":2000},{"alt":null,"id":25982110728291,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b03cd3a9b2ec08839c7521c46891d4f7a54e0d92.webp?v=1756690359"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b03cd3a9b2ec08839c7521c46891d4f7a54e0d92.webp?v=1756690359","width":2000},{"alt":null,"id":25982110892131,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53d017f5ba938b23239bd33073aad3552cf1bef1.webp?v=1756690360"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53d017f5ba938b23239bd33073aad3552cf1bef1.webp?v=1756690360","width":2000},{"alt":null,"id":25982111121507,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c56207444ce35c9d486c3964426c49cbbd3eea1e.webp?v=1756690361"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c56207444ce35c9d486c3964426c49cbbd3eea1e.webp?v=1756690361","width":2000},{"alt":null,"id":25982111350883,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09f404235139fef419fcadfdbd7e287dcc59937e.webp?v=1756690362"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09f404235139fef419fcadfdbd7e287dcc59937e.webp?v=1756690362","width":2000},{"alt":null,"id":25982111580259,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e79f87b97d3604c52bf8a84bed237d5027efbccb.webp?v=1756690363"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e79f87b97d3604c52bf8a84bed237d5027efbccb.webp?v=1756690363","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43658441588835,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"SST01184O9-KEI07","requires_shipping":true,"taxable":true,"featured_image":{"id":34409796173923,"product_id":7873240891491,"position":8,"created_at":"2025-09-01T09:32:40+08:00","updated_at":"2025-09-01T09:32:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09f404235139fef419fcadfdbd7e287dcc59937e.webp?v=1756690362","variant_ids":[43658441588835]},"available":true,"name":"iPhone 12 mini SolidSuit Keigo Cotton Swab - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01184O9-KEI07","featured_media":{"alt":null,"id":25982111350883,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09f404235139fef419fcadfdbd7e287dcc59937e.webp?v=1756690362"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658441621603,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"SST011840B-KEI07","requires_shipping":true,"taxable":true,"featured_image":{"id":34409795715171,"product_id":7873240891491,"position":6,"created_at":"2025-09-01T09:32:38+08:00","updated_at":"2025-09-01T09:32:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53d017f5ba938b23239bd33073aad3552cf1bef1.webp?v=1756690360","variant_ids":[43658441621603]},"available":true,"name":"iPhone 12 mini SolidSuit Keigo Cotton Swab - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST011840B-KEI07","featured_media":{"alt":null,"id":25982110892131,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53d017f5ba938b23239bd33073aad3552cf1bef1.webp?v=1756690360"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658441687139,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"SST01184Z8-KEI07","requires_shipping":true,"taxable":true,"featured_image":{"id":34409794830435,"product_id":7873240891491,"position":2,"created_at":"2025-09-01T09:32:35+08:00","updated_at":"2025-09-01T09:32:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9623158a409f28036c9af792cd685b39df8de64c.webp?v=1756690358","variant_ids":[43658441687139]},"available":true,"name":"iPhone 12 mini SolidSuit Keigo Cotton Swab - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01184Z8-KEI07","featured_media":{"alt":null,"id":25982109974627,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9623158a409f28036c9af792cd685b39df8de64c.webp?v=1756690358"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658441719907,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0118452-KEI07","requires_shipping":true,"taxable":true,"featured_image":{"id":34409795944547,"product_id":7873240891491,"position":7,"created_at":"2025-09-01T09:32:39+08:00","updated_at":"2025-09-01T09:32:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c56207444ce35c9d486c3964426c49cbbd3eea1e.webp?v=1756690361","variant_ids":[43658441719907]},"available":true,"name":"iPhone 12 mini SolidSuit Keigo Cotton Swab - Black","public_title":"Black","options":["Black"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0118452-KEI07","featured_media":{"alt":null,"id":25982111121507,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c56207444ce35c9d486c3964426c49cbbd3eea1e.webp?v=1756690361"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658441785443,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"SST01184P2-KEI07","requires_shipping":true,"taxable":true,"featured_image":{"id":34409795289187,"product_id":7873240891491,"position":4,"created_at":"2025-09-01T09:32:37+08:00","updated_at":"2025-09-01T09:32:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5065a04b696d413d71fea6a125b1efb521563bb.webp?v=1756690359","variant_ids":[43658441785443]},"available":true,"name":"iPhone 12 mini SolidSuit Keigo Cotton Swab - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01184P2-KEI07","featured_media":{"alt":null,"id":25982110466147,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5065a04b696d413d71fea6a125b1efb521563bb.webp?v=1756690359"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658441818211,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"SST011840A-KEI07","requires_shipping":true,"taxable":true,"featured_image":{"id":34409796403299,"product_id":7873240891491,"position":9,"created_at":"2025-09-01T09:32:40+08:00","updated_at":"2025-09-01T09:32:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e79f87b97d3604c52bf8a84bed237d5027efbccb.webp?v=1756690363","variant_ids":[43658441818211]},"available":true,"name":"iPhone 12 mini SolidSuit Keigo Cotton Swab - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST011840A-KEI07","featured_media":{"alt":null,"id":25982111580259,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e79f87b97d3604c52bf8a84bed237d5027efbccb.webp?v=1756690363"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43658441588835,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"SST01184O9-KEI07","requires_shipping":true,"taxable":true,"featured_image":{"id":34409796173923,"product_id":7873240891491,"position":8,"created_at":"2025-09-01T09:32:40+08:00","updated_at":"2025-09-01T09:32:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09f404235139fef419fcadfdbd7e287dcc59937e.webp?v=1756690362","variant_ids":[43658441588835]},"available":true,"name":"iPhone 12 mini SolidSuit Keigo Cotton Swab - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01184O9-KEI07","featured_media":{"alt":null,"id":25982111350883,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09f404235139fef419fcadfdbd7e287dcc59937e.webp?v=1756690362"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $type = ""; var sellingStatus if ($isMerge) { $(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: "停產" }