$product = {"id":7942288834659,"title":"iPhone 14 Pro Mod NX (MagSafe 兼容) Seungyoun Kim 窗簾小狗 Maestro Bean","handle":"iphone-14-pro-mod-nx-magsafe-seu01","description":null,"published_at":"2025-12-23T09:29:39+08:00","created_at":"2025-12-22T17:53:11+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-seungyounkim","device-iPhone 14 Pro","merge","reseller-seungyounkim"],"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":43904554369123,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-SEU01","requires_shipping":true,"taxable":true,"featured_image":{"id":36335449440355,"product_id":7942288834659,"position":13,"created_at":"2026-07-21T20:16:58+08:00","updated_at":"2026-07-21T20:17:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fde683f6e63f0b2d90140c328897c9eafa09e465_8dab9f52-4247-46a7-9a73-94428a5af400.webp?v=1784636220","variant_ids":[43904554369123]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Seungyoun Kim 窗簾小狗 Maestro Bean - 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-SEU01","featured_media":{"alt":null,"id":27839328321635,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fde683f6e63f0b2d90140c328897c9eafa09e465_8dab9f52-4247-46a7-9a73-94428a5af400.webp?v=1784636220"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904554664035,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-SEU01","requires_shipping":true,"taxable":true,"featured_image":{"id":36335449866339,"product_id":7942288834659,"position":14,"created_at":"2026-07-21T20:17:00+08:00","updated_at":"2026-07-21T20:17:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5df6a5ae2fd81247d586bfbefa0c8a861b49eb24_fbee57df-f7f4-4696-8946-a36e397eadfd.webp?v=1784636222","variant_ids":[43904554664035]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Seungyoun Kim 窗簾小狗 Maestro Bean - 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-SEU01","featured_media":{"alt":null,"id":27839328747619,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5df6a5ae2fd81247d586bfbefa0c8a861b49eb24_fbee57df-f7f4-4696-8946-a36e397eadfd.webp?v=1784636222"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904558137443,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-SEU01","requires_shipping":true,"taxable":true,"featured_image":{"id":36335448260707,"product_id":7942288834659,"position":12,"created_at":"2026-07-21T20:16:53+08:00","updated_at":"2026-07-21T20:16:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/623f1811e7558e62ea5760a43cdef7569f4a656b_350e826d-204d-4181-b031-b4ad8ced8ff3.webp?v=1784636215","variant_ids":[43904558137443]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Seungyoun Kim 窗簾小狗 Maestro Bean - 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-SEU01","featured_media":{"alt":null,"id":27839327141987,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/623f1811e7558e62ea5760a43cdef7569f4a656b_350e826d-204d-4181-b031-b4ad8ced8ff3.webp?v=1784636215"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d85043c8bde4c8fc4879ec0deea223a9f0329ea.webp?v=1766397233","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/623f1811e7558e62ea5760a43cdef7569f4a656b.webp?v=1766397233","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c19d2d3ca89b32674f9b43fc4249314869af3e9d.webp?v=1766397234","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64b3056ea461bc8336a667d340942234800394e7.webp?v=1766397235","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7ef193cea0ff18775eff92993fe77e3a4726a36.webp?v=1766397235","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8353b4796f6cd9dd860a7b400c9db1c6307c66cb.webp?v=1766397235","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fde683f6e63f0b2d90140c328897c9eafa09e465.webp?v=1766397236","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bb7582dee18e576ae570ec00132653d7f6ca25b.webp?v=1766397236","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5df6a5ae2fd81247d586bfbefa0c8a861b49eb24.webp?v=1766397237","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78faa5f31e582d2451a0d2a6fdbd14b47f52bb4a.webp?v=1766397239","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fce1ebd7450c223930ec9d08492a4220c0a11a0.webp?v=1766397238","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/623f1811e7558e62ea5760a43cdef7569f4a656b_350e826d-204d-4181-b031-b4ad8ced8ff3.webp?v=1784636215","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fde683f6e63f0b2d90140c328897c9eafa09e465_8dab9f52-4247-46a7-9a73-94428a5af400.webp?v=1784636220","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5df6a5ae2fd81247d586bfbefa0c8a861b49eb24_fbee57df-f7f4-4696-8946-a36e397eadfd.webp?v=1784636222"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d85043c8bde4c8fc4879ec0deea223a9f0329ea.webp?v=1766397233","options":["color"],"media":[{"alt":null,"id":26548867465315,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d85043c8bde4c8fc4879ec0deea223a9f0329ea.webp?v=1766397233"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d85043c8bde4c8fc4879ec0deea223a9f0329ea.webp?v=1766397233","width":2000},{"alt":null,"id":26548867891299,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/623f1811e7558e62ea5760a43cdef7569f4a656b.webp?v=1766397233"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/623f1811e7558e62ea5760a43cdef7569f4a656b.webp?v=1766397233","width":2000},{"alt":null,"id":26548868448355,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c19d2d3ca89b32674f9b43fc4249314869af3e9d.webp?v=1766397234"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c19d2d3ca89b32674f9b43fc4249314869af3e9d.webp?v=1766397234","width":2000},{"alt":null,"id":26548868972643,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64b3056ea461bc8336a667d340942234800394e7.webp?v=1766397235"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64b3056ea461bc8336a667d340942234800394e7.webp?v=1766397235","width":2000},{"alt":null,"id":26548869398627,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7ef193cea0ff18775eff92993fe77e3a4726a36.webp?v=1766397235"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7ef193cea0ff18775eff92993fe77e3a4726a36.webp?v=1766397235","width":2000},{"alt":null,"id":26548869824611,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8353b4796f6cd9dd860a7b400c9db1c6307c66cb.webp?v=1766397235"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8353b4796f6cd9dd860a7b400c9db1c6307c66cb.webp?v=1766397235","width":2000},{"alt":null,"id":26548870250595,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fde683f6e63f0b2d90140c328897c9eafa09e465.webp?v=1766397236"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fde683f6e63f0b2d90140c328897c9eafa09e465.webp?v=1766397236","width":2000},{"alt":null,"id":26548870840419,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bb7582dee18e576ae570ec00132653d7f6ca25b.webp?v=1766397236"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bb7582dee18e576ae570ec00132653d7f6ca25b.webp?v=1766397236","width":2000},{"alt":null,"id":26548871331939,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5df6a5ae2fd81247d586bfbefa0c8a861b49eb24.webp?v=1766397237"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5df6a5ae2fd81247d586bfbefa0c8a861b49eb24.webp?v=1766397237","width":2000},{"alt":null,"id":26548871790691,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78faa5f31e582d2451a0d2a6fdbd14b47f52bb4a.webp?v=1766397239"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78faa5f31e582d2451a0d2a6fdbd14b47f52bb4a.webp?v=1766397239","width":2000},{"alt":null,"id":26548872347747,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fce1ebd7450c223930ec9d08492a4220c0a11a0.webp?v=1766397238"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fce1ebd7450c223930ec9d08492a4220c0a11a0.webp?v=1766397238","width":2000},{"alt":null,"id":27839327141987,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/623f1811e7558e62ea5760a43cdef7569f4a656b_350e826d-204d-4181-b031-b4ad8ced8ff3.webp?v=1784636215"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/623f1811e7558e62ea5760a43cdef7569f4a656b_350e826d-204d-4181-b031-b4ad8ced8ff3.webp?v=1784636215","width":2000},{"alt":null,"id":27839328321635,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fde683f6e63f0b2d90140c328897c9eafa09e465_8dab9f52-4247-46a7-9a73-94428a5af400.webp?v=1784636220"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fde683f6e63f0b2d90140c328897c9eafa09e465_8dab9f52-4247-46a7-9a73-94428a5af400.webp?v=1784636220","width":2000},{"alt":null,"id":27839328747619,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5df6a5ae2fd81247d586bfbefa0c8a861b49eb24_fbee57df-f7f4-4696-8946-a36e397eadfd.webp?v=1784636222"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5df6a5ae2fd81247d586bfbefa0c8a861b49eb24_fbee57df-f7f4-4696-8946-a36e397eadfd.webp?v=1784636222","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43904554369123,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-SEU01","requires_shipping":true,"taxable":true,"featured_image":{"id":36335449440355,"product_id":7942288834659,"position":13,"created_at":"2026-07-21T20:16:58+08:00","updated_at":"2026-07-21T20:17:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fde683f6e63f0b2d90140c328897c9eafa09e465_8dab9f52-4247-46a7-9a73-94428a5af400.webp?v=1784636220","variant_ids":[43904554369123]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Seungyoun Kim 窗簾小狗 Maestro Bean - 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-SEU01","featured_media":{"alt":null,"id":27839328321635,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fde683f6e63f0b2d90140c328897c9eafa09e465_8dab9f52-4247-46a7-9a73-94428a5af400.webp?v=1784636220"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904554664035,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-SEU01","requires_shipping":true,"taxable":true,"featured_image":{"id":36335449866339,"product_id":7942288834659,"position":14,"created_at":"2026-07-21T20:17:00+08:00","updated_at":"2026-07-21T20:17:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5df6a5ae2fd81247d586bfbefa0c8a861b49eb24_fbee57df-f7f4-4696-8946-a36e397eadfd.webp?v=1784636222","variant_ids":[43904554664035]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Seungyoun Kim 窗簾小狗 Maestro Bean - 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-SEU01","featured_media":{"alt":null,"id":27839328747619,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5df6a5ae2fd81247d586bfbefa0c8a861b49eb24_fbee57df-f7f4-4696-8946-a36e397eadfd.webp?v=1784636222"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904558137443,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-SEU01","requires_shipping":true,"taxable":true,"featured_image":{"id":36335448260707,"product_id":7942288834659,"position":12,"created_at":"2026-07-21T20:16:53+08:00","updated_at":"2026-07-21T20:16:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/623f1811e7558e62ea5760a43cdef7569f4a656b_350e826d-204d-4181-b031-b4ad8ced8ff3.webp?v=1784636215","variant_ids":[43904558137443]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Seungyoun Kim 窗簾小狗 Maestro Bean - 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-SEU01","featured_media":{"alt":null,"id":27839327141987,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/623f1811e7558e62ea5760a43cdef7569f4a656b_350e826d-204d-4181-b031-b4ad8ced8ff3.webp?v=1784636215"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43904554369123,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-SEU01","requires_shipping":true,"taxable":true,"featured_image":{"id":36335449440355,"product_id":7942288834659,"position":13,"created_at":"2026-07-21T20:16:58+08:00","updated_at":"2026-07-21T20:17:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fde683f6e63f0b2d90140c328897c9eafa09e465_8dab9f52-4247-46a7-9a73-94428a5af400.webp?v=1784636220","variant_ids":[43904554369123]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Seungyoun Kim 窗簾小狗 Maestro Bean - 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-SEU01","featured_media":{"alt":null,"id":27839328321635,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fde683f6e63f0b2d90140c328897c9eafa09e465_8dab9f52-4247-46a7-9a73-94428a5af400.webp?v=1784636220"}},"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: "停產" }