$product = {"id":7942094192739,"title":"iPhone 14 Pro Mod NX (MagSafe 兼容) Nyangsongi 適合晾衣服的日子","handle":"iphone-14-pro-mod-nx-magsafe-nya06","description":null,"published_at":"2025-12-23T09:59:18+08:00","created_at":"2025-12-22T12:24:06+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-nyangsongi","device-iPhone 14 Pro","merge","reseller-nyangsongi"],"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":43903486263395,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-NYA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36271701033059,"product_id":7942094192739,"position":13,"created_at":"2026-07-15T14:42:14+08:00","updated_at":"2026-07-15T14:42:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d55a3b9831f68b039a53ae90d4a7c325c3eba97d_684c8b3c-8c17-4a03-9683-5943a7947ba9.webp?v=1784097737","variant_ids":[43903486263395]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Nyangsongi 適合晾衣服的日子 - 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":"MPB01262J5-NYA06","featured_media":{"alt":null,"id":27775756271715,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d55a3b9831f68b039a53ae90d4a7c325c3eba97d_684c8b3c-8c17-4a03-9683-5943a7947ba9.webp?v=1784097737"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903486361699,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-NYA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36271700770915,"product_id":7942094192739,"position":12,"created_at":"2026-07-15T14:42:14+08:00","updated_at":"2026-07-15T14:42:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caf6ac4f19c66de1cb5ad2ee39fa6e47a0a53c89_87e36af2-349d-4562-94c4-8f7c36aba97d.webp?v=1784097736","variant_ids":[43903486361699]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Nyangsongi 適合晾衣服的日子 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-NYA06","featured_media":{"alt":null,"id":27775756042339,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caf6ac4f19c66de1cb5ad2ee39fa6e47a0a53c89_87e36af2-349d-4562-94c4-8f7c36aba97d.webp?v=1784097736"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903487410275,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-NYA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36271701426275,"product_id":7942094192739,"position":14,"created_at":"2026-07-15T14:42:15+08:00","updated_at":"2026-07-15T14:42:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a09ffa7d17c6268385dcdc5f1b414917bcb9e983_cbc094ff-07a3-489d-981a-2eee7f04cc13.webp?v=1784097737","variant_ids":[43903487410275]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Nyangsongi 適合晾衣服的日子 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-NYA06","featured_media":{"alt":null,"id":27775756730467,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a09ffa7d17c6268385dcdc5f1b414917bcb9e983_cbc094ff-07a3-489d-981a-2eee7f04cc13.webp?v=1784097737"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc3bc2f63036a566f1032c4db99488232cb11b58.webp?v=1766377485","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39b9df6f9186a0929d0970d7e6287b376f192c05.webp?v=1766377485","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/091e341ad9ed1bca1b944d513052700b6ce88699.webp?v=1766377486","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e09c54505d29921259214404ecfc39f006373a1.webp?v=1766377486","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93a6419f67a4f58c463f63e1aead6157b16c76d7.webp?v=1766377487","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec772233878e79f0caf122aacf44a73363576842.webp?v=1766377488","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a6e2d0936fad1b5d748660702ab3bb3c4e8d40c.webp?v=1766377488","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0397c392082ee578bed0ce52f6a217324165362c.webp?v=1766377488","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caf6ac4f19c66de1cb5ad2ee39fa6e47a0a53c89.webp?v=1766377489","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a09ffa7d17c6268385dcdc5f1b414917bcb9e983.webp?v=1766377489","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d55a3b9831f68b039a53ae90d4a7c325c3eba97d.webp?v=1766377490","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caf6ac4f19c66de1cb5ad2ee39fa6e47a0a53c89_87e36af2-349d-4562-94c4-8f7c36aba97d.webp?v=1784097736","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d55a3b9831f68b039a53ae90d4a7c325c3eba97d_684c8b3c-8c17-4a03-9683-5943a7947ba9.webp?v=1784097737","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a09ffa7d17c6268385dcdc5f1b414917bcb9e983_cbc094ff-07a3-489d-981a-2eee7f04cc13.webp?v=1784097737"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc3bc2f63036a566f1032c4db99488232cb11b58.webp?v=1766377485","options":["color"],"media":[{"alt":null,"id":26547225722979,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc3bc2f63036a566f1032c4db99488232cb11b58.webp?v=1766377485"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc3bc2f63036a566f1032c4db99488232cb11b58.webp?v=1766377485","width":2000},{"alt":null,"id":26547225755747,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39b9df6f9186a0929d0970d7e6287b376f192c05.webp?v=1766377485"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39b9df6f9186a0929d0970d7e6287b376f192c05.webp?v=1766377485","width":2000},{"alt":null,"id":26547225821283,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/091e341ad9ed1bca1b944d513052700b6ce88699.webp?v=1766377486"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/091e341ad9ed1bca1b944d513052700b6ce88699.webp?v=1766377486","width":2000},{"alt":null,"id":26547225985123,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e09c54505d29921259214404ecfc39f006373a1.webp?v=1766377486"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e09c54505d29921259214404ecfc39f006373a1.webp?v=1766377486","width":2000},{"alt":null,"id":26547226116195,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93a6419f67a4f58c463f63e1aead6157b16c76d7.webp?v=1766377487"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93a6419f67a4f58c463f63e1aead6157b16c76d7.webp?v=1766377487","width":2000},{"alt":null,"id":26547226312803,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec772233878e79f0caf122aacf44a73363576842.webp?v=1766377488"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec772233878e79f0caf122aacf44a73363576842.webp?v=1766377488","width":2000},{"alt":null,"id":26547226509411,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a6e2d0936fad1b5d748660702ab3bb3c4e8d40c.webp?v=1766377488"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a6e2d0936fad1b5d748660702ab3bb3c4e8d40c.webp?v=1766377488","width":2000},{"alt":null,"id":26547226706019,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0397c392082ee578bed0ce52f6a217324165362c.webp?v=1766377488"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0397c392082ee578bed0ce52f6a217324165362c.webp?v=1766377488","width":2000},{"alt":null,"id":26547226902627,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caf6ac4f19c66de1cb5ad2ee39fa6e47a0a53c89.webp?v=1766377489"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caf6ac4f19c66de1cb5ad2ee39fa6e47a0a53c89.webp?v=1766377489","width":2000},{"alt":null,"id":26547227066467,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a09ffa7d17c6268385dcdc5f1b414917bcb9e983.webp?v=1766377489"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a09ffa7d17c6268385dcdc5f1b414917bcb9e983.webp?v=1766377489","width":2000},{"alt":null,"id":26547227263075,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d55a3b9831f68b039a53ae90d4a7c325c3eba97d.webp?v=1766377490"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d55a3b9831f68b039a53ae90d4a7c325c3eba97d.webp?v=1766377490","width":2000},{"alt":null,"id":27775756042339,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caf6ac4f19c66de1cb5ad2ee39fa6e47a0a53c89_87e36af2-349d-4562-94c4-8f7c36aba97d.webp?v=1784097736"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caf6ac4f19c66de1cb5ad2ee39fa6e47a0a53c89_87e36af2-349d-4562-94c4-8f7c36aba97d.webp?v=1784097736","width":2000},{"alt":null,"id":27775756271715,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d55a3b9831f68b039a53ae90d4a7c325c3eba97d_684c8b3c-8c17-4a03-9683-5943a7947ba9.webp?v=1784097737"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d55a3b9831f68b039a53ae90d4a7c325c3eba97d_684c8b3c-8c17-4a03-9683-5943a7947ba9.webp?v=1784097737","width":2000},{"alt":null,"id":27775756730467,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a09ffa7d17c6268385dcdc5f1b414917bcb9e983_cbc094ff-07a3-489d-981a-2eee7f04cc13.webp?v=1784097737"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a09ffa7d17c6268385dcdc5f1b414917bcb9e983_cbc094ff-07a3-489d-981a-2eee7f04cc13.webp?v=1784097737","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43903486263395,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-NYA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36271701033059,"product_id":7942094192739,"position":13,"created_at":"2026-07-15T14:42:14+08:00","updated_at":"2026-07-15T14:42:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d55a3b9831f68b039a53ae90d4a7c325c3eba97d_684c8b3c-8c17-4a03-9683-5943a7947ba9.webp?v=1784097737","variant_ids":[43903486263395]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Nyangsongi 適合晾衣服的日子 - 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":"MPB01262J5-NYA06","featured_media":{"alt":null,"id":27775756271715,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d55a3b9831f68b039a53ae90d4a7c325c3eba97d_684c8b3c-8c17-4a03-9683-5943a7947ba9.webp?v=1784097737"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903486361699,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-NYA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36271700770915,"product_id":7942094192739,"position":12,"created_at":"2026-07-15T14:42:14+08:00","updated_at":"2026-07-15T14:42:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caf6ac4f19c66de1cb5ad2ee39fa6e47a0a53c89_87e36af2-349d-4562-94c4-8f7c36aba97d.webp?v=1784097736","variant_ids":[43903486361699]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Nyangsongi 適合晾衣服的日子 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-NYA06","featured_media":{"alt":null,"id":27775756042339,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caf6ac4f19c66de1cb5ad2ee39fa6e47a0a53c89_87e36af2-349d-4562-94c4-8f7c36aba97d.webp?v=1784097736"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903487410275,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-NYA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36271701426275,"product_id":7942094192739,"position":14,"created_at":"2026-07-15T14:42:15+08:00","updated_at":"2026-07-15T14:42:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a09ffa7d17c6268385dcdc5f1b414917bcb9e983_cbc094ff-07a3-489d-981a-2eee7f04cc13.webp?v=1784097737","variant_ids":[43903487410275]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Nyangsongi 適合晾衣服的日子 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-NYA06","featured_media":{"alt":null,"id":27775756730467,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a09ffa7d17c6268385dcdc5f1b414917bcb9e983_cbc094ff-07a3-489d-981a-2eee7f04cc13.webp?v=1784097737"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43903486263395,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-NYA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36271701033059,"product_id":7942094192739,"position":13,"created_at":"2026-07-15T14:42:14+08:00","updated_at":"2026-07-15T14:42:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d55a3b9831f68b039a53ae90d4a7c325c3eba97d_684c8b3c-8c17-4a03-9683-5943a7947ba9.webp?v=1784097737","variant_ids":[43903486263395]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Nyangsongi 適合晾衣服的日子 - 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":"MPB01262J5-NYA06","featured_media":{"alt":null,"id":27775756271715,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d55a3b9831f68b039a53ae90d4a7c325c3eba97d_684c8b3c-8c17-4a03-9683-5943a7947ba9.webp?v=1784097737"}},"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: "停產" }