Jump to content

What core file manages the 'You already have the maximum quantity available for this product' warning (pop-up)?


BlackEngine

Recommended Posts

Hi!

I made some changes to the core of my shop, and it's ok to show the message on cart. I don't have any problem with it, actually I want it.

But it also appears a modal window showing the same message. It's is the one I want to hide or disable.

Do you know how we can disable it?

 

Thank you!

385609546.JPG

Link to comment
Share on other sites

Use custom CSS to hide the modal (temporary solution)
As a temporary solution, you can hide the modal using custom CSS:
.modal-class { /* Replace with the actual class of your modal */
display: none !important;
}
Add this CSS to your theme's stylesheet (custom.css or theme.css file). This will prevent the modal from being displayed, though the underlying JavaScript will still be executed.

  • Like 1
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...