Graphics Cards

PNY Technologies | SD Cards, USB Flash Drives, Memory Modules, SSDs, Graphics Cards


PNY Technologies | SD Cards, USB Flash Drives, Memory Modules, SSDs, Graphics Cards

Quick Look

http://www.pny.eu/data/products/article-header-picture/1477-20210323141935.png

 

Part No. ” + response.d.SKU); // change title $(‘#old-price’).html(response.d.Price); // change price $(‘#old-price’).removeClass(“old-price”); // change price $(“#ctl11_ctl00_hfCurrentSkuId”).val(response.d.SkuID); // change selected sku id // show/hide thumbnail images $(‘.gallery-thumbnails li’).show(); $(‘.gallery-thumbnails li’).not(‘[data-skus*=”‘ + response.d.SkuID + ‘”]’).hide(); $(‘.gallery-thumbnails li[data-skus=””]’).show(); // set thumbnail to active $(‘.gallery-thumbnails li.active’).removeClass(‘active’); $(‘.gallery-thumbnails li.first’).removeClass(‘first’); $(‘.gallery-thumbnails li:visible:first’).addClass(‘active first’); $(‘.gallery-thumbnails li:visible’).each(function (index) { $(this).attr(‘index’, index); $(this).addClass(‘currVisible’); }); // change main product image $(‘.gallery-thumbnails li.active’).closest(‘.gallery’).find(‘.main-image’).attr(‘src’, $(‘.gallery-thumbnails li.active’).children(‘img’).attr(‘medium’)); $(‘.main-image-link’).attr(‘href’, $(‘.gallery-thumbnails li.active’).children(‘img’).attr(‘large’)); $(‘#image-large img’).attr(‘src’, $(‘.gallery-thumbnails li.active’).children(‘img’).attr(‘large’)); // inventory if (response.d.HasInventory == true) { $(“#ctl11_ctl00_lbAddToCart”).show(); } else { $(“#ctl11_ctl00_lbAddToCart”).hide(); } if (response.d.IsActive == true) { $(‘#hlAddToWishlist’).show(); } else { $(‘#hlAddToWishlist’).hide(); } var isOneTrue = false; // if sku is new if (response.d.IsNew == true) { $(“#ctl11_ctl00_badge”).html(“New”); $(“#ctl11_ctl00_badge”).show(); isOneTrue = true; } // if sku is a different brand if (response.d.Brand != null && response.d.Brand != “pny” && response.d.Brand != “”) { $(“#ctl11_ctl00_badge”).addClass(response.d.Brand); $(“#ctl11_ctl00_badge”).html(response.d.Brand); $(“#ctl11_ctl00_badge”).show(); isOneTrue = true } $(‘#sale-price’).hide(); // if sku is on sale if (response.d.IsSale == true) { $(“#ctl11_ctl00_badge”).addClass(“sale”); $(“#ctl11_ctl00_badge”).html(“Sale”); $(“#ctl11_ctl00_badge”).show(); isOneTrue = true; if(response.d.OldPrice != null && response.d.OldPrice != “”) { $(‘#old-price’).html(response.d.OldPrice); $(‘#old-price’).addClass(‘old-price’); $(‘#sale-price’).html(response.d.Price); $(‘#sale-price’).show(); } } else { $(“#ctl11_ctl00_badge”).removeClass(“sale”); } if(!isOneTrue) { $(“#ctl11_ctl00_badge”).html(“”); $(“#ctl11_ctl00_badge”).hide(); } } }, failure: function (response) { alert(response.d); } }); $(this).addClass(‘selected’); }); $(‘.product-options .color a’).click(function (e) { e.preventDefault(); var sku = $(this).attr(‘data-sku’); $(‘.product-options .color a.selected’).removeClass(‘selected’); $.ajax({ type: “POST”, url: ‘/PNYServices.asmx/GetSkuData’, data: ‘{sku:”‘ + sku + ‘”}’, contentType: “application/json; charset=utf-8”, dataType: “json”, success: function (response) { if (response != null) { $(‘h1 .SKU’).html(response.d.Title + “
Part No. ” + response.d.SKU); // change title $(‘#old-price’).html(response.d.Price); // change price $(‘#old-price’).removeClass(“old-price”); // change price $(“#ctl11_ctl00_hfCurrentSkuId”).val(response.d.SkuID); // change selected sku id // show/hide thumbnail images $(‘.gallery-thumbnails li’).show(); $(‘.gallery-thumbnails li’).not(‘[data-skus*=”‘ + response.d.SkuID + ‘”]’).hide(); $(‘.gallery-thumbnails li[data-skus=””]’).show(); // set thumbnail to active $(‘.gallery-thumbnails li.active’).removeClass(‘active’); $(‘.gallery-thumbnails li.first’).removeClass(‘first’); $(‘.gallery-thumbnails li:visible:first’).addClass(‘active first’); $(‘.gallery-thumbnails li:visible’).each(function (index) { $(this).attr(‘index’, index); $(this).addClass(‘currVisible’); }); // change main product image $(‘.gallery-thumbnails li.active’).closest(‘.gallery’).find(‘.main-image’).attr(‘src’, $(‘.gallery-thumbnails li.active’).children(‘img’).attr(‘medium’)); $(‘.main-image-link’).attr(‘href’, $(‘.gallery-thumbnails li.active’).children(‘img’).attr(‘large’)); $(‘#image-large img’).attr(‘src’, $(‘.gallery-thumbnails li.active’).children(‘img’).attr(‘large’)); // inventory if (response.d.HasInventory == true) { $(“#ctl11_ctl00_lbAddToCart”).show(); } else { $(“#ctl11_ctl00_lbAddToCart”).hide(); } if (response.d.IsActive == true) { $(‘#hlAddToWishlist’).show(); } else { $(‘#hlAddToWishlist’).hide(); } var isOneTrue = false; // if sku is new if (response.d.IsNew == true) { $(“#ctl11_ctl00_badge”).html(“New”); $(“#ctl11_ctl00_badge”).show(); isOneTrue = true; } // if sku is a different brand if (response.d.Brand != null && response.d.Brand != “pny” && response.d.Brand != “”) { $(“#ctl11_ctl00_badge”).addClass(response.d.Brand); $(“#ctl11_ctl00_badge”).html(response.d.Brand); $(“#ctl11_ctl00_badge”).show(); isOneTrue = true } $(‘#sale-price’).hide(); // if sku is on sale if (response.d.IsSale == true) { $(“#ctl11_ctl00_badge”).addClass(“sale”); $(“#ctl11_ctl00_badge”).html(“Sale”); $(“#ctl11_ctl00_badge”).show(); isOneTrue = true; if(response.d.OldPrice != null && response.d.OldPrice != “”) { $(‘#old-price’).html(response.d.OldPrice); $(‘#old-price’).addClass(‘old-price’); $(‘#sale-price’).html(response.d.Price); $(‘#sale-price’).show(); } } else { $(“#ctl11_ctl00_badge”).removeClass(“sale”); } if(!isOneTrue) { $(“#ctl11_ctl00_badge”).html(“”); $(“#ctl11_ctl00_badge”).hide(); } } }, failure: function (response) { alert(response.d); } }); $(this).addClass(‘selected’); }); var skuVal = getParameterByName(“sku”); if (window.location.hash && skuVal && !(window.location.hash.indexOf(“review”) > -1)) { var sku = skuVal + window.location.hash; $(‘.product-options .color a.selected’).removeClass(‘selected’); $.ajax({ type: “POST”, url: ‘/PNYServices.asmx/GetSkuData’, data: ‘{sku:”‘ + sku + ‘”}’, contentType: “application/json; charset=utf-8”, dataType: “json”, success: function (response) { if (response != null) { $(‘h1 .SKU’).html(response.d.Title + “
Part No. ” + response.d.SKU); // change title $(‘#old-price’).html(response.d.Price); // change price $(‘#old-price’).removeClass(“old-price”); // change price $(“#ctl11_ctl00_hfCurrentSkuId”).val(response.d.SkuID); // change selected sku id // show/hide thumbnail images $(‘.gallery-thumbnails li’).show(); $(‘.gallery-thumbnails li’).not(‘[data-skus*=”‘ + response.d.SkuID + ‘”]’).hide(); $(‘.gallery-thumbnails li[data-skus=””]’).show(); // set thumbnail to active $(‘.gallery-thumbnails li.active’).removeClass(‘active’); $(‘.gallery-thumbnails li.first’).removeClass(‘first’); $(‘.gallery-thumbnails li:visible:first’).addClass(‘active first’); $(‘.gallery-thumbnails li:visible’).each(function (index) { $(this).attr(‘index’, index); $(this).addClass(‘currVisible’); }); // change main product image $(‘.gallery-thumbnails li.active’).closest(‘.gallery’).find(‘.main-image’).attr(‘src’, $(‘.gallery-thumbnails li.active’).children(‘img’).attr(‘medium’)); $(‘.main-image-link’).attr(‘href’, $(‘.gallery-thumbnails li.active’).children(‘img’).attr(‘large’)); $(‘#image-large img’).attr(‘src’, $(‘.gallery-thumbnails li.active’).children(‘img’).attr(‘large’)); $(‘.main-image-link’).data(‘easyZoom’).update($(‘.gallery-thumbnails li.active’).children(‘img’).attr(‘large’)); // inventory if (response.d.HasInventory == true) { $(“#ctl11_ctl00_lbAddToCart”).show(); } else { $(“#ctl11_ctl00_lbAddToCart”).hide(); } if (response.d.IsActive == true) { $(‘#hlAddToWishlist’).show(); } else { $(‘#hlAddToWishlist’).hide(); } var isOneTrue = false; // if sku is new if (response.d.IsNew == true) { $(“#ctl11_ctl00_badge”).html(“New”); $(“#ctl11_ctl00_badge”).show(); isOneTrue = true; } // if sku is a different brand if (response.d.Brand != null && response.d.Brand != “pny” && response.d.Brand != “”) { $(“#ctl11_ctl00_badge”).addClass(response.d.Brand); $(“#ctl11_ctl00_badge”).html(response.d.Brand); $(“#ctl11_ctl00_badge”).show(); isOneTrue = true } $(‘#sale-price’).hide(); // if sku is on sale if (response.d.IsSale == true) { $(“#ctl11_ctl00_badge”).addClass(“sale”); $(“#ctl11_ctl00_badge”).html(“Sale”); $(“#ctl11_ctl00_badge”).show(); isOneTrue = true; if(response.d.OldPrice != null && response.d.OldPrice != “”) { $(‘#old-price’).html(response.d.OldPrice); $(‘#old-price’).addClass(‘old-price’); $(‘#sale-price’).html(response.d.Price); $(‘#sale-price’).show(); } } else { $(“#ctl11_ctl00_badge”).removeClass(“sale”); } if(!isOneTrue) { $(“#ctl11_ctl00_badge”).html(“”); $(“#ctl11_ctl00_badge”).hide(); } } }, failure: function (response) { alert(response.d); } }); $(“.product-options .color”).find(“[data-sku='” + sku + “‘]”).addClass(‘selected’); } $(‘#ctl11_ctl00_lbAddToCart’).click(function (e) { e.preventDefault(); var sku = $(‘.color a.selected’).attr(‘data-sku-id’); var qty = parseInt($(“#ctl11_ctl00_txtQuantity”).val()); $.ajax({ type: “POST”, url: ‘/PNYServices.asmx/AddToCart’, data: ‘{sku:”‘ + sku + ‘”, quantity:”‘ + qty + ‘”}’, contentType: “application/json; charset=utf-8”, dataType: “json”, success: function (response) { if (response != null) { window.top.location.href = ‘/view-cart/shopping-cart’; } }, failure: function (response) { alert(response.d); } }); }); $(‘#add-wishlist .add-to-wishlist’).click(function (e) { e.preventDefault(); var sku = $(‘.color a.selected’).attr(‘data-sku-id’); var wishlistId = $(this).attr(‘data-val-id’); $.ajax({ type: “POST”, url: ‘/PNYServices.asmx/AddToWishlist’, data: ‘{sku:”‘ + sku + ‘”, wishlistId:”‘ + wishlistId + ‘”}’, contentType: “application/json; charset=utf-8”, dataType: “json”, success: function (response) { if (response != null) { if (response.d == ‘unauthorized’) { window.top.location.href = ‘/my-account/login-register?ReturnURL=/GTX_780_Ti_3072MB_PCIe?sku=VCGGTX780T3XPB&IsQuickBuy=true’; } else { window.top.location.href = ‘/my-account/wishlists?Edit=true’; } } }, failure: function (response) { alert(response.d); } }); }); }); ]]>

Source

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *