I have a child theme I'm trying to complete based on the community theme and I am trying to disable the ability for a visitor to click on an out of stock button that does not have the disabled selector - but what I am getting is an unstyled popup that says "This product is no longer available." I can't find where this behavior is happening but I want to disable it only for buttons styled with certain selectors. Any ideas?
Below is a screenshot of two of the button types that even though the cursor is changed to "not-allowed" (via disabled selector), clicking the button still triggers the popup shown in the image:
Question
Obi
I have a child theme I'm trying to complete based on the community theme and I am trying to disable the ability for a visitor to click on an out of stock button that does not have the disabled selector - but what I am getting is an unstyled popup that says "This product is no longer available." I can't find where this behavior is happening but I want to disable it only for buttons styled with certain selectors. Any ideas?
Below is a screenshot of two of the button types that even though the cursor is changed to "not-allowed" (via disabled selector), clicking the button still triggers the popup shown in the image:
Thanks!
3 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now