$product = {"id":7937559625827,"title":"iPhone 13 mini Mod NX (MagSafe 兼容) Jin Young Choi 跟著音樂一起跳","handle":"iphone-13-mini-mod-nx-magsafe-cjy03","description":null,"published_at":"2025-12-12T09:49:49+08:00","created_at":"2025-12-11T09:45:35+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-jychoioioi","device-iPhone 13 Mini","merge","reseller-jychoioioi"],"price":110000,"price_min":110000,"price_max":110000,"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":43883375984739,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-CJY03","requires_shipping":true,"taxable":true,"featured_image":{"id":36271444590691,"product_id":7937559625827,"position":14,"created_at":"2026-07-15T14:25:47+08:00","updated_at":"2026-07-15T14:25:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d606261f11d9e9fb39e973af714a95e9ebe7cce4_fa3f2683-e756-4253-bcae-be76ff600291.webp?v=1784096749","variant_ids":[43883375984739]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Jin Young Choi 跟著音樂一起跳 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01228J5-CJY03","featured_media":{"alt":null,"id":27775500320867,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d606261f11d9e9fb39e973af714a95e9ebe7cce4_fa3f2683-e756-4253-bcae-be76ff600291.webp?v=1784096749"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883376017507,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-CJY03","requires_shipping":true,"taxable":true,"featured_image":{"id":36271443935331,"product_id":7937559625827,"position":12,"created_at":"2026-07-15T14:25:46+08:00","updated_at":"2026-07-15T14:25:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c408046db5664d75be361317ecd5ecb5bdde74a_0ff17aa1-d24b-4981-a62a-187adba20fba.webp?v=1784096748","variant_ids":[43883376017507]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Jin Young Choi 跟著音樂一起跳 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-CJY03","featured_media":{"alt":null,"id":27775499665507,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c408046db5664d75be361317ecd5ecb5bdde74a_0ff17aa1-d24b-4981-a62a-187adba20fba.webp?v=1784096748"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883376115811,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-CJY03","requires_shipping":true,"taxable":true,"featured_image":{"id":36271444295779,"product_id":7937559625827,"position":13,"created_at":"2026-07-15T14:25:47+08:00","updated_at":"2026-07-15T14:25:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ad8bf8dcb7c477ad0641b5b5d1e498ee33d0cdd_523cdf2d-e39a-4ac7-a1ba-c684184e4f22.webp?v=1784096749","variant_ids":[43883376115811]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Jin Young Choi 跟著音樂一起跳 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-CJY03","featured_media":{"alt":null,"id":27775500025955,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ad8bf8dcb7c477ad0641b5b5d1e498ee33d0cdd_523cdf2d-e39a-4ac7-a1ba-c684184e4f22.webp?v=1784096749"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5aa41b594a4775db2a4db645a615e319b136fc71.webp?v=1765417540","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a2ee0143aa3925eb2b0d7d2ab8a72814e0fb01f.webp?v=1765419279","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ad8bf8dcb7c477ad0641b5b5d1e498ee33d0cdd.webp?v=1765419279","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d606261f11d9e9fb39e973af714a95e9ebe7cce4.webp?v=1765419280","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e69ebc174183eb6ed3bae326be823ecb6d634825.webp?v=1765419280","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499dba6010d5a65a11f5e826cf407467f864e49a.webp?v=1765419281","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5aa41b594a4775db2a4db645a615e319b136fc71_ca74aba8-0710-4b12-baca-997f9d94df65.webp?v=1765419282","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e82b52d380a5f24699a08d5aff9d4146d44b10fc.webp?v=1765419282","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8da3237522baed595427c6a4e29c12e1e92da677.webp?v=1765419283","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b258d61079388c94eaebf9fd717b8886dd58297.webp?v=1765419284","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c408046db5664d75be361317ecd5ecb5bdde74a.webp?v=1765419284","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c408046db5664d75be361317ecd5ecb5bdde74a_0ff17aa1-d24b-4981-a62a-187adba20fba.webp?v=1784096748","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ad8bf8dcb7c477ad0641b5b5d1e498ee33d0cdd_523cdf2d-e39a-4ac7-a1ba-c684184e4f22.webp?v=1784096749","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d606261f11d9e9fb39e973af714a95e9ebe7cce4_fa3f2683-e756-4253-bcae-be76ff600291.webp?v=1784096749"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5aa41b594a4775db2a4db645a615e319b136fc71.webp?v=1765417540","options":["color"],"media":[{"alt":null,"id":26493220946019,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5aa41b594a4775db2a4db645a615e319b136fc71.webp?v=1765417540"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5aa41b594a4775db2a4db645a615e319b136fc71.webp?v=1765417540","width":2000},{"alt":null,"id":26493758537827,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a2ee0143aa3925eb2b0d7d2ab8a72814e0fb01f.webp?v=1765419279"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a2ee0143aa3925eb2b0d7d2ab8a72814e0fb01f.webp?v=1765419279","width":2000},{"alt":null,"id":26493759357027,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ad8bf8dcb7c477ad0641b5b5d1e498ee33d0cdd.webp?v=1765419279"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ad8bf8dcb7c477ad0641b5b5d1e498ee33d0cdd.webp?v=1765419279","width":2000},{"alt":null,"id":26493760503907,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d606261f11d9e9fb39e973af714a95e9ebe7cce4.webp?v=1765419280"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d606261f11d9e9fb39e973af714a95e9ebe7cce4.webp?v=1765419280","width":2000},{"alt":null,"id":26493760831587,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e69ebc174183eb6ed3bae326be823ecb6d634825.webp?v=1765419280"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e69ebc174183eb6ed3bae326be823ecb6d634825.webp?v=1765419280","width":2000},{"alt":null,"id":26493761585251,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499dba6010d5a65a11f5e826cf407467f864e49a.webp?v=1765419281"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499dba6010d5a65a11f5e826cf407467f864e49a.webp?v=1765419281","width":2000},{"alt":null,"id":26493761847395,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5aa41b594a4775db2a4db645a615e319b136fc71_ca74aba8-0710-4b12-baca-997f9d94df65.webp?v=1765419282"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5aa41b594a4775db2a4db645a615e319b136fc71_ca74aba8-0710-4b12-baca-997f9d94df65.webp?v=1765419282","width":2000},{"alt":null,"id":26493762076771,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e82b52d380a5f24699a08d5aff9d4146d44b10fc.webp?v=1765419282"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e82b52d380a5f24699a08d5aff9d4146d44b10fc.webp?v=1765419282","width":2000},{"alt":null,"id":26493762338915,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8da3237522baed595427c6a4e29c12e1e92da677.webp?v=1765419283"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8da3237522baed595427c6a4e29c12e1e92da677.webp?v=1765419283","width":2000},{"alt":null,"id":26493762535523,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b258d61079388c94eaebf9fd717b8886dd58297.webp?v=1765419284"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b258d61079388c94eaebf9fd717b8886dd58297.webp?v=1765419284","width":2000},{"alt":null,"id":26493762994275,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c408046db5664d75be361317ecd5ecb5bdde74a.webp?v=1765419284"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c408046db5664d75be361317ecd5ecb5bdde74a.webp?v=1765419284","width":2000},{"alt":null,"id":27775499665507,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c408046db5664d75be361317ecd5ecb5bdde74a_0ff17aa1-d24b-4981-a62a-187adba20fba.webp?v=1784096748"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c408046db5664d75be361317ecd5ecb5bdde74a_0ff17aa1-d24b-4981-a62a-187adba20fba.webp?v=1784096748","width":2000},{"alt":null,"id":27775500025955,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ad8bf8dcb7c477ad0641b5b5d1e498ee33d0cdd_523cdf2d-e39a-4ac7-a1ba-c684184e4f22.webp?v=1784096749"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ad8bf8dcb7c477ad0641b5b5d1e498ee33d0cdd_523cdf2d-e39a-4ac7-a1ba-c684184e4f22.webp?v=1784096749","width":2000},{"alt":null,"id":27775500320867,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d606261f11d9e9fb39e973af714a95e9ebe7cce4_fa3f2683-e756-4253-bcae-be76ff600291.webp?v=1784096749"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d606261f11d9e9fb39e973af714a95e9ebe7cce4_fa3f2683-e756-4253-bcae-be76ff600291.webp?v=1784096749","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43883375984739,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-CJY03","requires_shipping":true,"taxable":true,"featured_image":{"id":36271444590691,"product_id":7937559625827,"position":14,"created_at":"2026-07-15T14:25:47+08:00","updated_at":"2026-07-15T14:25:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d606261f11d9e9fb39e973af714a95e9ebe7cce4_fa3f2683-e756-4253-bcae-be76ff600291.webp?v=1784096749","variant_ids":[43883375984739]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Jin Young Choi 跟著音樂一起跳 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01228J5-CJY03","featured_media":{"alt":null,"id":27775500320867,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d606261f11d9e9fb39e973af714a95e9ebe7cce4_fa3f2683-e756-4253-bcae-be76ff600291.webp?v=1784096749"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883376017507,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-CJY03","requires_shipping":true,"taxable":true,"featured_image":{"id":36271443935331,"product_id":7937559625827,"position":12,"created_at":"2026-07-15T14:25:46+08:00","updated_at":"2026-07-15T14:25:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c408046db5664d75be361317ecd5ecb5bdde74a_0ff17aa1-d24b-4981-a62a-187adba20fba.webp?v=1784096748","variant_ids":[43883376017507]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Jin Young Choi 跟著音樂一起跳 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-CJY03","featured_media":{"alt":null,"id":27775499665507,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c408046db5664d75be361317ecd5ecb5bdde74a_0ff17aa1-d24b-4981-a62a-187adba20fba.webp?v=1784096748"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883376115811,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-CJY03","requires_shipping":true,"taxable":true,"featured_image":{"id":36271444295779,"product_id":7937559625827,"position":13,"created_at":"2026-07-15T14:25:47+08:00","updated_at":"2026-07-15T14:25:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ad8bf8dcb7c477ad0641b5b5d1e498ee33d0cdd_523cdf2d-e39a-4ac7-a1ba-c684184e4f22.webp?v=1784096749","variant_ids":[43883376115811]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Jin Young Choi 跟著音樂一起跳 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-CJY03","featured_media":{"alt":null,"id":27775500025955,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ad8bf8dcb7c477ad0641b5b5d1e498ee33d0cdd_523cdf2d-e39a-4ac7-a1ba-c684184e4f22.webp?v=1784096749"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43883375984739,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-CJY03","requires_shipping":true,"taxable":true,"featured_image":{"id":36271444590691,"product_id":7937559625827,"position":14,"created_at":"2026-07-15T14:25:47+08:00","updated_at":"2026-07-15T14:25:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d606261f11d9e9fb39e973af714a95e9ebe7cce4_fa3f2683-e756-4253-bcae-be76ff600291.webp?v=1784096749","variant_ids":[43883375984739]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Jin Young Choi 跟著音樂一起跳 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01228J5-CJY03","featured_media":{"alt":null,"id":27775500320867,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d606261f11d9e9fb39e973af714a95e9ebe7cce4_fa3f2683-e756-4253-bcae-be76ff600291.webp?v=1784096749"}},"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: "停產" }