-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add to Cart button is missing on all product pages #6823
Comments
@devdesco-ceo It seems there is a problem with the Porto theme not being compatible with Magento 2.1.1. The best course of action would be to contact the maintainer of the Porto theme. |
Thank you! I will check in with the Porto developers. By the way, |
Actually, |
I switched over to magento/blank theme, but the Add to Cart button is missing in this case as well. Any clue? |
@devdesco-ceo thank you for your report. |
Sure. |
What I just discovered, is in my multi-store / multi-view setup of M2 (actually after update from 2.0.9 to 2.1.1 and afterwards to 2.1.2) only default store views with English locale do not have "add to cart" present on product pages, and functionality of checkout is broken on the same store views. I tried to change default store views to another locales, but to no avail. Please see yourself - https://endohaus.us/catalog/product/view/id/10/s/c-mount-video-coupler-for-storz-compatible-rigid-endoscopes-and-fiberscopes-vcc-bmw-35f-050 is missing the "Add to cart" button, but Also, I went through all settings in admin, and everything looks the same. As I guess, either there is an issue with en_US locale in config / locale files,, or something is screwed up in DB. I am ready to spend my time and offer Team View session to one of M2 developers to get deeper into the issue right at my production host. So, as I said before, it is not a compatibility issue of Porto theme, but a BUG in M2 2.1.x core. |
@devdesco-ceo Thanks for sharing! Were you able to find a solution to this issue? I'm also having "Add to Cart" and checkout problem with Porto. A Magento Developer on here confirmed that Porto was causing the problem because the "Add to Cart" and checkout is working just fine with Magento 2 default theme. But it looks like our issues are not the same but a little crossing for one to suggest they might be related one way or the other. For me when I click on "Add to Cart" button it redirects to homepage causing a loop and the checkout process never complete. I contacted Porto Developers and they suggest making sure I use the patch, which I did several times, but still with no success. |
No, I did not solve the issue yet. The code in Porto theme seems fine, but I am going to upgrade Porto to 2.4.0 today and see what happens. Also, Porto Theme developer are very sluggish with support, no matter how good their theme is. I did a lot of modifications and CSS styling of it, and it looks awesome. Check it out and tell me what you think - https://endohaus.com As to default blank theme, I have to recheck if it is the core issue, or the Porto's. Will keep you updated here. |
Checked again on upgraded 2.4.0 Porto theme... same thing - Add to Cart button is missing on all default store views, even when switched o Magento/Blank theme. That is definitely a bug. |
By digging deeper into log files, in
|
Finally, resolution came from another issue #5183. I had to replace code on line 112 Please elevate the issue into a bug and fix it. Links with the same problem: |
In my case this does not solve the issue, I still see the contents partially. Any idea whether this issue has been addressed by the core devs or not? |
In my case I have resolved this issue by setting |
Thanks for reporting this issue. Is it actual for you or we can close it? |
|
@viktor-zhuromskyy we are closing this issue due to inactivity. If you'd like to update it, please reopen the issue. |
So, nothing to solve this but issue closed ? so many issues aren't fixed with this process. i reproduced this : multistore (2 websites with 1 store and 1 store view each) If i checked it to be displayed on the 2 websites, and put them in the 2 root categories => no add to cart button |
[Lynx] Update phpcpd to ~6.0.3 to be PHP8 compatible
After successful upgrade from 2.0.9 to 2.1.1 the "Add to Cart" button is missing on all product pages in the entire store.
I am using latest Porto theme. Everything was working before the upgrade.
I suppose the issue is with the $isSaleable status attribute, but I can't find anywhere in DB where is the status recorded.
Nonetheless, category pages display the "Add to Cart" button as intended.
Please check https://endohaus.com
The text was updated successfully, but these errors were encountered: