OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Issue with cart in template. (fixed) (0 viewing) 

OrdaSoft template Support

Go to bottom Favoured: 0

Issue with cart in template. (fixed)

Keithking101 (Visitor)
Posts: 0
graphgraph
User Offline
Issue with cart in template. (fixed) 6 Years, 2 Months ago
Karma: 0  
Hello I'm using the watches template. I installed it from the install file with joomla. Currently the website is at TheFlagHag.com When I try to add something to the cart there is no popup or anything and nothing ever gets added. The problem was noted this week, happen to be the same week I added the SSL.

Since installing I updated joomla to 3.8.3, VirtueMart to 3.2.10 and using PHP version 7.0.25

If I change the template the site works. If I rename the HTML folder in the template area the site still don't work, so it's not because of a template override but something to do with the template. I am not sure what could be causing this issue or where to look at this point.

The funny thing is that after I made this site I liked it and backed it up and made another site with it that I experiment with. When I find something I like I add it to this site. It isn't having the same issue. Checking all the Virtuemart settings (and basically anything else I could find to compare) they all seem the same. This other site is theanimecodelector.com I had added SSL to this site a day before adding it to TheFlagHag.com

I thank you all in advance!
Logged Logged
Last Edit: 2018/01/02 17:17 By .
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8230
graph
User Offline Click here to see the profile of this user
Re:Issue with cart in template. 6 Years, 2 Months ago
Karma: 101  
Hello

I on your site see below error:
Failed to load theflaghag.com/index.php?option=com_virt...g=en&Itemid=101: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'www.theflaghag.com' is therefore not allowed access.

You need in .htaccess file add something like:
Code:

RewriteCond %{HTTP_HOST} ^www.(.*) [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]



Regards
Andrew
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
Keithking101 (Visitor)
Posts: 0
graphgraph
User Offline
Re:Issue with cart in template. 6 Years, 2 Months ago
Karma: 0  
You are correct!

Thank you for the help! I try to learn something every time I ask for help. While I'm confuse on why other templates would work or why disabling the .htaccess didn't fix the problem, the question I want to know the most is that you had got an error code. I just had the site crash when I tried to do the action. How did you get that error code?
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8230
graph
User Offline Click here to see the profile of this user
Re:Issue with cart in template. 6 Years, 2 Months ago
Karma: 101  
Dear

This error you may see in browser error console please press F12 and select "console"

Also, if your site not work, you may in Joomla "Global setting" turn on "max error report", some time this may help.

And periodically (with help cPanel) do full site backup.

Regards
Andrew
Ordasoft team
Logged Logged
The administrator has disabled public write access.
Keithking101 (Visitor)
Posts: 0
graphgraph
User Offline
Re:Issue with cart in template. 6 Years, 2 Months ago
Karma: 0  
Alright Thank you for the information.
Logged Logged
The administrator has disabled public write access.
Go to top
»