$product = {"id":7411280248931,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 波巴費特-日文字系列","handle":"iphone-14-pro-mod-nx-magsafe-printable-pb65","description":null,"published_at":"2024-06-11T17:40:41+08:00","created_at":"2024-05-04T23:59:14+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-star-wars","Top50","type-Mod NX Printable MagSafe Printable"],"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":41896893579363,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB65","requires_shipping":true,"taxable":true,"featured_image":{"id":31480036491363,"product_id":7411280248931,"position":8,"created_at":"2024-05-04T23:59:32+08:00","updated_at":"2024-05-04T23:59:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47405ff91e49de71cc4d5a6fab1915d47ad0d914_6c75f4d9-5b54-4fb3-bcbb-1eeaa58dee06.webp?v=1714838372","variant_ids":[41896893579363]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 波巴費特-日文字系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-PB65","featured_media":{"alt":null,"id":23885287129187,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47405ff91e49de71cc4d5a6fab1915d47ad0d914_6c75f4d9-5b54-4fb3-bcbb-1eeaa58dee06.webp?v=1714838372"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896893644899,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB65","requires_shipping":true,"taxable":true,"featured_image":{"id":31480037671011,"product_id":7411280248931,"position":10,"created_at":"2024-05-04T23:59:37+08:00","updated_at":"2024-05-04T23:59:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10e5236612b44477113c60f0355849e051a59d8f_56115da7-5d46-4ad9-b53d-bfb0efc4ebd9.webp?v=1714838377","variant_ids":[41896893644899]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 波巴費特-日文字系列 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-PB65","featured_media":{"alt":null,"id":23885288276067,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10e5236612b44477113c60f0355849e051a59d8f_56115da7-5d46-4ad9-b53d-bfb0efc4ebd9.webp?v=1714838377"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896893874275,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB65","requires_shipping":true,"taxable":true,"featured_image":{"id":31480034492515,"product_id":7411280248931,"position":4,"created_at":"2024-05-04T23:59:23+08:00","updated_at":"2024-05-04T23:59:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/804ad3749a6302502cd408e90e3d3423f36ed02e_d18e8cf9-0335-4095-8109-d5e7f610c8a3.webp?v=1714838363","variant_ids":[41896893874275]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 波巴費特-日文字系列 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-PB65","featured_media":{"alt":null,"id":23885285130339,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/804ad3749a6302502cd408e90e3d3423f36ed02e_d18e8cf9-0335-4095-8109-d5e7f610c8a3.webp?v=1714838363"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe3dbe28c67444f9461439688114b5802c510549_0321e98a-26e8-4e07-bd35-b1bb74383c98.webp?v=1714838356","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fe21f6d194206a2c1b8c40d39aa5cc8b7fee8b1_4d79f856-433f-4216-9c01-e0467bc92ce7.webp?v=1714838359","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76a48a097fb877db6c80f5e1c85dd37f17ece63b_33ccffb5-e209-4672-b2b2-76b09c95a934.webp?v=1714838361","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/804ad3749a6302502cd408e90e3d3423f36ed02e_d18e8cf9-0335-4095-8109-d5e7f610c8a3.webp?v=1714838363","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07b1f0a658c2bd003bb6a80ab546eef79233fe01_2b1eb5a2-bdd8-4718-b05f-55c597b6f869.webp?v=1714838365","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6382d7bed90870206e42e6e46372e62c6c1d9c15_22c8f378-e459-4ba4-947c-494a5ec83f18.webp?v=1714838368","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4538078c4366eabfbdb130fa8f1e727d9d2f6f01_93c087b9-af9a-43db-93af-db6c9d0a3159.webp?v=1714838370","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47405ff91e49de71cc4d5a6fab1915d47ad0d914_6c75f4d9-5b54-4fb3-bcbb-1eeaa58dee06.webp?v=1714838372","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b877e5b0c1a1363d1938ba410e1102804943d42_6656af38-5dc6-4510-a294-91bf875359e8.webp?v=1714838375","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10e5236612b44477113c60f0355849e051a59d8f_56115da7-5d46-4ad9-b53d-bfb0efc4ebd9.webp?v=1714838377"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe3dbe28c67444f9461439688114b5802c510549_0321e98a-26e8-4e07-bd35-b1bb74383c98.webp?v=1714838356","options":["color"],"media":[{"alt":null,"id":23885283393635,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe3dbe28c67444f9461439688114b5802c510549_0321e98a-26e8-4e07-bd35-b1bb74383c98.webp?v=1714838356"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe3dbe28c67444f9461439688114b5802c510549_0321e98a-26e8-4e07-bd35-b1bb74383c98.webp?v=1714838356","width":2000},{"alt":null,"id":23885284081763,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fe21f6d194206a2c1b8c40d39aa5cc8b7fee8b1_4d79f856-433f-4216-9c01-e0467bc92ce7.webp?v=1714838359"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fe21f6d194206a2c1b8c40d39aa5cc8b7fee8b1_4d79f856-433f-4216-9c01-e0467bc92ce7.webp?v=1714838359","width":2000},{"alt":null,"id":23885284540515,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76a48a097fb877db6c80f5e1c85dd37f17ece63b_33ccffb5-e209-4672-b2b2-76b09c95a934.webp?v=1714838361"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76a48a097fb877db6c80f5e1c85dd37f17ece63b_33ccffb5-e209-4672-b2b2-76b09c95a934.webp?v=1714838361","width":2000},{"alt":null,"id":23885285130339,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/804ad3749a6302502cd408e90e3d3423f36ed02e_d18e8cf9-0335-4095-8109-d5e7f610c8a3.webp?v=1714838363"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/804ad3749a6302502cd408e90e3d3423f36ed02e_d18e8cf9-0335-4095-8109-d5e7f610c8a3.webp?v=1714838363","width":2000},{"alt":null,"id":23885285687395,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07b1f0a658c2bd003bb6a80ab546eef79233fe01_2b1eb5a2-bdd8-4718-b05f-55c597b6f869.webp?v=1714838365"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07b1f0a658c2bd003bb6a80ab546eef79233fe01_2b1eb5a2-bdd8-4718-b05f-55c597b6f869.webp?v=1714838365","width":2000},{"alt":null,"id":23885286211683,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6382d7bed90870206e42e6e46372e62c6c1d9c15_22c8f378-e459-4ba4-947c-494a5ec83f18.webp?v=1714838368"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6382d7bed90870206e42e6e46372e62c6c1d9c15_22c8f378-e459-4ba4-947c-494a5ec83f18.webp?v=1714838368","width":2000},{"alt":null,"id":23885286703203,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4538078c4366eabfbdb130fa8f1e727d9d2f6f01_93c087b9-af9a-43db-93af-db6c9d0a3159.webp?v=1714838370"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4538078c4366eabfbdb130fa8f1e727d9d2f6f01_93c087b9-af9a-43db-93af-db6c9d0a3159.webp?v=1714838370","width":2000},{"alt":null,"id":23885287129187,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47405ff91e49de71cc4d5a6fab1915d47ad0d914_6c75f4d9-5b54-4fb3-bcbb-1eeaa58dee06.webp?v=1714838372"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47405ff91e49de71cc4d5a6fab1915d47ad0d914_6c75f4d9-5b54-4fb3-bcbb-1eeaa58dee06.webp?v=1714838372","width":2000},{"alt":null,"id":23885287784547,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b877e5b0c1a1363d1938ba410e1102804943d42_6656af38-5dc6-4510-a294-91bf875359e8.webp?v=1714838375"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b877e5b0c1a1363d1938ba410e1102804943d42_6656af38-5dc6-4510-a294-91bf875359e8.webp?v=1714838375","width":2000},{"alt":null,"id":23885288276067,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10e5236612b44477113c60f0355849e051a59d8f_56115da7-5d46-4ad9-b53d-bfb0efc4ebd9.webp?v=1714838377"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10e5236612b44477113c60f0355849e051a59d8f_56115da7-5d46-4ad9-b53d-bfb0efc4ebd9.webp?v=1714838377","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41896893579363,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB65","requires_shipping":true,"taxable":true,"featured_image":{"id":31480036491363,"product_id":7411280248931,"position":8,"created_at":"2024-05-04T23:59:32+08:00","updated_at":"2024-05-04T23:59:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47405ff91e49de71cc4d5a6fab1915d47ad0d914_6c75f4d9-5b54-4fb3-bcbb-1eeaa58dee06.webp?v=1714838372","variant_ids":[41896893579363]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 波巴費特-日文字系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-PB65","featured_media":{"alt":null,"id":23885287129187,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47405ff91e49de71cc4d5a6fab1915d47ad0d914_6c75f4d9-5b54-4fb3-bcbb-1eeaa58dee06.webp?v=1714838372"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896893644899,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB65","requires_shipping":true,"taxable":true,"featured_image":{"id":31480037671011,"product_id":7411280248931,"position":10,"created_at":"2024-05-04T23:59:37+08:00","updated_at":"2024-05-04T23:59:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10e5236612b44477113c60f0355849e051a59d8f_56115da7-5d46-4ad9-b53d-bfb0efc4ebd9.webp?v=1714838377","variant_ids":[41896893644899]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 波巴費特-日文字系列 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-PB65","featured_media":{"alt":null,"id":23885288276067,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10e5236612b44477113c60f0355849e051a59d8f_56115da7-5d46-4ad9-b53d-bfb0efc4ebd9.webp?v=1714838377"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896893874275,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB65","requires_shipping":true,"taxable":true,"featured_image":{"id":31480034492515,"product_id":7411280248931,"position":4,"created_at":"2024-05-04T23:59:23+08:00","updated_at":"2024-05-04T23:59:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/804ad3749a6302502cd408e90e3d3423f36ed02e_d18e8cf9-0335-4095-8109-d5e7f610c8a3.webp?v=1714838363","variant_ids":[41896893874275]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 波巴費特-日文字系列 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-PB65","featured_media":{"alt":null,"id":23885285130339,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/804ad3749a6302502cd408e90e3d3423f36ed02e_d18e8cf9-0335-4095-8109-d5e7f610c8a3.webp?v=1714838363"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41896893579363,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB65","requires_shipping":true,"taxable":true,"featured_image":{"id":31480036491363,"product_id":7411280248931,"position":8,"created_at":"2024-05-04T23:59:32+08:00","updated_at":"2024-05-04T23:59:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47405ff91e49de71cc4d5a6fab1915d47ad0d914_6c75f4d9-5b54-4fb3-bcbb-1eeaa58dee06.webp?v=1714838372","variant_ids":[41896893579363]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 波巴費特-日文字系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-PB65","featured_media":{"alt":null,"id":23885287129187,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47405ff91e49de71cc4d5a6fab1915d47ad0d914_6c75f4d9-5b54-4fb3-bcbb-1eeaa58dee06.webp?v=1714838372"}},"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: "停產" }