Post by bzemla » Sun Feb 26, 2017 7:18 am

Hey Gents,

I just went through a huge ordeal with forcing HTTP to HTTPS although I read every post here. Now that I've got that problem out of the way, I now noticed that when I try and add a product from featured products to my cart, I am getting a Javascript "Error Undefined" error. This is only happening on the featured page, and once I go into another menu category, adding products to the cart isn't an issue. If I return back to the featured page, it then allows me to add products to the cart with no errors.

"Who said e-commerce was easy"

Cheers

Newbie

Posts

Joined
Wed Jan 18, 2017 2:34 am

Post by bzemla » Mon Feb 27, 2017 3:05 am

Since I did not receive any advice from the forum in regards to this issue, I thought I should post that I resolved it on my own so that it may help other members. I am a new user and not a coder but find that perseverance is the key to success using this platform.


RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://yourdomain.com/$1 [R=301,L]

Newbie

Posts

Joined
Wed Jan 18, 2017 2:34 am

Post by Landmaster » Fri Oct 20, 2017 4:16 pm

Hi bzemla

I have the same issue. Where are you placing this code? I assumed it would be in the .htaccess but I am still getting the same error message.

Thanks

Newbie

Posts

Joined
Thu Aug 03, 2017 11:36 pm
Who is online

Users browsing this forum: No registered users and 70 guests