$product = {"id":7830909354083,"title":"iPhone 13 mini SolidSuit 不只是情人節:愛的方程式 愛的方程式:心跳(紅)","handle":"iphone-13-mini-solidsuit-bumper-back-original-design-dk02","description":null,"published_at":"2025-07-04T10:06:27+08:00","created_at":"2025-07-03T16:14:55+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer-valentines-day-collection","device-iPhone 13 Mini","discountable-item","merge","original-design","reseller-valentines-day-collection"],"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":43507467223139,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"SST01228Z9-DK02","requires_shipping":true,"taxable":true,"featured_image":{"id":34116720197731,"product_id":7830909354083,"position":3,"created_at":"2025-07-03T16:14:57+08:00","updated_at":"2025-07-03T16:14:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a5703c54468cc3c7315714a598fe579f10ef3e3.webp?v=1751530498","variant_ids":[43507467223139]},"available":true,"name":"iPhone 13 mini SolidSuit 不只是情人節:愛的方程式 愛的方程式:心跳(紅) - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228Z9-DK02","featured_media":{"alt":null,"id":25769608544355,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a5703c54468cc3c7315714a598fe579f10ef3e3.webp?v=1751530498"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43507467255907,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"SST01228Z8-DK02","requires_shipping":true,"taxable":true,"featured_image":{"id":34116722458723,"product_id":7830909354083,"position":7,"created_at":"2025-07-03T16:14:59+08:00","updated_at":"2025-07-03T16:15:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd00adc1f49d267b377a26aeb9ef3a8990c4d4bc.webp?v=1751530501","variant_ids":[43507467255907]},"available":true,"name":"iPhone 13 mini SolidSuit 不只是情人節:愛的方程式 愛的方程式:心跳(紅) - 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":"SST01228Z8-DK02","featured_media":{"alt":null,"id":25769609560163,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd00adc1f49d267b377a26aeb9ef3a8990c4d4bc.webp?v=1751530501"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43507467288675,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0122852-DK02","requires_shipping":true,"taxable":true,"featured_image":{"id":34116719738979,"product_id":7830909354083,"position":2,"created_at":"2025-07-03T16:14:56+08:00","updated_at":"2025-07-03T16:14:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bf39797c0d9c7fd9741a40c296b33ef23214086.webp?v=1751530498","variant_ids":[43507467288675]},"available":true,"name":"iPhone 13 mini SolidSuit 不只是情人節:愛的方程式 愛的方程式:心跳(紅) - Black","public_title":"Black","options":["Black"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0122852-DK02","featured_media":{"alt":null,"id":25769608282211,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bf39797c0d9c7fd9741a40c296b33ef23214086.webp?v=1751530498"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43507467321443,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"SST01228O8-DK02","requires_shipping":true,"taxable":true,"featured_image":{"id":34116722753635,"product_id":7830909354083,"position":8,"created_at":"2025-07-03T16:15:00+08:00","updated_at":"2025-07-03T16:15:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02a1eedf11b38a4cb5f30a4cececb4231dc3ee3e.webp?v=1751530501","variant_ids":[43507467321443]},"available":true,"name":"iPhone 13 mini SolidSuit 不只是情人節:愛的方程式 愛的方程式:心跳(紅) - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228O8-DK02","featured_media":{"alt":null,"id":25769609986147,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02a1eedf11b38a4cb5f30a4cececb4231dc3ee3e.webp?v=1751530501"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf4b7582a0e9c77977749e1f4af803374a45213c.webp?v=1751530497","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bf39797c0d9c7fd9741a40c296b33ef23214086.webp?v=1751530498","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a5703c54468cc3c7315714a598fe579f10ef3e3.webp?v=1751530498","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/042728b00063c917a8743198916fe2eca1fe4686.webp?v=1751530499","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9aad123fd10fcff6e6392887d8afaab41e9be44d.webp?v=1751530499","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bc6ee4d1f61d0749a7826936d917851facde6be.webp?v=1751530500","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd00adc1f49d267b377a26aeb9ef3a8990c4d4bc.webp?v=1751530501","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02a1eedf11b38a4cb5f30a4cececb4231dc3ee3e.webp?v=1751530501","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2de1a8549ce0c5a6c3dc2b037b1e7df9553d4c5.webp?v=1751530502","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f44e74912e2792bee03d492c65cf636c910eec0c.webp?v=1751530502"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf4b7582a0e9c77977749e1f4af803374a45213c.webp?v=1751530497","options":["color"],"media":[{"alt":null,"id":25769608118371,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf4b7582a0e9c77977749e1f4af803374a45213c.webp?v=1751530497"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf4b7582a0e9c77977749e1f4af803374a45213c.webp?v=1751530497","width":2000},{"alt":null,"id":25769608282211,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bf39797c0d9c7fd9741a40c296b33ef23214086.webp?v=1751530498"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bf39797c0d9c7fd9741a40c296b33ef23214086.webp?v=1751530498","width":2000},{"alt":null,"id":25769608544355,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a5703c54468cc3c7315714a598fe579f10ef3e3.webp?v=1751530498"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a5703c54468cc3c7315714a598fe579f10ef3e3.webp?v=1751530498","width":2000},{"alt":null,"id":25769608806499,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/042728b00063c917a8743198916fe2eca1fe4686.webp?v=1751530499"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/042728b00063c917a8743198916fe2eca1fe4686.webp?v=1751530499","width":2000},{"alt":null,"id":25769608970339,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9aad123fd10fcff6e6392887d8afaab41e9be44d.webp?v=1751530499"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9aad123fd10fcff6e6392887d8afaab41e9be44d.webp?v=1751530499","width":2000},{"alt":null,"id":25769609232483,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bc6ee4d1f61d0749a7826936d917851facde6be.webp?v=1751530500"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bc6ee4d1f61d0749a7826936d917851facde6be.webp?v=1751530500","width":2000},{"alt":null,"id":25769609560163,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd00adc1f49d267b377a26aeb9ef3a8990c4d4bc.webp?v=1751530501"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd00adc1f49d267b377a26aeb9ef3a8990c4d4bc.webp?v=1751530501","width":2000},{"alt":null,"id":25769609986147,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02a1eedf11b38a4cb5f30a4cececb4231dc3ee3e.webp?v=1751530501"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02a1eedf11b38a4cb5f30a4cececb4231dc3ee3e.webp?v=1751530501","width":2000},{"alt":null,"id":25769610182755,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2de1a8549ce0c5a6c3dc2b037b1e7df9553d4c5.webp?v=1751530502"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2de1a8549ce0c5a6c3dc2b037b1e7df9553d4c5.webp?v=1751530502","width":2000},{"alt":null,"id":25769610444899,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f44e74912e2792bee03d492c65cf636c910eec0c.webp?v=1751530502"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f44e74912e2792bee03d492c65cf636c910eec0c.webp?v=1751530502","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43507467223139,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"SST01228Z9-DK02","requires_shipping":true,"taxable":true,"featured_image":{"id":34116720197731,"product_id":7830909354083,"position":3,"created_at":"2025-07-03T16:14:57+08:00","updated_at":"2025-07-03T16:14:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a5703c54468cc3c7315714a598fe579f10ef3e3.webp?v=1751530498","variant_ids":[43507467223139]},"available":true,"name":"iPhone 13 mini SolidSuit 不只是情人節:愛的方程式 愛的方程式:心跳(紅) - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228Z9-DK02","featured_media":{"alt":null,"id":25769608544355,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a5703c54468cc3c7315714a598fe579f10ef3e3.webp?v=1751530498"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43507467255907,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"SST01228Z8-DK02","requires_shipping":true,"taxable":true,"featured_image":{"id":34116722458723,"product_id":7830909354083,"position":7,"created_at":"2025-07-03T16:14:59+08:00","updated_at":"2025-07-03T16:15:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd00adc1f49d267b377a26aeb9ef3a8990c4d4bc.webp?v=1751530501","variant_ids":[43507467255907]},"available":true,"name":"iPhone 13 mini SolidSuit 不只是情人節:愛的方程式 愛的方程式:心跳(紅) - 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":"SST01228Z8-DK02","featured_media":{"alt":null,"id":25769609560163,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd00adc1f49d267b377a26aeb9ef3a8990c4d4bc.webp?v=1751530501"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43507467288675,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0122852-DK02","requires_shipping":true,"taxable":true,"featured_image":{"id":34116719738979,"product_id":7830909354083,"position":2,"created_at":"2025-07-03T16:14:56+08:00","updated_at":"2025-07-03T16:14:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bf39797c0d9c7fd9741a40c296b33ef23214086.webp?v=1751530498","variant_ids":[43507467288675]},"available":true,"name":"iPhone 13 mini SolidSuit 不只是情人節:愛的方程式 愛的方程式:心跳(紅) - Black","public_title":"Black","options":["Black"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0122852-DK02","featured_media":{"alt":null,"id":25769608282211,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bf39797c0d9c7fd9741a40c296b33ef23214086.webp?v=1751530498"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43507467321443,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"SST01228O8-DK02","requires_shipping":true,"taxable":true,"featured_image":{"id":34116722753635,"product_id":7830909354083,"position":8,"created_at":"2025-07-03T16:15:00+08:00","updated_at":"2025-07-03T16:15:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02a1eedf11b38a4cb5f30a4cececb4231dc3ee3e.webp?v=1751530501","variant_ids":[43507467321443]},"available":true,"name":"iPhone 13 mini SolidSuit 不只是情人節:愛的方程式 愛的方程式:心跳(紅) - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228O8-DK02","featured_media":{"alt":null,"id":25769609986147,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02a1eedf11b38a4cb5f30a4cececb4231dc3ee3e.webp?v=1751530501"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43507467223139,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"SST01228Z9-DK02","requires_shipping":true,"taxable":true,"featured_image":{"id":34116720197731,"product_id":7830909354083,"position":3,"created_at":"2025-07-03T16:14:57+08:00","updated_at":"2025-07-03T16:14:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a5703c54468cc3c7315714a598fe579f10ef3e3.webp?v=1751530498","variant_ids":[43507467223139]},"available":true,"name":"iPhone 13 mini SolidSuit 不只是情人節:愛的方程式 愛的方程式:心跳(紅) - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228Z9-DK02","featured_media":{"alt":null,"id":25769608544355,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a5703c54468cc3c7315714a598fe579f10ef3e3.webp?v=1751530498"}},"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: "停產" }