All things Shopify and commerce
My Add to Cart is not working on product pages. Although Add to Cart and Buy it now button is visible but unable to click it. Previously my developer disable the button
Solved! Go to the solution
This is an accepted solution.
Have you added the code i provided? The code i provided is not present on the page. Please add it to theme.liquid
CAn you provide link to your store?
Hi, @umairqayyum86.
Welcome to the Shopify Community.
You mentioned that your Add to Cart button is visible on the product pages, but it is not functional. To clarify, did the Add to Cart button stop working after the website developer disabled the button?
To gather further context, could you share information on the following:
In the meantime, could you try the below troubleshooting steps:
Let us know if the above options have helped. I look forward to hearing back.
Victoria | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
My website is Petsemporium.pk, and yes developer disable the button I did not install any app
Hi @umairqayyum86 ,
This seems to be a very serious issue as no user can add product to the cart. Someone added the CSS that disables the button events.
I have writter few code to bring ATC functionality back
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code just above </body> tag
<style>
.product__add__cart__button, .shopify-payment-button {
pointer-events: auto!important;
}
</style>
If you require further help to optimize your store, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!
Best Regards,
Makka
nothing happened
This is an accepted solution.
Have you added the code i provided? The code i provided is not present on the page. Please add it to theme.liquid
Thanks its done
Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024