$product = {"id":7942288867427,"title":"iPhone 14 Pro Mod NX (MagSafe 兼容) Seungyoun Kim 紅衣小狗 Pingurusky","handle":"iphone-14-pro-mod-nx-magsafe-seu02","description":null,"published_at":"2025-12-23T09:29:39+08:00","created_at":"2025-12-22T17:53:12+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":43904552370275,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-SEU02","requires_shipping":true,"taxable":true,"featured_image":{"id":36335448096867,"product_id":7942288867427,"position":12,"created_at":"2026-07-21T20:16:52+08:00","updated_at":"2026-07-21T20:16:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6f9ccf06f2edda73bcf5c023afdddf7d57b9b60_1a23aab3-6fe2-426d-9de8-56225ea50f7b.webp?v=1784636214","variant_ids":[43904552370275]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Seungyoun Kim 紅衣小狗 Pingurusky - 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-SEU02","featured_media":{"alt":null,"id":27839326978147,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6f9ccf06f2edda73bcf5c023afdddf7d57b9b60_1a23aab3-6fe2-426d-9de8-56225ea50f7b.webp?v=1784636214"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904552829027,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-SEU02","requires_shipping":true,"taxable":true,"featured_image":{"id":36335448752227,"product_id":7942288867427,"position":13,"created_at":"2026-07-21T20:16:54+08:00","updated_at":"2026-07-21T20:16:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f581a77f9db45af253ac6ffe366923b9a6c05642_756d0793-8ddd-45a9-854b-b1786af07ee3.webp?v=1784636216","variant_ids":[43904552829027]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Seungyoun Kim 紅衣小狗 Pingurusky - 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-SEU02","featured_media":{"alt":null,"id":27839327633507,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f581a77f9db45af253ac6ffe366923b9a6c05642_756d0793-8ddd-45a9-854b-b1786af07ee3.webp?v=1784636216"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904555384931,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-SEU02","requires_shipping":true,"taxable":true,"featured_image":{"id":36335448981603,"product_id":7942288867427,"position":14,"created_at":"2026-07-21T20:16:55+08:00","updated_at":"2026-07-21T20:16:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17d504a9e71f480074bd34a15896ced337de31e5_ccb173ad-96b5-4ae7-b077-82ed9d258076.webp?v=1784636217","variant_ids":[43904555384931]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Seungyoun Kim 紅衣小狗 Pingurusky - 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-SEU02","featured_media":{"alt":null,"id":27839327862883,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17d504a9e71f480074bd34a15896ced337de31e5_ccb173ad-96b5-4ae7-b077-82ed9d258076.webp?v=1784636217"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3278825b815e884cc6f8d32452191aca1e0c0620.webp?v=1766397231","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93657e078d9b042309792abb292e7bb3545fa453.webp?v=1766397231","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/273473e4da763cb6f3bb7648029e6432dc8e5ecc.webp?v=1766397232","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bd9a4cb81d41d0796c7525555dac39f1e055a09.webp?v=1766397233","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17d504a9e71f480074bd34a15896ced337de31e5.webp?v=1766397234","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26b7bec1c43b38c20143ce76b35022fbe0a55e4d.webp?v=1766397233","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/631169616081b6d28b4fe71c0f9d53be5627cf2e.webp?v=1766397234","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f581a77f9db45af253ac6ffe366923b9a6c05642.webp?v=1766397234","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6f9ccf06f2edda73bcf5c023afdddf7d57b9b60.webp?v=1766397235","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb83e1ebc5e8ce2fb26bf65422fdf43cf2f7a00a.webp?v=1766397235","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6b12c2f52c928d3bdb4acffe5f3711632274bd6.webp?v=1766397236","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6f9ccf06f2edda73bcf5c023afdddf7d57b9b60_1a23aab3-6fe2-426d-9de8-56225ea50f7b.webp?v=1784636214","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f581a77f9db45af253ac6ffe366923b9a6c05642_756d0793-8ddd-45a9-854b-b1786af07ee3.webp?v=1784636216","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17d504a9e71f480074bd34a15896ced337de31e5_ccb173ad-96b5-4ae7-b077-82ed9d258076.webp?v=1784636217"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3278825b815e884cc6f8d32452191aca1e0c0620.webp?v=1766397231","options":["color"],"media":[{"alt":null,"id":26548865859683,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3278825b815e884cc6f8d32452191aca1e0c0620.webp?v=1766397231"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3278825b815e884cc6f8d32452191aca1e0c0620.webp?v=1766397231","width":2000},{"alt":null,"id":26548866318435,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93657e078d9b042309792abb292e7bb3545fa453.webp?v=1766397231"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93657e078d9b042309792abb292e7bb3545fa453.webp?v=1766397231","width":2000},{"alt":null,"id":26548866613347,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/273473e4da763cb6f3bb7648029e6432dc8e5ecc.webp?v=1766397232"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/273473e4da763cb6f3bb7648029e6432dc8e5ecc.webp?v=1766397232","width":2000},{"alt":null,"id":26548866941027,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bd9a4cb81d41d0796c7525555dac39f1e055a09.webp?v=1766397233"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bd9a4cb81d41d0796c7525555dac39f1e055a09.webp?v=1766397233","width":2000},{"alt":null,"id":26548867072099,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17d504a9e71f480074bd34a15896ced337de31e5.webp?v=1766397234"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17d504a9e71f480074bd34a15896ced337de31e5.webp?v=1766397234","width":2000},{"alt":null,"id":26548867399779,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26b7bec1c43b38c20143ce76b35022fbe0a55e4d.webp?v=1766397233"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26b7bec1c43b38c20143ce76b35022fbe0a55e4d.webp?v=1766397233","width":2000},{"alt":null,"id":26548867989603,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/631169616081b6d28b4fe71c0f9d53be5627cf2e.webp?v=1766397234"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/631169616081b6d28b4fe71c0f9d53be5627cf2e.webp?v=1766397234","width":2000},{"alt":null,"id":26548868546659,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f581a77f9db45af253ac6ffe366923b9a6c05642.webp?v=1766397234"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f581a77f9db45af253ac6ffe366923b9a6c05642.webp?v=1766397234","width":2000},{"alt":null,"id":26548869005411,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6f9ccf06f2edda73bcf5c023afdddf7d57b9b60.webp?v=1766397235"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6f9ccf06f2edda73bcf5c023afdddf7d57b9b60.webp?v=1766397235","width":2000},{"alt":null,"id":26548869496931,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb83e1ebc5e8ce2fb26bf65422fdf43cf2f7a00a.webp?v=1766397235"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb83e1ebc5e8ce2fb26bf65422fdf43cf2f7a00a.webp?v=1766397235","width":2000},{"alt":null,"id":26548869988451,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6b12c2f52c928d3bdb4acffe5f3711632274bd6.webp?v=1766397236"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6b12c2f52c928d3bdb4acffe5f3711632274bd6.webp?v=1766397236","width":2000},{"alt":null,"id":27839326978147,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6f9ccf06f2edda73bcf5c023afdddf7d57b9b60_1a23aab3-6fe2-426d-9de8-56225ea50f7b.webp?v=1784636214"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6f9ccf06f2edda73bcf5c023afdddf7d57b9b60_1a23aab3-6fe2-426d-9de8-56225ea50f7b.webp?v=1784636214","width":2000},{"alt":null,"id":27839327633507,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f581a77f9db45af253ac6ffe366923b9a6c05642_756d0793-8ddd-45a9-854b-b1786af07ee3.webp?v=1784636216"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f581a77f9db45af253ac6ffe366923b9a6c05642_756d0793-8ddd-45a9-854b-b1786af07ee3.webp?v=1784636216","width":2000},{"alt":null,"id":27839327862883,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17d504a9e71f480074bd34a15896ced337de31e5_ccb173ad-96b5-4ae7-b077-82ed9d258076.webp?v=1784636217"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17d504a9e71f480074bd34a15896ced337de31e5_ccb173ad-96b5-4ae7-b077-82ed9d258076.webp?v=1784636217","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43904552370275,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-SEU02","requires_shipping":true,"taxable":true,"featured_image":{"id":36335448096867,"product_id":7942288867427,"position":12,"created_at":"2026-07-21T20:16:52+08:00","updated_at":"2026-07-21T20:16:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6f9ccf06f2edda73bcf5c023afdddf7d57b9b60_1a23aab3-6fe2-426d-9de8-56225ea50f7b.webp?v=1784636214","variant_ids":[43904552370275]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Seungyoun Kim 紅衣小狗 Pingurusky - 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-SEU02","featured_media":{"alt":null,"id":27839326978147,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6f9ccf06f2edda73bcf5c023afdddf7d57b9b60_1a23aab3-6fe2-426d-9de8-56225ea50f7b.webp?v=1784636214"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904552829027,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-SEU02","requires_shipping":true,"taxable":true,"featured_image":{"id":36335448752227,"product_id":7942288867427,"position":13,"created_at":"2026-07-21T20:16:54+08:00","updated_at":"2026-07-21T20:16:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f581a77f9db45af253ac6ffe366923b9a6c05642_756d0793-8ddd-45a9-854b-b1786af07ee3.webp?v=1784636216","variant_ids":[43904552829027]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Seungyoun Kim 紅衣小狗 Pingurusky - 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-SEU02","featured_media":{"alt":null,"id":27839327633507,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f581a77f9db45af253ac6ffe366923b9a6c05642_756d0793-8ddd-45a9-854b-b1786af07ee3.webp?v=1784636216"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904555384931,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-SEU02","requires_shipping":true,"taxable":true,"featured_image":{"id":36335448981603,"product_id":7942288867427,"position":14,"created_at":"2026-07-21T20:16:55+08:00","updated_at":"2026-07-21T20:16:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17d504a9e71f480074bd34a15896ced337de31e5_ccb173ad-96b5-4ae7-b077-82ed9d258076.webp?v=1784636217","variant_ids":[43904555384931]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Seungyoun Kim 紅衣小狗 Pingurusky - 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-SEU02","featured_media":{"alt":null,"id":27839327862883,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17d504a9e71f480074bd34a15896ced337de31e5_ccb173ad-96b5-4ae7-b077-82ed9d258076.webp?v=1784636217"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43904552370275,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-SEU02","requires_shipping":true,"taxable":true,"featured_image":{"id":36335448096867,"product_id":7942288867427,"position":12,"created_at":"2026-07-21T20:16:52+08:00","updated_at":"2026-07-21T20:16:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6f9ccf06f2edda73bcf5c023afdddf7d57b9b60_1a23aab3-6fe2-426d-9de8-56225ea50f7b.webp?v=1784636214","variant_ids":[43904552370275]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Seungyoun Kim 紅衣小狗 Pingurusky - 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-SEU02","featured_media":{"alt":null,"id":27839326978147,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6f9ccf06f2edda73bcf5c023afdddf7d57b9b60_1a23aab3-6fe2-426d-9de8-56225ea50f7b.webp?v=1784636214"}},"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: "停產" }