$product = {"id":7189368668259,"title":"iPhone 12 mini SolidSuit Batman 蝙蝠俠 Batman Logo","handle":"iphone-12-mini-solidsuit-classic-sb03","description":null,"published_at":"2024-02-27T15:40:45+08:00","created_at":"2024-02-23T17:43:04+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit專區Batman","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-batman","device-iPhone 12 Mini","merge","reseller-batman"],"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":41311985729635,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0118452-SB03","requires_shipping":true,"taxable":true,"featured_image":{"id":36318884692067,"product_id":7189368668259,"position":16,"created_at":"2026-07-20T12:26:39+08:00","updated_at":"2026-07-20T12:26:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92f6bbd8cc74b162e3be482ea7074b1a9ae1d987.webp?v=1784521601","variant_ids":[41311985729635]},"available":true,"name":"iPhone 12 mini SolidSuit Batman 蝙蝠俠 Batman Logo - Black","public_title":"Black","options":["Black"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0118452-SB03","featured_media":{"alt":null,"id":27822837039203,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92f6bbd8cc74b162e3be482ea7074b1a9ae1d987.webp?v=1784521601"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41311985860707,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"SST01184O9-SB03","requires_shipping":true,"taxable":true,"featured_image":{"id":36318885314659,"product_id":7189368668259,"position":19,"created_at":"2026-07-20T12:26:41+08:00","updated_at":"2026-07-20T12:26:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ca3ed76767208b78e18102889750a9d004053aa.webp?v=1784521603","variant_ids":[41311985860707]},"available":true,"name":"iPhone 12 mini SolidSuit Batman 蝙蝠俠 Batman Logo - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01184O9-SB03","featured_media":{"alt":null,"id":27822837661795,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ca3ed76767208b78e18102889750a9d004053aa.webp?v=1784521603"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41311986090083,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"SST011840B-SB03","requires_shipping":true,"taxable":true,"featured_image":{"id":36318884560995,"product_id":7189368668259,"position":15,"created_at":"2026-07-20T12:26:39+08:00","updated_at":"2026-07-20T12:26:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfe701e2ce41bd7a61d1c86c91f42126324b404a.webp?v=1784521601","variant_ids":[41311986090083]},"available":true,"name":"iPhone 12 mini SolidSuit Batman 蝙蝠俠 Batman Logo - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST011840B-SB03","featured_media":{"alt":null,"id":27822836908131,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfe701e2ce41bd7a61d1c86c91f42126324b404a.webp?v=1784521601"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eeb01a6535db674725d4f4503e7c4f1c2562deed.webp?v=1708922896","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3366ec24aed962f8906f4e0a7b729fae22ee6b9.webp?v=1708922899","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/430ff8df6d61d349b7d5dabc3f82129b6b0eb373.webp?v=1708922902","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00421719c707ea14a977eacabbbd0df603b52c6e.webp?v=1708922904","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a18d4ff8e063722addfa0ee20b71a46bb8e3b338.webp?v=1708922906","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f58cf925c568b461fcf1855a5bb9784ef2532a7.webp?v=1708922909","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed855fbb45ebdb90dde061fba402deefe535a64d.webp?v=1708922912","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7645e4f2c19501f8a06f9dec4f959ee2d8568882.webp?v=1708922917","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75221430b7ae527752692caffc9f926c8619f810.webp?v=1708922919","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/080bc5313ae2a639b31b6b9f900996eabb0330d3.webp?v=1708922924","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/586fb4d24f13257bd98af8bf49a98bdf8c46f078.webp?v=1708922928","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e33d948ea1c5426d21cffaf9000d40358a7e599f.webp?v=1708922930","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70bfe90b059a4daede337e0324497bd011f483c7.webp?v=1708922933","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/965d65cc2191218701d9a7d81c9f6b9ba222744b.webp?v=1708922935","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfe701e2ce41bd7a61d1c86c91f42126324b404a.webp?v=1784521601","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92f6bbd8cc74b162e3be482ea7074b1a9ae1d987.webp?v=1784521601","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3f2031b657941c4e07e20e41a1e98b4c384d727.webp?v=1784521602","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07cd41667e61dae685e97cf7383bdd4bd20f823b.webp?v=1784521602","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ca3ed76767208b78e18102889750a9d004053aa.webp?v=1784521603","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c060bf9b1cfaca194e0a2ed851672f562cb10329.webp?v=1784521604"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eeb01a6535db674725d4f4503e7c4f1c2562deed.webp?v=1708922896","options":["color"],"media":[{"alt":null,"id":23354005749859,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eeb01a6535db674725d4f4503e7c4f1c2562deed.webp?v=1708922896"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eeb01a6535db674725d4f4503e7c4f1c2562deed.webp?v=1708922896","width":2000},{"alt":null,"id":23354006208611,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3366ec24aed962f8906f4e0a7b729fae22ee6b9.webp?v=1708922899"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3366ec24aed962f8906f4e0a7b729fae22ee6b9.webp?v=1708922899","width":2000},{"alt":null,"id":23354006765667,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/430ff8df6d61d349b7d5dabc3f82129b6b0eb373.webp?v=1708922902"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/430ff8df6d61d349b7d5dabc3f82129b6b0eb373.webp?v=1708922902","width":2000},{"alt":null,"id":23354007388259,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00421719c707ea14a977eacabbbd0df603b52c6e.webp?v=1708922904"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00421719c707ea14a977eacabbbd0df603b52c6e.webp?v=1708922904","width":2000},{"alt":null,"id":23354008141923,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a18d4ff8e063722addfa0ee20b71a46bb8e3b338.webp?v=1708922906"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a18d4ff8e063722addfa0ee20b71a46bb8e3b338.webp?v=1708922906","width":2000},{"alt":null,"id":23354008764515,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f58cf925c568b461fcf1855a5bb9784ef2532a7.webp?v=1708922909"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f58cf925c568b461fcf1855a5bb9784ef2532a7.webp?v=1708922909","width":2000},{"alt":null,"id":23354009288803,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed855fbb45ebdb90dde061fba402deefe535a64d.webp?v=1708922912"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed855fbb45ebdb90dde061fba402deefe535a64d.webp?v=1708922912","width":2000},{"alt":null,"id":23354010566755,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7645e4f2c19501f8a06f9dec4f959ee2d8568882.webp?v=1708922917"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7645e4f2c19501f8a06f9dec4f959ee2d8568882.webp?v=1708922917","width":2000},{"alt":null,"id":23354011353187,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75221430b7ae527752692caffc9f926c8619f810.webp?v=1708922919"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75221430b7ae527752692caffc9f926c8619f810.webp?v=1708922919","width":2000},{"alt":null,"id":23354012958819,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/080bc5313ae2a639b31b6b9f900996eabb0330d3.webp?v=1708922924"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/080bc5313ae2a639b31b6b9f900996eabb0330d3.webp?v=1708922924","width":2000},{"alt":null,"id":23354013712483,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/586fb4d24f13257bd98af8bf49a98bdf8c46f078.webp?v=1708922928"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/586fb4d24f13257bd98af8bf49a98bdf8c46f078.webp?v=1708922928","width":2000},{"alt":null,"id":23354014531683,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e33d948ea1c5426d21cffaf9000d40358a7e599f.webp?v=1708922930"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e33d948ea1c5426d21cffaf9000d40358a7e599f.webp?v=1708922930","width":2000},{"alt":null,"id":23354015318115,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70bfe90b059a4daede337e0324497bd011f483c7.webp?v=1708922933"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70bfe90b059a4daede337e0324497bd011f483c7.webp?v=1708922933","width":2000},{"alt":null,"id":23354015940707,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/965d65cc2191218701d9a7d81c9f6b9ba222744b.webp?v=1708922935"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/965d65cc2191218701d9a7d81c9f6b9ba222744b.webp?v=1708922935","width":2000},{"alt":null,"id":27822836908131,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfe701e2ce41bd7a61d1c86c91f42126324b404a.webp?v=1784521601"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfe701e2ce41bd7a61d1c86c91f42126324b404a.webp?v=1784521601","width":2000},{"alt":null,"id":27822837039203,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92f6bbd8cc74b162e3be482ea7074b1a9ae1d987.webp?v=1784521601"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92f6bbd8cc74b162e3be482ea7074b1a9ae1d987.webp?v=1784521601","width":2000},{"alt":null,"id":27822837203043,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3f2031b657941c4e07e20e41a1e98b4c384d727.webp?v=1784521602"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3f2031b657941c4e07e20e41a1e98b4c384d727.webp?v=1784521602","width":2000},{"alt":null,"id":27822837366883,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07cd41667e61dae685e97cf7383bdd4bd20f823b.webp?v=1784521602"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07cd41667e61dae685e97cf7383bdd4bd20f823b.webp?v=1784521602","width":2000},{"alt":null,"id":27822837661795,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ca3ed76767208b78e18102889750a9d004053aa.webp?v=1784521603"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ca3ed76767208b78e18102889750a9d004053aa.webp?v=1784521603","width":2000},{"alt":null,"id":27822837858403,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c060bf9b1cfaca194e0a2ed851672f562cb10329.webp?v=1784521604"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c060bf9b1cfaca194e0a2ed851672f562cb10329.webp?v=1784521604","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41311985729635,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0118452-SB03","requires_shipping":true,"taxable":true,"featured_image":{"id":36318884692067,"product_id":7189368668259,"position":16,"created_at":"2026-07-20T12:26:39+08:00","updated_at":"2026-07-20T12:26:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92f6bbd8cc74b162e3be482ea7074b1a9ae1d987.webp?v=1784521601","variant_ids":[41311985729635]},"available":true,"name":"iPhone 12 mini SolidSuit Batman 蝙蝠俠 Batman Logo - Black","public_title":"Black","options":["Black"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0118452-SB03","featured_media":{"alt":null,"id":27822837039203,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92f6bbd8cc74b162e3be482ea7074b1a9ae1d987.webp?v=1784521601"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41311985860707,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"SST01184O9-SB03","requires_shipping":true,"taxable":true,"featured_image":{"id":36318885314659,"product_id":7189368668259,"position":19,"created_at":"2026-07-20T12:26:41+08:00","updated_at":"2026-07-20T12:26:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ca3ed76767208b78e18102889750a9d004053aa.webp?v=1784521603","variant_ids":[41311985860707]},"available":true,"name":"iPhone 12 mini SolidSuit Batman 蝙蝠俠 Batman Logo - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01184O9-SB03","featured_media":{"alt":null,"id":27822837661795,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ca3ed76767208b78e18102889750a9d004053aa.webp?v=1784521603"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41311986090083,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"SST011840B-SB03","requires_shipping":true,"taxable":true,"featured_image":{"id":36318884560995,"product_id":7189368668259,"position":15,"created_at":"2026-07-20T12:26:39+08:00","updated_at":"2026-07-20T12:26:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfe701e2ce41bd7a61d1c86c91f42126324b404a.webp?v=1784521601","variant_ids":[41311986090083]},"available":true,"name":"iPhone 12 mini SolidSuit Batman 蝙蝠俠 Batman Logo - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST011840B-SB03","featured_media":{"alt":null,"id":27822836908131,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfe701e2ce41bd7a61d1c86c91f42126324b404a.webp?v=1784521601"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41311985729635,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0118452-SB03","requires_shipping":true,"taxable":true,"featured_image":{"id":36318884692067,"product_id":7189368668259,"position":16,"created_at":"2026-07-20T12:26:39+08:00","updated_at":"2026-07-20T12:26:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92f6bbd8cc74b162e3be482ea7074b1a9ae1d987.webp?v=1784521601","variant_ids":[41311985729635]},"available":true,"name":"iPhone 12 mini SolidSuit Batman 蝙蝠俠 Batman Logo - Black","public_title":"Black","options":["Black"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0118452-SB03","featured_media":{"alt":null,"id":27822837039203,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92f6bbd8cc74b162e3be482ea7074b1a9ae1d987.webp?v=1784521601"}},"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: "停產" }