AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: barry819 on May 19, 2021, 03:07:08 PM

Title: 1.3.0 - updated and all "add to cart" disabled
Post by: barry819 on May 19, 2021, 03:07:08 PM
I updated to 1.3.0, but after doing so all my "Add to Cart" buttons are disabled.

Theresamatherfantasyshop.com

No idea how to fix it.

I see it's now giving me this error:
/home/shortfor/public_html/TheresaMatherFantasyShop.com/dir/index.php file is writable. It is recommended to set read and execute modes for this file to keep it secured and running properly!
Title: Re: 1.3.0 - updated and all "add to cart" disabled
Post by: Sam_78 on May 19, 2021, 04:36:45 PM
Redirect your site to https it should fix it. The icons are not loading over http
Title: Re: 1.3.0 - updated and all "add to cart" disabled
Post by: barry819 on May 19, 2021, 04:41:10 PM
It is redirected to https. That's not the problem.

Or maybe it is. It looks like somehow that redirect got ended by installing the update.
Title: Re: 1.3.0 - updated and all "add to cart" disabled
Post by: Basara on May 20, 2021, 01:05:03 AM
Hello.
You should also set both your store urls to HTTPS in the AbanteCart settings.
To resolve the warning "index.php file is writable" change the permissions to the file in your hosting panel
https://abantecart.atlassian.net/wiki/spaces/AD/pages/3473448/Warning+Incorrect+file+permissions
Title: Re: 1.3.0 - updated and all "add to cart" disabled
Post by: Sam_78 on May 20, 2021, 01:58:34 PM
There is an error in console that explains the issue

Access to font at 'https://www.theresamatherfantasyshop.com/dir/storefront/view/default/fonts/fontawesome-webfont.woff2?v=4.7.0' from origin 'https://theresamatherfantasyshop.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

You have "www" in your url that's why you are having this issue
Title: Re: 1.3.0 - updated and all "add to cart" disabled
Post by: barry819 on May 21, 2021, 10:10:12 PM
I have no idea where that is or how to replace it. Where is there anyplace where I can enter or remove the www? As far as I can tell that's all in the backend beyond my reach.
Title: Re: 1.3.0 - updated and all "add to cart" disabled
Post by: Basara on May 24, 2021, 01:03:40 AM
The first place you should check is your store URL settings
https://abantecart.atlassian.net/wiki/spaces/AD/pages/5832828/Store+URLs+SSL

Then make sure you do not have a redirect in htaccess