CyberpowerPC Gamer Xtreme VR Gaming PC, Intel i7-13700KF 3.4GHz, Radeon RX 7900 XT 20GB, 16GB DDR5, 2TB NVMe SSD, Wi-Fi Ready & Windows 11 Home (GXiVR8700A), Black
${function() {
const variantData = data.variant || {"id":"10984770-9c60-41bc-96da-eeeaf949017b","product_id":"ef6cacce-c978-4a79-bd62-feed6a9b8261","title":"Default Title","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2118839168147","barcode":"","position":1,"option1":"Default Title","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2bc95e21c122a235fd0d2fa3d6a78702.jpeg","path":"2bc95e21c122a235fd0d2fa3d6a78702.jpeg","width":1401,"height":1500,"alt":"","aspect_ratio":0.934},"wholesale_price":[{"price":18.56,"min_quantity":1}],"weight":"0","compare_at_price":"2279.99","price":"18.56","retail_price":"2279.99","available":true,"url":"\/products\/cyberpowerpc-gamer-xtreme-vr-gaming-pc-intel-i7-13700kf-3-4ghz-radeon-rx-7900-xt-20gb-16gb-ddr5-2tb-nvme-ssd-wi-fi-ready-windows-11-home-gxivr8700a-black?variant=10984770-9c60-41bc-96da-eeeaf949017b","available_quantity":1000,"options":[{"name":"Title","value":"Default Title"}],"off_ratio":99,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
${function() {
const minInventory = parseInt('3');
const maxInventory = parseInt('88');
const randomInventory = Math.round(Math.random() * (maxInventory - minInventory)) + minInventory;
const customText = "Only {stock} item(s) left in stock!".replace(/\{stock\}/g, '' + randomInventory + ' ');
const barWidth = (randomInventory / maxInventory) * 100 + '%';
return `
`;
}()}
Title:
Default Title
${function(){
const optName = "Title";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$18.56
${function(){
const wholesale_enabled = false;
const qty = data.quantity || 1;
const currentSelectVariant = data.variant;
const defaultVariant = (data.product && data.product.variants && data.product.variants[0]);
const productVariant = {"id":"10984770-9c60-41bc-96da-eeeaf949017b","product_id":"ef6cacce-c978-4a79-bd62-feed6a9b8261","title":"Default Title","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2118839168147","barcode":"","position":1,"option1":"Default Title","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2bc95e21c122a235fd0d2fa3d6a78702.jpeg","path":"2bc95e21c122a235fd0d2fa3d6a78702.jpeg","width":1401,"height":1500,"alt":"","aspect_ratio":0.934},"wholesale_price":[{"price":18.56,"min_quantity":1}],"weight":"0","compare_at_price":"2279.99","price":"18.56","retail_price":"2279.99","available":true,"url":"\/products\/cyberpowerpc-gamer-xtreme-vr-gaming-pc-intel-i7-13700kf-3-4ghz-radeon-rx-7900-xt-20gb-16gb-ddr5-2tb-nvme-ssd-wi-fi-ready-windows-11-home-gxivr8700a-black?variant=10984770-9c60-41bc-96da-eeeaf949017b","available_quantity":1000,"options":[{"name":"Title","value":"Default Title"}],"off_ratio":99,"flashsale_info":[],"sales":0};
const variantData = currentSelectVariant || defaultVariant || productVariant;
const wholesale_price = variantData.wholesale_price || [];
if(wholesale_enabled && wholesale_price.length > 0) {
let wholesaleIndex = wholesale_price.findIndex(item => {
return item.min_quantity > qty;
});
if(wholesaleIndex < 0){
wholesaleIndex = wholesale_price.length - 1;
}else if(wholesaleIndex > 0){
wholesaleIndex = wholesaleIndex - 1;
}
const wholesalePrice = wholesale_price[wholesaleIndex] || '';
return `
`
}else {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"10984770-9c60-41bc-96da-eeeaf949017b","product_id":"ef6cacce-c978-4a79-bd62-feed6a9b8261","title":"Default Title","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2118839168147","barcode":"","position":1,"option1":"Default Title","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2bc95e21c122a235fd0d2fa3d6a78702.jpeg","path":"2bc95e21c122a235fd0d2fa3d6a78702.jpeg","width":1401,"height":1500,"alt":"","aspect_ratio":0.934},"wholesale_price":[{"price":18.56,"min_quantity":1}],"weight":"0","compare_at_price":"2279.99","price":"18.56","retail_price":"2279.99","available":true,"url":"\/products\/cyberpowerpc-gamer-xtreme-vr-gaming-pc-intel-i7-13700kf-3-4ghz-radeon-rx-7900-xt-20gb-16gb-ddr5-2tb-nvme-ssd-wi-fi-ready-windows-11-home-gxivr8700a-black?variant=10984770-9c60-41bc-96da-eeeaf949017b","available_quantity":1000,"options":[{"name":"Title","value":"Default Title"}],"off_ratio":99,"flashsale_info":[],"sales":0};
return `
`
}()}