Jump to content

error al añadir al carrito


gsc online
 Share

Recommended Posts

Pues al añadir al carrito se queda pensando y aparece una ventana con este mensaje de error.

 

Alguno sabria decirme el motivo o solucion?

 

 

Impossible to add the product to the cart.

 

textStatus: 'parsererror'

errorThrown: 'SyntaxError: JSON.parse: unexpected character'

responseText:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es">

<head>

<title>Soplete Creme Brulee Tristar Yb-2611 20Ml </title>

<meta name="description" content="Soplete Creme Brulee Tristar Yb-2611 20Ml " />

<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />

<meta name="generator" content="PrestaShop" />

<meta name="robots" content="index,follow" />

<link rel="icon" type="image/vnd.microsoft.icon" href="http://comercialgsconline.es/img/favicon.ico?1352822624" />

<link rel="shortcut icon" type="image/x-icon" href="http://comercialgsconline.es/img/favicon.ico?1352822624" />

<script type="text/javascript">

var baseDir = 'http://comercialgsconline.es/';

var static_token = '67e60b26601c98554425f1a202628826';

var token = '174a6a82658e486f8edf85e6c131444b';

var priceDisplayPrecision = 2;

var priceDisplayMethod = 0;

var roundMode = 2;

</script>

<link href="/themes/prestashop/css/global.css" rel="stylesheet" type="text/css" media="all" />

<link href="/themes/prestashop/css/modules/blockpaymentlogo/blockpaymentlogo.css" rel="stylesheet" type="text/css" media="all" />

<link href="/themes/prestashop/css/modules/blockpermanentlinks/blockpermanentlinks.css" rel="stylesheet" type="text/css" media="all" />

<link href="/themes/prestashop/css/modules/blockviewed/blockviewed.css" rel="stylesheet" type="text/css" media="all" />

<link href="/themes/prestashop/css/modules/blockcart/blockcart.css" rel="stylesheet" type="text/css" media="all" />

<link href="/themes/prestashop/css/modules/blockmyaccount/blockmyaccount.css" rel="stylesheet" type="text/css" media="all" />

<link href="/themes/prestashop/css/modules/editorial/editorial.css" rel="stylesheet" type="text/css" media="all" />

<link href="/themes/prestashop/css/modules/blockbestsellers/blockbestsellers.css" rel="stylesheet" type="text/css" media="all" />

<link href="/themes/prestashop/css/modules/blockspecials/blockspecials.css" rel="stylesheet" type="text/css" media="all" />

<link href="/themes/prestashop/css/modules/blockcurrencies/blockcurrencies.css" rel="stylesheet" type="text/css" media="all" />

<link href="/themes/prestashop/css/modules/blocknewproducts/blocknewproducts.css" rel="stylesheet" type="text/css" media="all" />

<link href="/themes/prestashop/css/modules/blockuserinfo/blockuserinfo.css" rel="stylesheet" type="text/css" media="all" />

<link href="/themes/prestashop/css/modules/blocklanguages/blocklanguages.css" rel="stylesheet" type="text/css" media="all" />

<link href="/themes/prestashop/css/modules/blockmanufacturer/blockmanufacturer.css" rel="stylesheet" type="text/css" media="all" />

<link href="/themes/prestashop/css/modules/blockcms/blockcms.css" rel="stylesheet" type="text/css" media="all" />

<link href="/themes/prestashop/css/modules/blockadvertising/blockadvertising.css" rel="stylesheet" type="text/css" media="all" />

<link href="/themes/prestashop/css/modules/blocktags/blocktags.css" rel="stylesheet" type="text/css" media="all" />

<link href="/themes/prestashop/css/modules/blockstore/blockstore.css" rel="stylesheet" type="text/css" media="all" />

<link href="/css/jquery.autocomplete.css" rel="stylesheet" type="text/css" media="screen" />

<link href="/themes/prestashop/css/product_list.css" rel="stylesheet" type="text/css" media="all" />

<link href="/themes/prestashop/css/modules/blocksearch/blocksearch.css" rel="stylesheet" type="text/css" media="all" />

<link href="/modules/jbx_menu/css/superfish-modified.css" rel="stylesheet" type="text/css" media="screen" />

<link href="/modules/jbx_menu/cache/menu.css" rel="stylesheet" type="text/css" media="screen" />

<link href="/modules/productscategory/productscategory.css" rel="stylesheet" type="text/css" media="all" />

<link href="/themes/prestashop/css/modules/blockcategories/blockcategories.css" rel="stylesheet" type="text/css" media="all" />

<script type="text/javascript" src="/js/jquery/jquery.min.js"></script>

<script type="text/javascript" src="/js/jquery/jquery.easing.1.3.js"></script>

<script type="text/javascript" src="/js/tools.js"></script>

<script type="text/javascript" src="/modules/blockcart/ajax-cart.js"></script>

<script type="text/javascript" src="/js/jquery/jquery.autocomplete.js"></script>

<script type="text/javascript" src="/modules/jbx_menu/js/hoverIntent.js"></script>

<script type="text/javascript" src="/modules/jbx_menu/js/superfish-modified.js"></script>

<script type="text/javascript" src="/modules/productscategory/productscategory.js"></script>

<script type="text/javascript" src="/js/jquery/jquery.serialScroll-1.2.2-min.js"></script>

<script type="text/javascript" src="/themes/prestashop/js/tools/treeManagement.js"></script>

<!-- MODULE JBX_MENU -->

<script type="text/javascript">

//<![CDATA[

var menu_path = '/modules/jbx_menu/';

var id_lang = '3';

//]]>

</script>

<script type="text/javascript">

//<!--

 

$('document').ready( function() {

$("#search_query_menu")

.autocomplete(

'http://comercialgsconline.es/search.php', {

minChars: 3,

max: 10,

width: 500,

selectFirst: false,

scroll: false,

dataType: "json",

formatItem: function(data, i, max, value, term) {

return value;

},

parse: function(data) {

var mytab = new Array();

for (var i = 0; i < data.length; i++)

mytab[mytab.length] = { data: data, value: data.cname + ' > ' + data.pname };

return mytab;

},

extraParams: {

ajaxSearch: 1,

id_lang: 2

}

}

)

.result(function(event, data, formatted) {

$('#search_query_menu').val(data.pname);

document.location.href = data.product_link;

})

});

 

//-->

</script>

<!-- /MODULE JBX_MENU -->

</head>

 

<body id="index">

<div id="page">

 

<!-- Header -->

<div id="header">

<a id="header_logo" href="http://comercialgsconline.es/" title="Comercial GSC Online">

<img class="logo" src="http://comercialgsconline.es/img/logo.jpg?1352822624" alt="Comercial GSC Online" width="230" height="75" />

</a>

<div id="header_right">

 

<!-- Block currencies module -->

<div id="currencies_block_top">

<form id="setCurrency" action="/" method="post">

<ul>

<li >

<a href="javascript:setCurrency(2);" title="Dollar">$</a>

</li>

<li class="selected">

<a href="javascript:setCurrency(1);" title="Euro">€</a>

</li>

<li >

<a href="javascript:setCurrency(3);" title="Pound">£</a>

</li>

</ul>

<p>

<input type="hidden" name="id_currency" id="id_currency" value=""/>

<input type="hidden" name="SubmitCurrency" value="" />

Moneda

</p>

</form>

</div>

<!-- /Block currencies module -->

<!-- Block languages module -->

<div id="languages_block_top">

<ul id="first-languages">

<li class="selected_language">

<img src="http://comercialgsconline.es/img/l/3.jpg" alt="es" width="16" height="11" />

</li>

</ul>

</div>

<script type="text/javascript">

$('ul#first-languages li:not(.selected_language)').css('opacity', 0.3);

$('ul#first-languages li:not(.selected_language)').hover(function(){

$(this).css('opacity', 1);

}, function(){

$(this).css('opacity', 0.3);

});

</script>

<!-- /Block languages module -->

 

 

<!-- Block permanent links module HEADER -->

<ul id="header_links">

<li id="header_link_contact"><a href="http://comercialgsconline.es/contact-form.php" title="Contacto">Contacto</a></li>

<li id="header_link_sitemap"><a href="http://comercialgsconline.es/sitemap.php" title="Mapa del sitio">Mapa del sitio</a></li>

<li id="header_link_bookmark">

<script type="text/javascript">writeBookmarkLink('http://comercialgsconline.es/', 'Soplete Creme Brulee Tristar Yb-2611 20Ml ', 'Favoritos');</script>

</li>

</ul>

<!-- /Block permanent links module HEADER -->

 

<!-- Block search module TOP -->

<div id="search_block_top">

 

<form method="get" action="http://comercialgsconline.es/search.php" id="searchbox">

<p>

<label for="search_query_top"><!-- image on background --></label>

<input type="hidden" name="orderby" value="position" />

<input type="hidden" name="orderway" value="desc" />

<input class="search_query" type="text" id="search_query_top" name="search_query" value="" />

<input type="submit" name="submit_search" value="Buscar" class="button" />

</p>

</form>

</div>

 

<script type="text/javascript">

// <![CDATA[

 

$('document').ready( function() {

$("#search_query_top")

.autocomplete(

'http://comercialgsconline.es/search.php', {

minChars: 3,

max: 10,

width: 500,

selectFirst: false,

scroll: false,

dataType: "json",

formatItem: function(data, i, max, value, term) {

return value;

},

parse: function(data) {

var mytab = new Array();

for (var i = 0; i < data.length; i++)

mytab[mytab.length] = { data: data, value: data.cname + ' > ' + data.pname };

return mytab;

},

extraParams: {

ajaxSearch: 1,

id_lang: 3

}

}

)

.result(function(event, data, formatted) {

$('#search_query_top').val(data.pname);

document.location.href = data.product_link;

})

});

 

// ]]>

</script>

<!-- /Block search module TOP -->

<!-- Block user information module HEADER -->

<div id="header_user">

<p id="header_user_info">

Bienvenido,

<a href="http://comercialgsconline.es/my-account.php">Entrar</a>

</p>

<ul id="header_nav">

<li id="shopping_cart">

<a href="http://comercialgsconline.es/order.php" title="Su carrito de la compra">Carrit

Share this post


Link to post
Share on other sites

  • 2 weeks later...
  • 3 weeks later...
  • 2 weeks later...
  • 2 months later...

Hola Pshop3 yo lo solucioné al eliminar el index.html ceado por mi... por lo que entiendo que no puedes tener un index.html y el index.php en la raiz...si necesitas preciso en index.html creo que deberias instalar prestashop en otra carpeta...

pero para asegurarte de que ese es el problema renombra el index.html y mira si te va bien el carrito

Share this post


Link to post
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More