Page 1 of 1
[Add to cart button not displaying properly and gives json page after clicking it ]
Posted: Wed Jul 26, 2023 6:52 pm
by Hourglasss
Getting these buttons on a clean install of opencart,
when i click the button it also opens a new json page with the popup message

Re: [Add to cart button not displaying properly and gives json page after clicking it ]
Posted: Wed Jul 26, 2023 9:43 pm
by straightlight
Hourglasss wrote: ↑Wed Jul 26, 2023 6:52 pm
Getting these buttons on a clean install of opencart,
when i click the button it also opens a new json page with the popup message
OC version. Issue has already been fixed on the MB.
Re: [Add to cart button not displaying properly and gives json page after clicking it ]
Posted: Thu Jul 27, 2023 12:37 am
by Hourglasss
straightlight wrote: ↑Wed Jul 26, 2023 9:43 pm
Hourglasss wrote: ↑Wed Jul 26, 2023 6:52 pm
Getting these buttons on a clean install of opencart,
when i click the button it also opens a new json page with the popup message
OC version. Issue has already been fixed on the MB.
im using mb
Code: Select all
git clone --branch master https://github.com/opencart/opencart
cloned from github
Re: [Add to cart button not displaying properly and gives json page after clicking it ]
Posted: Thu Jul 27, 2023 2:21 am
by Hourglasss
add to cart button wroks but its still gray and small ?
Re: [Add to cart button not displaying properly and gives json page after clicking it ]
Posted: Thu Jul 27, 2023 4:19 am
by MaxD
Try to refresh the page while holding the Shift key.
Re: [Add to cart button not displaying properly and gives json page after clicking it ]
Posted: Thu Jul 27, 2023 4:59 am
by Hourglasss
MaxD wrote: ↑Thu Jul 27, 2023 4:19 am
Try to refresh the page while holding the Shift key.
already tried clearing cache hard refresh etc
Re: [Add to cart button not displaying properly and gives json page after clicking it ]
Posted: Thu Jul 27, 2023 5:13 am
by straightlight
Hourglasss wrote: ↑Thu Jul 27, 2023 4:59 am
MaxD wrote: ↑Thu Jul 27, 2023 4:19 am
Try to refresh the page while holding the Shift key.
already tried clearing cache hard refresh etc
If nobody else is reporting the issue on Github Opencart already, then you might be facing server cache issues.
Re: [Add to cart button not displaying properly and gives json page after clicking it ]
Posted: Thu Jul 27, 2023 2:35 pm
by TMD Extension @
It might be happening because of a conflict with a third-party module or service. The text displayed on the screen is the response of when adding to the cart is successfully done.
Please uninstall the module you installed, clear the cache, and use the private browser to check your website.
Re: [Add to cart button not displaying properly and gives json page after clicking it ]
Posted: Thu Jul 27, 2023 3:58 pm
by WaxedPerfection
Re: [Add to cart button not displaying properly and gives json page after clicking it ]
Posted: Thu Jul 27, 2023 5:15 pm
by Hourglasss
Thank you
TMD Extension @ wrote: ↑Thu Jul 27, 2023 2:35 pm
It might be happening because of a conflict with a third-party module or service. The text displayed on the screen is the response of when adding to the cart is successfully done.
Please uninstall the module you installed, clear the cache, and use the private browser to check your website.
i have 0 modules this is a clean install of opencart
seems like im not the only one
Re: [Add to cart button not displaying properly and gives json page after clicking it ]
Posted: Tue Aug 08, 2023 11:18 pm
by rgbworld
I had the exact same issue on a fresh install of OpenCart 4.0.2.2. Browser refresh solved the problem. If that's not working, try to delete the cache file from the storage directory and refresh again.
Re: [Add to cart button not displaying properly and gives json page after clicking it ]
Posted: Wed Aug 09, 2023 7:59 pm
by Hourglasss
rgbworld wrote: ↑Tue Aug 08, 2023 11:18 pm
I had the exact same issue on a fresh install of OpenCart 4.0.2.2. Browser refresh solved the problem. If that's not working, try to delete the cache file from the storage directory and refresh again.
yea im having alot of issues with caching on 4.0.2.2 i had database issues to
Re: [Add to cart button not displaying properly and gives json page after clicking it ]
Posted: Wed Aug 09, 2023 8:45 pm
by straightlight
Hourglasss wrote: ↑Wed Aug 09, 2023 7:59 pm
rgbworld wrote: ↑Tue Aug 08, 2023 11:18 pm
I had the exact same issue on a fresh install of OpenCart 4.0.2.2. Browser refresh solved the problem. If that's not working, try to delete the cache file from the storage directory and refresh again.
yea im having alot of issues with caching on 4.0.2.2 i had database issues to
Such as?
Re: [Add to cart button not displaying properly and gives json page after clicking it ]
Posted: Wed Aug 09, 2023 9:26 pm
by Hourglasss
straightlight wrote: ↑Wed Aug 09, 2023 8:45 pm
Hourglasss wrote: ↑Wed Aug 09, 2023 7:59 pm
rgbworld wrote: ↑Tue Aug 08, 2023 11:18 pm
I had the exact same issue on a fresh install of OpenCart 4.0.2.2. Browser refresh solved the problem. If that's not working, try to delete the cache file from the storage directory and refresh again.
yea im having alot of issues with caching on 4.0.2.2 i had database issues to
Such as?
viewtopic.php?t=231707
viewtopic.php?t=231750
Both these 2 were cache related im pretty sure
i dont know if its my browser locally i always try to hard refresh and manually remove the cache directory in my firefox
Re: [Add to cart button not displaying properly and gives json page after clicking it ]
Posted: Wed Aug 09, 2023 9:45 pm
by straightlight
Hourglasss wrote: ↑Wed Aug 09, 2023 9:26 pm
straightlight wrote: ↑Wed Aug 09, 2023 8:45 pm
Hourglasss wrote: ↑Wed Aug 09, 2023 7:59 pm
yea im having alot of issues with caching on 4.0.2.2 i had database issues to
Such as?
viewtopic.php?t=231707
viewtopic.php?t=231750
Both these 2 were cache related im pretty sure
i dont know if its my browser locally i always try to hard refresh and manually remove the cache directory in my firefox
While the 2nd link above points to the same topic, why are you recreating a new topic in regard to the same issue knowing that the issue you're still currently reporting is about the same issue you've reported last time?
Re: [Add to cart button not displaying properly and gives json page after clicking it ]
Posted: Thu Aug 10, 2023 8:09 pm
by Hourglasss
straightlight wrote: ↑Wed Aug 09, 2023 9:45 pm
While the 2nd link above points to the same topic, why are you recreating a new topic in regard to the same issue knowing that the issue you're still currently reporting is about the same issue you've reported last time?
i said i had issues with caching and you asked, both the threads i posted were related with caching issues
Re: [Add to cart button not displaying properly and gives json page after clicking it ]
Posted: Thu Aug 10, 2023 11:10 pm
by straightlight
Hourglasss wrote: ↑Thu Aug 10, 2023 8:09 pm
straightlight wrote: ↑Wed Aug 09, 2023 9:45 pm
While the 2nd link above points to the same topic, why are you recreating a new topic in regard to the same issue knowing that the issue you're still currently reporting is about the same issue you've reported last time?
i said i had issues with caching and you asked, both the threads i posted were related with caching issues
These topics are, then, duplicated.
Re: [Add to cart button not displaying properly and gives json page after clicking it ]
Posted: Thu Aug 10, 2023 11:52 pm
by Hourglasss
straightlight wrote: ↑Thu Aug 10, 2023 11:10 pm
Hourglasss wrote: ↑Thu Aug 10, 2023 8:09 pm
straightlight wrote: ↑Wed Aug 09, 2023 9:45 pm
While the 2nd link above points to the same topic, why are you recreating a new topic in regard to the same issue knowing that the issue you're still currently reporting is about the same issue you've reported last time?
i said i had issues with caching and you asked, both the threads i posted were related with caching issues
These topics are, then, duplicated.
Noo, i can confirm the add to cart button is actually cause the stylesheet i reverted my stylessheet 1 date back from the github and it displays it correctly now