VirtueMart Forum

VirtueMart 2 + 3 + 4 => Frontend Modules => Topic started by: quesacco on July 06, 2016, 20:26:47 PM

Title: pop-up and drop-down provinces issue
Post by: quesacco on July 06, 2016, 20:26:47 PM
Hi there,

I had an issue, but I solved it. I just want to share it with others since it took me some time to figure it out.

Everything was working on my side but my client kept on saying that neither the pop-up (after adding to the shopping cart) nor the drop down menu showing the Province when choosing Canada as a country were working. He finally brought me his laptop and I just figured out that instead of using his domain name without www. before it, he was using the www.

So not an error after all. I am hoping that it might help someone else.

Cheers.
Title: Re: pop-up and drop-down provinces issue
Post by: GJC Web Design on July 06, 2016, 22:38:58 PM
yes-- u should force one or the other to prevent cross domain restrictions

e.g. in htaccess

RewriteCond %{HTTP_HOST} ^(xxxxxx\.com)(:80)? [NC]
RewriteRule ^(.*) http://www.xxxxx.com/$1 [R=301,L]
order deny,allow