$product = {"id":4718676869219,"title":"iPhone 12 mini SolidSuit 花生騷WasangShow 幾何貓頭鷹之眼","handle":"iphone-12-mini-solidsuit-classic-ka55","description":"","published_at":"2021-01-18T15:34:33+08:00","created_at":"2020-10-07T11:40:49+08:00","vendor":"Rhinoshield","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-wasangshow","device-iPhone 12 Mini","merge","reseller-wasangshow"],"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":33286067191907,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0118452-KA55","requires_shipping":true,"taxable":true,"featured_image":{"id":36479853330531,"product_id":4718676869219,"position":11,"created_at":"2026-08-04T18:23:21+08:00","updated_at":"2026-08-04T18:23:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/431b07622a5a82111216d7d620063c48bf8691b8_4f25fb59-afe7-4e5a-80e8-07a61ad0b9bc.webp?v=1785839003","variant_ids":[33286067191907]},"available":true,"name":"iPhone 12 mini SolidSuit 花生騷WasangShow 幾何貓頭鷹之眼 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0118452-KA55","featured_media":{"alt":null,"id":27983172468835,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/431b07622a5a82111216d7d620063c48bf8691b8_4f25fb59-afe7-4e5a-80e8-07a61ad0b9bc.webp?v=1785839003"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40306643075171,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"SST01184O9-KA55","requires_shipping":true,"taxable":true,"featured_image":{"id":36479852839011,"product_id":4718676869219,"position":9,"created_at":"2026-08-04T18:23:20+08:00","updated_at":"2026-08-04T18:23:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05580c4c53edc855a4202b55a7673b99718835ce_bebc130e-177a-4367-8844-11b095d23b65.webp?v=1785839002","variant_ids":[40306643075171]},"available":true,"name":"iPhone 12 mini SolidSuit 花生騷WasangShow 幾何貓頭鷹之眼 - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01184O9-KA55","featured_media":{"alt":null,"id":27983171977315,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05580c4c53edc855a4202b55a7673b99718835ce_bebc130e-177a-4367-8844-11b095d23b65.webp?v=1785839002"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40556188074083,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"SST011840B-KA55","requires_shipping":true,"taxable":true,"featured_image":{"id":36479853002851,"product_id":4718676869219,"position":10,"created_at":"2026-08-04T18:23:21+08:00","updated_at":"2026-08-04T18:23:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40687f08365f652258c27cb0bae8290b737d57e_5be904c6-e152-432f-a8f3-f13245b0b312.webp?v=1785839003","variant_ids":[40556188074083]},"available":true,"name":"iPhone 12 mini SolidSuit 花生騷WasangShow 幾何貓頭鷹之眼 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST011840B-KA55","featured_media":{"alt":null,"id":27983172141155,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40687f08365f652258c27cb0bae8290b737d57e_5be904c6-e152-432f-a8f3-f13245b0b312.webp?v=1785839003"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/product-SST0118453-KA55_d08ff839-728d-4857-95d0-04e41dee8054.png?v=1679985203","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2b31a721232ca84ca818dd0badec4bb08f65972.webp?v=1784024085","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40687f08365f652258c27cb0bae8290b737d57e.webp?v=1784024086","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/431b07622a5a82111216d7d620063c48bf8691b8.webp?v=1784024086","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05580c4c53edc855a4202b55a7673b99718835ce.webp?v=1784024087","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e6db26b0e869979b8a6d0840bef2ad4c3c26825.webp?v=1784024087","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d981fa8b859a4ed6ac180aa6a66c888b2e6f6f5.webp?v=1784024088","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d981fa8b859a4ed6ac180aa6a66c888b2e6f6f5_1ffbfeda-59e4-4281-b756-6cad0fddf412.webp?v=1785839002","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05580c4c53edc855a4202b55a7673b99718835ce_bebc130e-177a-4367-8844-11b095d23b65.webp?v=1785839002","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40687f08365f652258c27cb0bae8290b737d57e_5be904c6-e152-432f-a8f3-f13245b0b312.webp?v=1785839003","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/431b07622a5a82111216d7d620063c48bf8691b8_4f25fb59-afe7-4e5a-80e8-07a61ad0b9bc.webp?v=1785839003","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2b31a721232ca84ca818dd0badec4bb08f65972_c465e0c6-7353-4e69-8213-35a6ffd4ee94.webp?v=1785839004","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e6db26b0e869979b8a6d0840bef2ad4c3c26825_2e51d425-06d1-4a42-a79f-99d5a1735376.webp?v=1785839005"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/product-SST0118453-KA55_d08ff839-728d-4857-95d0-04e41dee8054.png?v=1679985203","options":["color"],"media":[{"alt":null,"id":22294956834915,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/product-SST0118453-KA55_d08ff839-728d-4857-95d0-04e41dee8054.png?v=1679985203"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/product-SST0118453-KA55_d08ff839-728d-4857-95d0-04e41dee8054.png?v=1679985203","width":2000},{"alt":null,"id":27764046757987,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2b31a721232ca84ca818dd0badec4bb08f65972.webp?v=1784024085"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2b31a721232ca84ca818dd0badec4bb08f65972.webp?v=1784024085","width":2000},{"alt":null,"id":27764046987363,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40687f08365f652258c27cb0bae8290b737d57e.webp?v=1784024086"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40687f08365f652258c27cb0bae8290b737d57e.webp?v=1784024086","width":2000},{"alt":null,"id":27764047216739,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/431b07622a5a82111216d7d620063c48bf8691b8.webp?v=1784024086"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/431b07622a5a82111216d7d620063c48bf8691b8.webp?v=1784024086","width":2000},{"alt":null,"id":27764047511651,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05580c4c53edc855a4202b55a7673b99718835ce.webp?v=1784024087"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05580c4c53edc855a4202b55a7673b99718835ce.webp?v=1784024087","width":2000},{"alt":null,"id":27764047872099,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e6db26b0e869979b8a6d0840bef2ad4c3c26825.webp?v=1784024087"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e6db26b0e869979b8a6d0840bef2ad4c3c26825.webp?v=1784024087","width":2000},{"alt":null,"id":27764048265315,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d981fa8b859a4ed6ac180aa6a66c888b2e6f6f5.webp?v=1784024088"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d981fa8b859a4ed6ac180aa6a66c888b2e6f6f5.webp?v=1784024088","width":2000},{"alt":null,"id":27983171813475,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d981fa8b859a4ed6ac180aa6a66c888b2e6f6f5_1ffbfeda-59e4-4281-b756-6cad0fddf412.webp?v=1785839002"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d981fa8b859a4ed6ac180aa6a66c888b2e6f6f5_1ffbfeda-59e4-4281-b756-6cad0fddf412.webp?v=1785839002","width":2000},{"alt":null,"id":27983171977315,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05580c4c53edc855a4202b55a7673b99718835ce_bebc130e-177a-4367-8844-11b095d23b65.webp?v=1785839002"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05580c4c53edc855a4202b55a7673b99718835ce_bebc130e-177a-4367-8844-11b095d23b65.webp?v=1785839002","width":2000},{"alt":null,"id":27983172141155,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40687f08365f652258c27cb0bae8290b737d57e_5be904c6-e152-432f-a8f3-f13245b0b312.webp?v=1785839003"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40687f08365f652258c27cb0bae8290b737d57e_5be904c6-e152-432f-a8f3-f13245b0b312.webp?v=1785839003","width":2000},{"alt":null,"id":27983172468835,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/431b07622a5a82111216d7d620063c48bf8691b8_4f25fb59-afe7-4e5a-80e8-07a61ad0b9bc.webp?v=1785839003"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/431b07622a5a82111216d7d620063c48bf8691b8_4f25fb59-afe7-4e5a-80e8-07a61ad0b9bc.webp?v=1785839003","width":2000},{"alt":null,"id":27983172796515,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2b31a721232ca84ca818dd0badec4bb08f65972_c465e0c6-7353-4e69-8213-35a6ffd4ee94.webp?v=1785839004"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2b31a721232ca84ca818dd0badec4bb08f65972_c465e0c6-7353-4e69-8213-35a6ffd4ee94.webp?v=1785839004","width":2000},{"alt":null,"id":27983173288035,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e6db26b0e869979b8a6d0840bef2ad4c3c26825_2e51d425-06d1-4a42-a79f-99d5a1735376.webp?v=1785839005"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e6db26b0e869979b8a6d0840bef2ad4c3c26825_2e51d425-06d1-4a42-a79f-99d5a1735376.webp?v=1785839005","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":""}; $isMerge = null; $variants = [{"id":33286067191907,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0118452-KA55","requires_shipping":true,"taxable":true,"featured_image":{"id":36479853330531,"product_id":4718676869219,"position":11,"created_at":"2026-08-04T18:23:21+08:00","updated_at":"2026-08-04T18:23:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/431b07622a5a82111216d7d620063c48bf8691b8_4f25fb59-afe7-4e5a-80e8-07a61ad0b9bc.webp?v=1785839003","variant_ids":[33286067191907]},"available":true,"name":"iPhone 12 mini SolidSuit 花生騷WasangShow 幾何貓頭鷹之眼 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0118452-KA55","featured_media":{"alt":null,"id":27983172468835,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/431b07622a5a82111216d7d620063c48bf8691b8_4f25fb59-afe7-4e5a-80e8-07a61ad0b9bc.webp?v=1785839003"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40306643075171,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"SST01184O9-KA55","requires_shipping":true,"taxable":true,"featured_image":{"id":36479852839011,"product_id":4718676869219,"position":9,"created_at":"2026-08-04T18:23:20+08:00","updated_at":"2026-08-04T18:23:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05580c4c53edc855a4202b55a7673b99718835ce_bebc130e-177a-4367-8844-11b095d23b65.webp?v=1785839002","variant_ids":[40306643075171]},"available":true,"name":"iPhone 12 mini SolidSuit 花生騷WasangShow 幾何貓頭鷹之眼 - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01184O9-KA55","featured_media":{"alt":null,"id":27983171977315,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05580c4c53edc855a4202b55a7673b99718835ce_bebc130e-177a-4367-8844-11b095d23b65.webp?v=1785839002"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40556188074083,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"SST011840B-KA55","requires_shipping":true,"taxable":true,"featured_image":{"id":36479853002851,"product_id":4718676869219,"position":10,"created_at":"2026-08-04T18:23:21+08:00","updated_at":"2026-08-04T18:23:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40687f08365f652258c27cb0bae8290b737d57e_5be904c6-e152-432f-a8f3-f13245b0b312.webp?v=1785839003","variant_ids":[40556188074083]},"available":true,"name":"iPhone 12 mini SolidSuit 花生騷WasangShow 幾何貓頭鷹之眼 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST011840B-KA55","featured_media":{"alt":null,"id":27983172141155,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40687f08365f652258c27cb0bae8290b737d57e_5be904c6-e152-432f-a8f3-f13245b0b312.webp?v=1785839003"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":33286067191907,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0118452-KA55","requires_shipping":true,"taxable":true,"featured_image":{"id":36479853330531,"product_id":4718676869219,"position":11,"created_at":"2026-08-04T18:23:21+08:00","updated_at":"2026-08-04T18:23:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/431b07622a5a82111216d7d620063c48bf8691b8_4f25fb59-afe7-4e5a-80e8-07a61ad0b9bc.webp?v=1785839003","variant_ids":[33286067191907]},"available":true,"name":"iPhone 12 mini SolidSuit 花生騷WasangShow 幾何貓頭鷹之眼 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0118452-KA55","featured_media":{"alt":null,"id":27983172468835,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/431b07622a5a82111216d7d620063c48bf8691b8_4f25fb59-afe7-4e5a-80e8-07a61ad0b9bc.webp?v=1785839003"}},"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: "停產" }