$product = {"id":7413976399971,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - The Powerpuff Girls - 魔人啾啾的攻擊","handle":"iphone-13-mini-mod-nx-magsafe-printable-sr04","description":null,"published_at":"2024-06-11T17:46:40+08:00","created_at":"2024-05-05T13:53:55+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區The Powerpuff Girls","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-the-power-puff-girls","device-iPhone 13 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-the-power-puff-girls","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":41902898872419,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-SR04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484368519267,"product_id":7413976399971,"position":1,"created_at":"2024-05-05T13:53:57+08:00","updated_at":"2024-05-05T13:53:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15a311c7b7895d3025d80fc4f7776c664f1a71bc_f3d614f1-6a71-4b5e-b03a-bbccfcf3e694.webp?v=1714888437","variant_ids":[41902898872419]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - The Powerpuff Girls - 魔人啾啾的攻擊 - 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":"MPB0122824-SR04","featured_media":{"alt":null,"id":23889662214243,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15a311c7b7895d3025d80fc4f7776c664f1a71bc_f3d614f1-6a71-4b5e-b03a-bbccfcf3e694.webp?v=1714888437"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41902898937955,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-SR04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484369141859,"product_id":7413976399971,"position":2,"created_at":"2024-05-05T13:54:00+08:00","updated_at":"2024-05-05T13:54:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2e9f230afae8a88ded46e72eacc0270752cf546_f06865a9-b61b-4722-87ca-9074d9845c70.webp?v=1714888440","variant_ids":[41902898937955]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - The Powerpuff Girls - 魔人啾啾的攻擊 - 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":"MPB0122804-SR04","featured_media":{"alt":null,"id":23889662869603,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2e9f230afae8a88ded46e72eacc0270752cf546_f06865a9-b61b-4722-87ca-9074d9845c70.webp?v=1714888440"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41902899167331,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-SR04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484370124899,"product_id":7413976399971,"position":4,"created_at":"2024-05-05T13:54:04+08:00","updated_at":"2024-05-05T13:54:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3a024cd8cf7deaf14f82e8f0cdc4a20cfe81ae7_a09a02b8-dfc2-4308-afde-2192d7fd09ed.webp?v=1714888444","variant_ids":[41902899167331]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - The Powerpuff Girls - 魔人啾啾的攻擊 - 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":"MPB01228J5-SR04","featured_media":{"alt":null,"id":23889664049251,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3a024cd8cf7deaf14f82e8f0cdc4a20cfe81ae7_a09a02b8-dfc2-4308-afde-2192d7fd09ed.webp?v=1714888444"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15a311c7b7895d3025d80fc4f7776c664f1a71bc_f3d614f1-6a71-4b5e-b03a-bbccfcf3e694.webp?v=1714888437","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2e9f230afae8a88ded46e72eacc0270752cf546_f06865a9-b61b-4722-87ca-9074d9845c70.webp?v=1714888440","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/639132d537ca5ddded10e70c84375048fc27794d_60c6daca-faab-46a9-bfaa-81585bfe50ee.webp?v=1714888442","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3a024cd8cf7deaf14f82e8f0cdc4a20cfe81ae7_a09a02b8-dfc2-4308-afde-2192d7fd09ed.webp?v=1714888444","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/658663cc0a61a88ebf8602823ffde0eced4327e7_8200f11a-b756-4557-a088-82a1c5b7a61e.webp?v=1714888447","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d030195aaca7461df968b80d55947fc8e2508d04_4e63cc01-cb3d-4e96-b64f-f0f37483edbc.webp?v=1714888449","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2331c69619171d7a1a668a19c50be49bf4dc853b_c26264f2-5ee4-418f-bddd-4c1897449a8c.webp?v=1714888452","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/852f408945349bcd2d2c8249d9614f583e447ca4_d2624c16-084e-4927-b345-a02c4b41df5a.webp?v=1714888454","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fbed7a4f24c8ce78f42e4bf5b599e02044880d8_77b637b4-b0c8-43e0-9d8a-72d9ab240df3.webp?v=1714888456","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4eb595cf4368127fac374d7afa404d6df8cd2b4e_43e57b8f-5fb5-4648-8f52-d64e3d4c27c1.webp?v=1714888459"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15a311c7b7895d3025d80fc4f7776c664f1a71bc_f3d614f1-6a71-4b5e-b03a-bbccfcf3e694.webp?v=1714888437","options":["color"],"media":[{"alt":null,"id":23889662214243,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15a311c7b7895d3025d80fc4f7776c664f1a71bc_f3d614f1-6a71-4b5e-b03a-bbccfcf3e694.webp?v=1714888437"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15a311c7b7895d3025d80fc4f7776c664f1a71bc_f3d614f1-6a71-4b5e-b03a-bbccfcf3e694.webp?v=1714888437","width":2000},{"alt":null,"id":23889662869603,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2e9f230afae8a88ded46e72eacc0270752cf546_f06865a9-b61b-4722-87ca-9074d9845c70.webp?v=1714888440"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2e9f230afae8a88ded46e72eacc0270752cf546_f06865a9-b61b-4722-87ca-9074d9845c70.webp?v=1714888440","width":2000},{"alt":null,"id":23889663426659,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/639132d537ca5ddded10e70c84375048fc27794d_60c6daca-faab-46a9-bfaa-81585bfe50ee.webp?v=1714888442"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/639132d537ca5ddded10e70c84375048fc27794d_60c6daca-faab-46a9-bfaa-81585bfe50ee.webp?v=1714888442","width":2000},{"alt":null,"id":23889664049251,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3a024cd8cf7deaf14f82e8f0cdc4a20cfe81ae7_a09a02b8-dfc2-4308-afde-2192d7fd09ed.webp?v=1714888444"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3a024cd8cf7deaf14f82e8f0cdc4a20cfe81ae7_a09a02b8-dfc2-4308-afde-2192d7fd09ed.webp?v=1714888444","width":2000},{"alt":null,"id":23889664802915,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/658663cc0a61a88ebf8602823ffde0eced4327e7_8200f11a-b756-4557-a088-82a1c5b7a61e.webp?v=1714888447"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/658663cc0a61a88ebf8602823ffde0eced4327e7_8200f11a-b756-4557-a088-82a1c5b7a61e.webp?v=1714888447","width":2000},{"alt":null,"id":23889665327203,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d030195aaca7461df968b80d55947fc8e2508d04_4e63cc01-cb3d-4e96-b64f-f0f37483edbc.webp?v=1714888449"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d030195aaca7461df968b80d55947fc8e2508d04_4e63cc01-cb3d-4e96-b64f-f0f37483edbc.webp?v=1714888449","width":2000},{"alt":null,"id":23889665884259,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2331c69619171d7a1a668a19c50be49bf4dc853b_c26264f2-5ee4-418f-bddd-4c1897449a8c.webp?v=1714888452"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2331c69619171d7a1a668a19c50be49bf4dc853b_c26264f2-5ee4-418f-bddd-4c1897449a8c.webp?v=1714888452","width":2000},{"alt":null,"id":23889666310243,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/852f408945349bcd2d2c8249d9614f583e447ca4_d2624c16-084e-4927-b345-a02c4b41df5a.webp?v=1714888454"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/852f408945349bcd2d2c8249d9614f583e447ca4_d2624c16-084e-4927-b345-a02c4b41df5a.webp?v=1714888454","width":2000},{"alt":null,"id":23889666867299,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fbed7a4f24c8ce78f42e4bf5b599e02044880d8_77b637b4-b0c8-43e0-9d8a-72d9ab240df3.webp?v=1714888456"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fbed7a4f24c8ce78f42e4bf5b599e02044880d8_77b637b4-b0c8-43e0-9d8a-72d9ab240df3.webp?v=1714888456","width":2000},{"alt":null,"id":23889667391587,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4eb595cf4368127fac374d7afa404d6df8cd2b4e_43e57b8f-5fb5-4648-8f52-d64e3d4c27c1.webp?v=1714888459"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4eb595cf4368127fac374d7afa404d6df8cd2b4e_43e57b8f-5fb5-4648-8f52-d64e3d4c27c1.webp?v=1714888459","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41902898872419,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-SR04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484368519267,"product_id":7413976399971,"position":1,"created_at":"2024-05-05T13:53:57+08:00","updated_at":"2024-05-05T13:53:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15a311c7b7895d3025d80fc4f7776c664f1a71bc_f3d614f1-6a71-4b5e-b03a-bbccfcf3e694.webp?v=1714888437","variant_ids":[41902898872419]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - The Powerpuff Girls - 魔人啾啾的攻擊 - 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":"MPB0122824-SR04","featured_media":{"alt":null,"id":23889662214243,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15a311c7b7895d3025d80fc4f7776c664f1a71bc_f3d614f1-6a71-4b5e-b03a-bbccfcf3e694.webp?v=1714888437"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41902898937955,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-SR04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484369141859,"product_id":7413976399971,"position":2,"created_at":"2024-05-05T13:54:00+08:00","updated_at":"2024-05-05T13:54:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2e9f230afae8a88ded46e72eacc0270752cf546_f06865a9-b61b-4722-87ca-9074d9845c70.webp?v=1714888440","variant_ids":[41902898937955]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - The Powerpuff Girls - 魔人啾啾的攻擊 - 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":"MPB0122804-SR04","featured_media":{"alt":null,"id":23889662869603,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2e9f230afae8a88ded46e72eacc0270752cf546_f06865a9-b61b-4722-87ca-9074d9845c70.webp?v=1714888440"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41902899167331,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-SR04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484370124899,"product_id":7413976399971,"position":4,"created_at":"2024-05-05T13:54:04+08:00","updated_at":"2024-05-05T13:54:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3a024cd8cf7deaf14f82e8f0cdc4a20cfe81ae7_a09a02b8-dfc2-4308-afde-2192d7fd09ed.webp?v=1714888444","variant_ids":[41902899167331]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - The Powerpuff Girls - 魔人啾啾的攻擊 - 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":"MPB01228J5-SR04","featured_media":{"alt":null,"id":23889664049251,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3a024cd8cf7deaf14f82e8f0cdc4a20cfe81ae7_a09a02b8-dfc2-4308-afde-2192d7fd09ed.webp?v=1714888444"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41902898872419,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-SR04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484368519267,"product_id":7413976399971,"position":1,"created_at":"2024-05-05T13:53:57+08:00","updated_at":"2024-05-05T13:53:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15a311c7b7895d3025d80fc4f7776c664f1a71bc_f3d614f1-6a71-4b5e-b03a-bbccfcf3e694.webp?v=1714888437","variant_ids":[41902898872419]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - The Powerpuff Girls - 魔人啾啾的攻擊 - 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":"MPB0122824-SR04","featured_media":{"alt":null,"id":23889662214243,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15a311c7b7895d3025d80fc4f7776c664f1a71bc_f3d614f1-6a71-4b5e-b03a-bbccfcf3e694.webp?v=1714888437"}},"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: "停產" }