Author Topic: Add To Cart not displaying on other domains  (Read 756 times)

Offline cymru78

  • Newbie
  • *
  • Posts: 24
  • Karma: +1/-0
    • View Profile
Add To Cart not displaying on other domains
« on: May 13, 2022, 08:49:52 AM »
Hi,
I have got my main website and three other domains that point to the main site.

When I go to my site using the other domains, the little Add to Cart icon is just a blank square.

Does anyone know why this might be happening, and how I could fix it?

Thank you.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5257
  • Karma: +262/-2
    • View Profile
Re: Add To Cart not displaying on other domains
« Reply #1 on: May 13, 2022, 09:25:21 AM »
Hello.
This can happen if your store URL and the URL you visit are not the same such as www.store.com vs store.com etc

Offline cymru78

  • Newbie
  • *
  • Posts: 24
  • Karma: +1/-0
    • View Profile
Re: Add To Cart not displaying on other domains
« Reply #2 on: June 22, 2022, 08:18:12 AM »
Hi,
I forgot that I made this post. Oops.

Is there a way of fixing this at all?

My main domain is flauntitvintage.co.uk and the other domain, which redirects, is prewornclothing.co.uk
Actually, I have two domains that direct to the main one.

In fact, I've just realised the blank square also displays for www.flauntitvintage.co.uk as well, which I never noticed before.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5257
  • Karma: +262/-2
    • View Profile
Re: Add To Cart not displaying on other domains
« Reply #3 on: June 22, 2022, 09:42:08 AM »
Try to clean AbanteCart cache

Offline cymru78

  • Newbie
  • *
  • Posts: 24
  • Karma: +1/-0
    • View Profile
Re: Add To Cart not displaying on other domains
« Reply #4 on: June 22, 2022, 10:18:05 AM »
Unfortunately, it doesn't look like that's worked

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5257
  • Karma: +262/-2
    • View Profile
Re: Add To Cart not displaying on other domains
« Reply #5 on: June 23, 2022, 01:11:42 AM »
Hello.
flauntitvintage.co.uk icons look fine on my side. And you redirect to the wrong site. Your store url is flauntitvintage.co.uk, not www.flauntitvintage.co.uk so fix your redirects

« Last Edit: June 23, 2022, 01:13:21 AM by Basara »

Offline cymru78

  • Newbie
  • *
  • Posts: 24
  • Karma: +1/-0
    • View Profile
Re: Add To Cart not displaying on other domains
« Reply #6 on: June 23, 2022, 12:40:00 PM »
Thank you

I seem to be getting somewhere.

flauntitvintage.co.uk / flauntitvintage.com / prewornclothing.co.uk / prewornclothing.com all seem to be working fine now, with and without the www's

The only one that doesn't seem to be working is www.flauntitvintage.co.uk
In the back-end (set as https), if I change the Secure Store URL setting to www.flauntitvintage.co.uk it works, but then it stops working when accessing the site without the www's

Any ideas?



Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5257
  • Karma: +262/-2
    • View Profile
Re: Add To Cart not displaying on other domains
« Reply #7 on: June 24, 2022, 01:22:24 AM »
Hello.

www.flauntitvintage.co.uk and flauntitvintage.co.uk are 2 different URLs. Add a redirect from www. to your store URL

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5257
  • Karma: +262/-2
    • View Profile
Re: Add To Cart not displaying on other domains
« Reply #8 on: June 24, 2022, 01:22:51 AM »
Hello.
This can happen if your store URL and the URL you visit are not the same such as www.store.com vs store.com etc

Offline cymru78

  • Newbie
  • *
  • Posts: 24
  • Karma: +1/-0
    • View Profile
Re: Add To Cart not displaying on other domains
« Reply #9 on: June 24, 2022, 01:57:34 AM »
Unfortunately, it doesn't look like there is a way for me to set up a redirect because this is where my store is hosted.

I think I might have to contact my hosting provider to see if it can be done. But at least all the other ways are now working and it's not very often someone will type www. to access my site anyway.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5257
  • Karma: +262/-2
    • View Profile
Re: Add To Cart not displaying on other domains
« Reply #10 on: June 24, 2022, 02:03:26 AM »
Hello.
You can setup a redirect in the .htaccess file

Offline cymru78

  • Newbie
  • *
  • Posts: 24
  • Karma: +1/-0
    • View Profile
Re: Add To Cart not displaying on other domains
« Reply #11 on: June 24, 2022, 02:22:45 AM »
I didn't know that, so thanks.

However, I've just done another quick refresh of the cache and it now seems to be working fine no matter which domain I use to enter the site.

Thanks for the help.

 

Powered by SMFPacks Social Login Mod