$product = {"id":7414581887075,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 史迪奇 - 搞怪系列-怪可愛","handle":"iphone-13-mini-mod-nx-magsafe-printable-yf02","description":null,"published_at":"2024-06-11T17:52:18+08:00","created_at":"2024-05-05T14:32:21+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區史迪奇","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-stitch","device-iPhone 13 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-stitch","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":41907557761123,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-YF02","requires_shipping":true,"taxable":true,"featured_image":{"id":31485820043363,"product_id":7414581887075,"position":8,"created_at":"2024-05-05T14:32:40+08:00","updated_at":"2024-05-05T14:32:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6945e554fdb7f65c340522ad2944bd06b6b9f8ba_095c16fe-3515-43bc-a23b-3ab4813bdb4c.webp?v=1714890760","variant_ids":[41907557761123]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 史迪奇 - 搞怪系列-怪可愛 - 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-YF02","featured_media":{"alt":null,"id":23891154862179,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6945e554fdb7f65c340522ad2944bd06b6b9f8ba_095c16fe-3515-43bc-a23b-3ab4813bdb4c.webp?v=1714890760"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41907557859427,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-YF02","requires_shipping":true,"taxable":true,"featured_image":{"id":31485812703331,"product_id":7414581887075,"position":4,"created_at":"2024-05-05T14:32:31+08:00","updated_at":"2024-05-05T14:32:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7299961d0a7a327acd03da2d6f49b5a85eefa5b_f16e1556-b262-4f60-9236-1fa6cb161c52.webp?v=1714890751","variant_ids":[41907557859427]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 史迪奇 - 搞怪系列-怪可愛 - 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-YF02","featured_media":{"alt":null,"id":23891146145891,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7299961d0a7a327acd03da2d6f49b5a85eefa5b_f16e1556-b262-4f60-9236-1fa6cb161c52.webp?v=1714890751"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41907558252643,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-YF02","requires_shipping":true,"taxable":true,"featured_image":{"id":31485817880675,"product_id":7414581887075,"position":7,"created_at":"2024-05-05T14:32:38+08:00","updated_at":"2024-05-05T14:32:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/340ab71b38fcc56a52201224594fe1fc687c0598_e6de9629-6d0a-45ac-9e72-dc1fc76db946.webp?v=1714890758","variant_ids":[41907558252643]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 史迪奇 - 搞怪系列-怪可愛 - 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-YF02","featured_media":{"alt":null,"id":23891152535651,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/340ab71b38fcc56a52201224594fe1fc687c0598_e6de9629-6d0a-45ac-9e72-dc1fc76db946.webp?v=1714890758"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31a6428c33d3eac118b44575924aa825c17486cf_7c6945fc-3c8f-4472-b8f4-1e7bcbd70b9d.webp?v=1714890744","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18e5cb3242bcf76aec4f8858ed260aaac652fbe0_d47a4bed-00d4-41d0-ab3f-73092ef831d7.webp?v=1714890746","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/367599818b545f0db90dfce76afeac6c8a5cba8c_017d6a85-0ac4-465a-94e0-6060901dbfbf.webp?v=1714890748","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7299961d0a7a327acd03da2d6f49b5a85eefa5b_f16e1556-b262-4f60-9236-1fa6cb161c52.webp?v=1714890751","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c52b47a5598fdc6de09cf7868a817a3d73ea2cb9_35c2b5de-c4c5-4156-9eb9-480437d51ec2.webp?v=1714890753","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9484cb3dfab19a97786d3067b477503477d2d7e6_ab2be9ca-43e5-4689-93df-df80e68e9029.webp?v=1714890756","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/340ab71b38fcc56a52201224594fe1fc687c0598_e6de9629-6d0a-45ac-9e72-dc1fc76db946.webp?v=1714890758","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6945e554fdb7f65c340522ad2944bd06b6b9f8ba_095c16fe-3515-43bc-a23b-3ab4813bdb4c.webp?v=1714890760","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05f52720aee8dc238245f887fa635da3691ef23f_5b45f7ac-f41b-44d4-8aa2-b51431900b69.webp?v=1714890763","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45ff24d0c13d9fd7773baee9021eb31cf1cf2332_244fce50-ef37-4786-a0cb-24d6b7a8ebf5.webp?v=1714890765"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31a6428c33d3eac118b44575924aa825c17486cf_7c6945fc-3c8f-4472-b8f4-1e7bcbd70b9d.webp?v=1714890744","options":["color"],"media":[{"alt":null,"id":23891143786595,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31a6428c33d3eac118b44575924aa825c17486cf_7c6945fc-3c8f-4472-b8f4-1e7bcbd70b9d.webp?v=1714890744"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31a6428c33d3eac118b44575924aa825c17486cf_7c6945fc-3c8f-4472-b8f4-1e7bcbd70b9d.webp?v=1714890744","width":2000},{"alt":null,"id":23891144278115,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18e5cb3242bcf76aec4f8858ed260aaac652fbe0_d47a4bed-00d4-41d0-ab3f-73092ef831d7.webp?v=1714890746"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18e5cb3242bcf76aec4f8858ed260aaac652fbe0_d47a4bed-00d4-41d0-ab3f-73092ef831d7.webp?v=1714890746","width":2000},{"alt":null,"id":23891144704099,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/367599818b545f0db90dfce76afeac6c8a5cba8c_017d6a85-0ac4-465a-94e0-6060901dbfbf.webp?v=1714890748"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/367599818b545f0db90dfce76afeac6c8a5cba8c_017d6a85-0ac4-465a-94e0-6060901dbfbf.webp?v=1714890748","width":2000},{"alt":null,"id":23891146145891,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7299961d0a7a327acd03da2d6f49b5a85eefa5b_f16e1556-b262-4f60-9236-1fa6cb161c52.webp?v=1714890751"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7299961d0a7a327acd03da2d6f49b5a85eefa5b_f16e1556-b262-4f60-9236-1fa6cb161c52.webp?v=1714890751","width":2000},{"alt":null,"id":23891148177507,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c52b47a5598fdc6de09cf7868a817a3d73ea2cb9_35c2b5de-c4c5-4156-9eb9-480437d51ec2.webp?v=1714890753"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c52b47a5598fdc6de09cf7868a817a3d73ea2cb9_35c2b5de-c4c5-4156-9eb9-480437d51ec2.webp?v=1714890753","width":2000},{"alt":null,"id":23891150209123,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9484cb3dfab19a97786d3067b477503477d2d7e6_ab2be9ca-43e5-4689-93df-df80e68e9029.webp?v=1714890756"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9484cb3dfab19a97786d3067b477503477d2d7e6_ab2be9ca-43e5-4689-93df-df80e68e9029.webp?v=1714890756","width":2000},{"alt":null,"id":23891152535651,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/340ab71b38fcc56a52201224594fe1fc687c0598_e6de9629-6d0a-45ac-9e72-dc1fc76db946.webp?v=1714890758"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/340ab71b38fcc56a52201224594fe1fc687c0598_e6de9629-6d0a-45ac-9e72-dc1fc76db946.webp?v=1714890758","width":2000},{"alt":null,"id":23891154862179,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6945e554fdb7f65c340522ad2944bd06b6b9f8ba_095c16fe-3515-43bc-a23b-3ab4813bdb4c.webp?v=1714890760"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6945e554fdb7f65c340522ad2944bd06b6b9f8ba_095c16fe-3515-43bc-a23b-3ab4813bdb4c.webp?v=1714890760","width":2000},{"alt":null,"id":23891157319779,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05f52720aee8dc238245f887fa635da3691ef23f_5b45f7ac-f41b-44d4-8aa2-b51431900b69.webp?v=1714890763"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05f52720aee8dc238245f887fa635da3691ef23f_5b45f7ac-f41b-44d4-8aa2-b51431900b69.webp?v=1714890763","width":2000},{"alt":null,"id":23891159318627,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45ff24d0c13d9fd7773baee9021eb31cf1cf2332_244fce50-ef37-4786-a0cb-24d6b7a8ebf5.webp?v=1714890765"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45ff24d0c13d9fd7773baee9021eb31cf1cf2332_244fce50-ef37-4786-a0cb-24d6b7a8ebf5.webp?v=1714890765","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41907557761123,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-YF02","requires_shipping":true,"taxable":true,"featured_image":{"id":31485820043363,"product_id":7414581887075,"position":8,"created_at":"2024-05-05T14:32:40+08:00","updated_at":"2024-05-05T14:32:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6945e554fdb7f65c340522ad2944bd06b6b9f8ba_095c16fe-3515-43bc-a23b-3ab4813bdb4c.webp?v=1714890760","variant_ids":[41907557761123]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 史迪奇 - 搞怪系列-怪可愛 - 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-YF02","featured_media":{"alt":null,"id":23891154862179,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6945e554fdb7f65c340522ad2944bd06b6b9f8ba_095c16fe-3515-43bc-a23b-3ab4813bdb4c.webp?v=1714890760"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41907557859427,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-YF02","requires_shipping":true,"taxable":true,"featured_image":{"id":31485812703331,"product_id":7414581887075,"position":4,"created_at":"2024-05-05T14:32:31+08:00","updated_at":"2024-05-05T14:32:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7299961d0a7a327acd03da2d6f49b5a85eefa5b_f16e1556-b262-4f60-9236-1fa6cb161c52.webp?v=1714890751","variant_ids":[41907557859427]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 史迪奇 - 搞怪系列-怪可愛 - 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-YF02","featured_media":{"alt":null,"id":23891146145891,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7299961d0a7a327acd03da2d6f49b5a85eefa5b_f16e1556-b262-4f60-9236-1fa6cb161c52.webp?v=1714890751"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41907558252643,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-YF02","requires_shipping":true,"taxable":true,"featured_image":{"id":31485817880675,"product_id":7414581887075,"position":7,"created_at":"2024-05-05T14:32:38+08:00","updated_at":"2024-05-05T14:32:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/340ab71b38fcc56a52201224594fe1fc687c0598_e6de9629-6d0a-45ac-9e72-dc1fc76db946.webp?v=1714890758","variant_ids":[41907558252643]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 史迪奇 - 搞怪系列-怪可愛 - 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-YF02","featured_media":{"alt":null,"id":23891152535651,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/340ab71b38fcc56a52201224594fe1fc687c0598_e6de9629-6d0a-45ac-9e72-dc1fc76db946.webp?v=1714890758"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41907557761123,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-YF02","requires_shipping":true,"taxable":true,"featured_image":{"id":31485820043363,"product_id":7414581887075,"position":8,"created_at":"2024-05-05T14:32:40+08:00","updated_at":"2024-05-05T14:32:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6945e554fdb7f65c340522ad2944bd06b6b9f8ba_095c16fe-3515-43bc-a23b-3ab4813bdb4c.webp?v=1714890760","variant_ids":[41907557761123]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 史迪奇 - 搞怪系列-怪可愛 - 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-YF02","featured_media":{"alt":null,"id":23891154862179,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6945e554fdb7f65c340522ad2944bd06b6b9f8ba_095c16fe-3515-43bc-a23b-3ab4813bdb4c.webp?v=1714890760"}},"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: "停產" }