Jump to content

[Risolto] Problema "prodotto Non Trovato Il Prodotto Non È Disponibile."


ioritherock

Recommended Posts

Salve Community.

 

Vi spiego il problema, il negozio è funzionante in ogni sua parte, unico bug e quando praticamente dalla pagina prodotto singolo quando lo aggiungo al carrello mi compare il popup " Prodotto non trovato Il prodotto non è disponibile."

Già di per sé molto fastidioso ma poi il prodotto lo aggiunge al carrello ed è acquistabile perché lo inserisce come disponibile.

 

Avete qualche idea a riguardo su come mai appare questo bug?

 

Grazie anticipatamente.

 

Versione Presta usata 1.6.1.3

 

Edited by ioritherock (see edit history)
Link to comment
Share on other sites

Penso che sia da qualche parte nel vostro tema. Questi parametri sono chiamati prima "Prodotto non trovato Il prodotto non è disponibile.":

I think it is somewhere in your theme. These parameters are called before "Prodotto non trovato Il prodotto non è disponibile.":

 

controller=cart&add=1&ajax=true&qty=1&id_product=undefined&token=1cb42a2d7dcca077b8ece67bbd7b8bfa

Link to comment
Share on other sites

Vorrei iniziare con i file product.tpl e product.js.

 

I would start with product.tpl and product.js files.

 

Ho trovato questa stringa in ajax-cart.js

 

"

$.ajax({
type: 'POST',
headers: { "cache-control": "no-cache" },
url: baseUri + '?rand=' + new Date().getTime(),
async: true,
cache: false,
dataType : "json",
data: 'controller=cart&add=1&ajax=true&qty=' + ((quantity && quantity != null) ? quantity : '1') + '&id_product=' + idProduct + '&token=' + static_token + ( (parseInt(idCombination) && idCombination != null) ? '&ipa=' + parseInt(idCombination): ''),
success: function(jsonData,textStatus,jqXHR)
 
"
 
Cosa ne pensa?
Grazie
Link to comment
Share on other sites

Up Risolto.

 

Cercando in rete ho trovato un utente inglese che andando ad eliminare la stringa classe " ajax_add_to_cart_button " riportava lo stato del bottone a quello originale e quindi senza riportare il problema quando si aggiunge un prodotto dalla pagina prodotto.

 

Chiudo.

Link to comment
Share on other sites

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...