Jump to content

Mostrare messaggio "Disponibile in diverse varianti!


Recommended Posts

Buongiorno, spero che qualcuno possa darmi una mano a risolvere questo problema. Uso la versione di prestashop 1.7.8.1.1 ed uso un modulo che forza la selezione degli attributi. Però nasce un problema, se la variante predefinita ha una quantità non disponibile, mostra il messaggio non disponibile. Sarebbe più carino che: 

Se nessuna variante è selezionata → Mostrare "Disponibile in diverse varianti".

Se la variante è disponibile → Mostrare "Disponibile".

Se la variante è esaurita → Mostrare "Non disponibile".

Se tutte le varianti sono esaurite → Mostrare "Non Disponibile".

Spero di essermi spiegato bene e che qualcuno possa darmi qualche suggerimento utile.

Link to comment
Share on other sites

Hello, I hope someone can help me solve this problem. I use prestashop version 1.7.8.1.1 and I use a module that forces the selection of attributes. However, a problem arises, if the default variant has an unavailable quantity, it shows the unavailable message. It would be nicer that:

If no variant is selected → Show "Available in different variants".

If the variant is available → Show "Available".

If the variant is out of stock → Show "Not available".

If all variants are out of stock → Show "Not available".

I hope I explained myself well and that someone can give me some useful suggestions.

Link to comment
Share on other sites

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...