• Resolved lavalldesign

    (@lavalldesign)


    ?Existe la posibilidad de ocultar el tooltip del input de numero de productos? ?O modificar su texto?

    Esto viene porque quiero ocultar completamente el stock pero cuando se introduce una cantidad superior al stock se muestra un tooltip que avisa de que la cantidad máxima existente.

    Por lo tanto solo quiero un mensaje de que “la cantidad no es suficiente”.

    Gracias!

    —————————

    Is there a possibility to hide the tooltip of the input of the number of products? Or modify your text?

    This comes because I want to completely hide the stock but when you enter a quantity greater than the stock a tooltip is displayed that warns you of the maximum amount existing.

    Therefore I just want a message that “quantity is not enough”.

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support RK a11n

    (@riaanknoetze)

    Hi there

    I don’t quite follow the question here – It sounds like you have specific limits which the user must order for each product, right? If so, are you doing that with a plugin by any chance?

    Also, can you share a direct URL where this happening? I’m asking as I’d like to check whether the markup allows for custom CSS ??

    Thanks!

    Thread Starter lavalldesign

    (@lavalldesign)

    I think it’s a usual WooCommerce behavior.

    I think the problem is because in the INPUT of the units it has a MAX value. JavaScript is checked and the browser displays the message ”

    In this URL (https://woolvd.demoswp.com/tienda/v-neck-t-shirt/) try to choose the color “Verde” and add 5 units. When you press the “Add to cart” button, the message appears.

    You only want to delete or modify this message.

    Plugin Support RK a11n

    (@riaanknoetze)

    Ah, thanks for clarifying that. The number that’s showing in that popup looks like it’s based on the number items that are available in stock. Seeing as “backorder” is not allowed for that product, WooCommerce doesn’t allow you to add more products to the cart than what’s in stock at the moment.

    As for the actual message being shown, that entirely powered by the browser itself – it’s not something that WooCommerce has any direct control over since the message forms part of the HTML5 specifications for input fields.

    Thread Starter lavalldesign

    (@lavalldesign)

    Here I have found the solution.

    https://isabelcastillo.com/validity-message

    Plugin Support RK a11n

    (@riaanknoetze)

    Nice solution you have there!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Hide tooltip number of products available.’ is closed to new replies.