Produto não encontrado.
Mais Visualizados
Pulseira Branca do jogo OverWatch.Tipo: PulseiraMaterial: Silicone ReforçadoEstilo: OverWatchTamanho: 20 cmINCLUÍDO NO PACOTE..
R$15,00
Chaveiro do jogo League of Legends - MID.• Tipo: Chaveiro• Material: Metal• Estilo: League of Legends• Tamanho: 6&n..
R$10,00
Chaveiro do jogo League of Legends.• Tipo: Chaveiro• Material: Metal• Estilo: League of Legends• Tamanho: 6 cm..
R$10,00
Chaveiro do jogo League of Legends - Jungle.• Tipo: Chaveiro• Material: Metal• Estilo: League of Legends• Tamanho: ..
R$10,00
Chaveiro do jogo League of Legends - TOP.• Tipo: Chaveiro• Material: Metal• Estilo: League of Legends• Tamanho: 6&n..
R$10,00
');return false;}}}return power_options;}function quickPowerData(form_id, product_id, level) {var selected = quickSelectedValues(form_id, level);var el = $('#' + form_id + ' .power-group[level="' + level + '"]');if (selected) {var type = "radio";if (el.find('select').length) {type = "select";}else if (el.find('ul').length) {type = "list";}var src = $('#' + form_id).parents('.product-thumb').find('.image').find('img').attr('src');var size = src.slice(src.lastIndexOf('-') + 1, src.lastIndexOf('.')).split('x');$.ajax({type: 'GET',url: 'index.php?route=product/product/quick_power_data',data: { product_id: product_id, power_options: selected, type: type, current: level, width: size[0], height: size[1] },dataType: 'json',success: function(response) {if (response.values) {$('#' + form_id).find('input[name="pwr_id"]').val('0');if (type == "select") {el.find('select').html(response.values);}else if (type == "list") {el.find('ul').html(response.values);}else {el.find('div:first').html(response.values);}}if (response.price) {$('#' + form_id).find('input[name="pwr_id"]').val(response.pwr_id);if (response.special) {var tpl = '
' + response.special + ' ';tpl += '
' + response.price + '';}else {var tpl = response.price;}tpl += '
Sem impostos: ' + response.tax + '';$('#' + form_id).parents('.product-thumb').find('.price').html(tpl);if (response.discount) {$('#' + form_id).parents('.product-thumb').find('.power-discount').html('
' + response.discount + '');}else {$('#' + form_id).parents('.product-thumb').find('.power-discount').html('');}}if (response.selection) {$('#' + form_id).find('input[name="pwr_selection"]').val(response.selection);var url = $('#' + form_id).parents('.product-thumb').find('a:first').attr('href');if (url.lastIndexOf('&pwr=') > 0) {url = url.slice(0, url.lastIndexOf('&pwr='));}url += '&pwr=' + response.selection;$('#' + form_id).parents('.product-thumb').find('a').attr('href', url);}if (response.image) {$('#' + form_id).find('input[name="pwr_code_id"]').val(response.code_id);$('#' + form_id).parents('.product-thumb').find('.image').find('img').attr('src', response.image);}}});}}function powerCartAdd(form_id) {$.ajax({url: 'index.php?route=checkout/cart/add',type: 'post',data: $('#' + form_id).serialize(),dataType: 'json',success: function(json) {if (json['error']) {location = json['redirect'] + '&pwr=' + $('#' + form_id).find('input[name="pwr_selection"]').val();}if (json['success']) {$('.breadcrumb').after('
' + json['success'] + '
');$('#cart > button').html('
' + json['total'] + '');$('html, body').animate({scrollTop: 0}, 'slow');$('#cart > ul').load('index.php?route=common/cart/info ul li');}}});}$('body').on('change', '.power-group select', function() {var data = quickDetails($(this));if ($(this).val() != '') {$('#' + data['form_id'] + ' .power-group[level="' + data['level'] + '"] .text-danger').remove();quickPowerData(data['form_id'], data['product_id'], data['level'] + 1);}});$('body').on('click', '.power-group li', function() {if (!$(this).hasClass('selected')) {var data = quickDetails($(this));$('#' + data['form_id'] + ' .power-group[level="' + data['level'] + '"] .text-danger').remove();$('#' + data['form_id'] + ' .power-group[level="' + data['level'] + '"] li').removeClass('selected');$(this).addClass('selected');$(this).parents('.power-group').find('input').val($(this).attr('value'));quickPowerData(data['form_id'], data['product_id'], data['level'] + 1);}});$('body').on('change', '.power-group input[type="radio"]', function() {var data = quickDetails($(this));$('#' + data['form_id'] + ' .power-group[level="' + data['level'] + '"] .text-danger').remove();quickPowerData(data['form_id'], data['product_id'], data['level'] + 1);});