Page 1 of 1

Featured Products Javascript "Undefined Error" ver "SOLVED"

Posted: Sun Feb 26, 2017 7:18 am
by bzemla
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"


Re: Featured Products Javascript "Undefined Error" ver "SOLVED"

Posted: Mon Feb 27, 2017 3:05 am
by bzemla
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 ^(.*)$$1 [R=301,L]

Re: Featured Products Javascript "Undefined Error" ver "SOLVED"

Posted: Fri Oct 20, 2017 4:16 pm
by Landmaster
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.