$product = {"id":7125848326243,"title":"iPhone 13 mini SolidSuit (MagSafe 兼容) Care Bears 夜空星語","handle":"iphone-13-mini-solidsuit-classic-magsafe-yb12","description":null,"published_at":"2023-12-22T09:53:44+08:00","created_at":"2023-12-20T15:30:14+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit MagSafe專區-Care Bears","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-carebears","device-iPhone 13 Mini","merge","reseller-carebears"],"price":125000,"price_min":125000,"price_max":125000,"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":41081435848803,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":36039995818083,"product_id":7125848326243,"position":18,"created_at":"2026-06-22T15:45:40+08:00","updated_at":"2026-06-22T15:45:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0eb3fd1965770fe6dce8bec4c71051fec7c0404a.webp?v=1782114342","variant_ids":[41081435848803]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) Care Bears 夜空星語 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0122852-YB12","featured_media":{"alt":null,"id":27556539138147,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0eb3fd1965770fe6dce8bec4c71051fec7c0404a.webp?v=1782114342"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081436110947,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01228Z8-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":36039996014691,"product_id":7125848326243,"position":19,"created_at":"2026-06-22T15:45:40+08:00","updated_at":"2026-06-22T15:45:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e9f0b61c680c4a5ab975a1f9c8d96f3f5855db9.webp?v=1782114343","variant_ids":[41081436110947]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) Care Bears 夜空星語 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01228Z8-YB12","featured_media":{"alt":null,"id":27556539334755,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e9f0b61c680c4a5ab975a1f9c8d96f3f5855db9.webp?v=1782114343"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081436143715,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01228Z9-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":36039995392099,"product_id":7125848326243,"position":16,"created_at":"2026-06-22T15:45:39+08:00","updated_at":"2026-06-22T15:45:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/414150ceb826ea36fd94217f06fe6bdf8912c4d8.webp?v=1782114341","variant_ids":[41081436143715]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) Care Bears 夜空星語 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01228Z9-YB12","featured_media":{"alt":null,"id":27556538712163,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/414150ceb826ea36fd94217f06fe6bdf8912c4d8.webp?v=1782114341"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec9e6e582fcb3609e5315bf1e62ee8ae7c75c148.webp?v=1703057418","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d763326e65400a0021cdc50d76a85cc1d5c5213.webp?v=1703057423","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac94d14ead1172f3268fed434f9c7de132d9d12a.webp?v=1703057426","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad66c832a0d18526a6fd5529ed713b4471d3eeb9.webp?v=1703057428","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad5dee54c114bd08beb85a0f3262a157a2630001.webp?v=1703057431","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/423dad6be1a07a39bc30ba4e5bfb79694b314d4c.webp?v=1703057433","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c97209c870a0ae48d9822ca37f5913782bbd8d3.webp?v=1703057436","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/082acdbefbc1a57985f4feef7012acd2dcde4d42.webp?v=1703057438","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c03a6d244cf93af67c5f79622f97f5a592a072e7.webp?v=1703057441","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7465c0bf1e4ef88831874153a9604016ffabebf.webp?v=1703057443","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cafba89317b3d2c1c4b4f912987aaa8b249bd02d.webp?v=1703057446","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53c70e17fdf88bef7033327de093de102ac7e8f2.webp?v=1703057448","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/593f24147f5142de51d3b54a21fa4c12e6a3a4b5.webp?v=1703057451","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a868e1c6723465d7b919215ef078ce600912e50.webp?v=1703057453","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36b2ba37019f53d082a80f8e669a4be99794ea58.webp?v=1703057456","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/414150ceb826ea36fd94217f06fe6bdf8912c4d8.webp?v=1782114341","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6a53f839cfa47d634b986e7cb2fb934732dcd3f.webp?v=1782114341","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0eb3fd1965770fe6dce8bec4c71051fec7c0404a.webp?v=1782114342","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e9f0b61c680c4a5ab975a1f9c8d96f3f5855db9.webp?v=1782114343","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eceb83801878a4ab060f42e6db762554f2ad591a.webp?v=1782114343"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec9e6e582fcb3609e5315bf1e62ee8ae7c75c148.webp?v=1703057418","options":["color"],"media":[{"alt":null,"id":23074522464355,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec9e6e582fcb3609e5315bf1e62ee8ae7c75c148.webp?v=1703057418"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec9e6e582fcb3609e5315bf1e62ee8ae7c75c148.webp?v=1703057418","width":2000},{"alt":null,"id":23074523578467,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d763326e65400a0021cdc50d76a85cc1d5c5213.webp?v=1703057423"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d763326e65400a0021cdc50d76a85cc1d5c5213.webp?v=1703057423","width":2000},{"alt":null,"id":23074524069987,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac94d14ead1172f3268fed434f9c7de132d9d12a.webp?v=1703057426"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac94d14ead1172f3268fed434f9c7de132d9d12a.webp?v=1703057426","width":2000},{"alt":null,"id":23074524594275,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad66c832a0d18526a6fd5529ed713b4471d3eeb9.webp?v=1703057428"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad66c832a0d18526a6fd5529ed713b4471d3eeb9.webp?v=1703057428","width":2000},{"alt":null,"id":23074525085795,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad5dee54c114bd08beb85a0f3262a157a2630001.webp?v=1703057431"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad5dee54c114bd08beb85a0f3262a157a2630001.webp?v=1703057431","width":2000},{"alt":null,"id":23074525544547,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/423dad6be1a07a39bc30ba4e5bfb79694b314d4c.webp?v=1703057433"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/423dad6be1a07a39bc30ba4e5bfb79694b314d4c.webp?v=1703057433","width":2000},{"alt":null,"id":23074526068835,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c97209c870a0ae48d9822ca37f5913782bbd8d3.webp?v=1703057436"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c97209c870a0ae48d9822ca37f5913782bbd8d3.webp?v=1703057436","width":2000},{"alt":null,"id":23074526691427,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/082acdbefbc1a57985f4feef7012acd2dcde4d42.webp?v=1703057438"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/082acdbefbc1a57985f4feef7012acd2dcde4d42.webp?v=1703057438","width":2000},{"alt":null,"id":23074527248483,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c03a6d244cf93af67c5f79622f97f5a592a072e7.webp?v=1703057441"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c03a6d244cf93af67c5f79622f97f5a592a072e7.webp?v=1703057441","width":2000},{"alt":null,"id":23074527805539,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7465c0bf1e4ef88831874153a9604016ffabebf.webp?v=1703057443"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7465c0bf1e4ef88831874153a9604016ffabebf.webp?v=1703057443","width":2000},{"alt":null,"id":23074528231523,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cafba89317b3d2c1c4b4f912987aaa8b249bd02d.webp?v=1703057446"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cafba89317b3d2c1c4b4f912987aaa8b249bd02d.webp?v=1703057446","width":2000},{"alt":null,"id":23074528821347,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53c70e17fdf88bef7033327de093de102ac7e8f2.webp?v=1703057448"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53c70e17fdf88bef7033327de093de102ac7e8f2.webp?v=1703057448","width":2000},{"alt":null,"id":23074529771619,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/593f24147f5142de51d3b54a21fa4c12e6a3a4b5.webp?v=1703057451"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/593f24147f5142de51d3b54a21fa4c12e6a3a4b5.webp?v=1703057451","width":2000},{"alt":null,"id":23074530426979,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a868e1c6723465d7b919215ef078ce600912e50.webp?v=1703057453"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a868e1c6723465d7b919215ef078ce600912e50.webp?v=1703057453","width":2000},{"alt":null,"id":23074531016803,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36b2ba37019f53d082a80f8e669a4be99794ea58.webp?v=1703057456"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36b2ba37019f53d082a80f8e669a4be99794ea58.webp?v=1703057456","width":2000},{"alt":null,"id":27556538712163,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/414150ceb826ea36fd94217f06fe6bdf8912c4d8.webp?v=1782114341"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/414150ceb826ea36fd94217f06fe6bdf8912c4d8.webp?v=1782114341","width":2000},{"alt":null,"id":27556538941539,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6a53f839cfa47d634b986e7cb2fb934732dcd3f.webp?v=1782114341"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6a53f839cfa47d634b986e7cb2fb934732dcd3f.webp?v=1782114341","width":2000},{"alt":null,"id":27556539138147,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0eb3fd1965770fe6dce8bec4c71051fec7c0404a.webp?v=1782114342"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0eb3fd1965770fe6dce8bec4c71051fec7c0404a.webp?v=1782114342","width":2000},{"alt":null,"id":27556539334755,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e9f0b61c680c4a5ab975a1f9c8d96f3f5855db9.webp?v=1782114343"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e9f0b61c680c4a5ab975a1f9c8d96f3f5855db9.webp?v=1782114343","width":2000},{"alt":null,"id":27556539498595,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eceb83801878a4ab060f42e6db762554f2ad591a.webp?v=1782114343"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eceb83801878a4ab060f42e6db762554f2ad591a.webp?v=1782114343","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41081435848803,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":36039995818083,"product_id":7125848326243,"position":18,"created_at":"2026-06-22T15:45:40+08:00","updated_at":"2026-06-22T15:45:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0eb3fd1965770fe6dce8bec4c71051fec7c0404a.webp?v=1782114342","variant_ids":[41081435848803]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) Care Bears 夜空星語 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0122852-YB12","featured_media":{"alt":null,"id":27556539138147,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0eb3fd1965770fe6dce8bec4c71051fec7c0404a.webp?v=1782114342"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081436110947,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01228Z8-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":36039996014691,"product_id":7125848326243,"position":19,"created_at":"2026-06-22T15:45:40+08:00","updated_at":"2026-06-22T15:45:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e9f0b61c680c4a5ab975a1f9c8d96f3f5855db9.webp?v=1782114343","variant_ids":[41081436110947]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) Care Bears 夜空星語 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01228Z8-YB12","featured_media":{"alt":null,"id":27556539334755,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e9f0b61c680c4a5ab975a1f9c8d96f3f5855db9.webp?v=1782114343"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081436143715,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01228Z9-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":36039995392099,"product_id":7125848326243,"position":16,"created_at":"2026-06-22T15:45:39+08:00","updated_at":"2026-06-22T15:45:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/414150ceb826ea36fd94217f06fe6bdf8912c4d8.webp?v=1782114341","variant_ids":[41081436143715]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) Care Bears 夜空星語 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01228Z9-YB12","featured_media":{"alt":null,"id":27556538712163,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/414150ceb826ea36fd94217f06fe6bdf8912c4d8.webp?v=1782114341"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41081435848803,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":36039995818083,"product_id":7125848326243,"position":18,"created_at":"2026-06-22T15:45:40+08:00","updated_at":"2026-06-22T15:45:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0eb3fd1965770fe6dce8bec4c71051fec7c0404a.webp?v=1782114342","variant_ids":[41081435848803]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) Care Bears 夜空星語 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0122852-YB12","featured_media":{"alt":null,"id":27556539138147,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0eb3fd1965770fe6dce8bec4c71051fec7c0404a.webp?v=1782114342"}},"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: "停產"
}