- Posts: 63
- Thank you received: 3
Add to cart sends to home page and nothing addded
12 years 4 months ago #159316
by ians
Add to cart sends to home page and nothing addded was created by ians
-- url of the page with the problem -- :
www.iteacpd.com/index.php?Itemid=256
-- HikaShop version -- : starter 2.3.1
-- Joomla version -- : 2.5.20
-- PHP version -- : 5.2.17
-- Browser(s) name and version -- : firefox 29.01
-- Error-message(debug-mod must be tuned on) -- : Notice: undefined index:https in home/lineweb05/iteacpd.com/user/htdocs/plugins/system/jvfixscript/jvfixscript.php on line 77
Hi there,
I can't figure this one out - if I add to cart I just get redirected to home page and nothing is added to cart.
I turned debug on and it works OK and the above message appears on pop-up
Any help appreciated
Ian
-- HikaShop version -- : starter 2.3.1
-- Joomla version -- : 2.5.20
-- PHP version -- : 5.2.17
-- Browser(s) name and version -- : firefox 29.01
-- Error-message(debug-mod must be tuned on) -- : Notice: undefined index:https in home/lineweb05/iteacpd.com/user/htdocs/plugins/system/jvfixscript/jvfixscript.php on line 77
Hi there,
I can't figure this one out - if I add to cart I just get redirected to home page and nothing is added to cart.
I turned debug on and it works OK and the above message appears on pop-up
Any help appreciated
Ian
Please Log in or Create an account to join the conversation.
12 years 4 months ago #159332
by nicolas
Replied by nicolas on topic Add to cart sends to home page and nothing addded
Hi,
For some strange reason, the browser doesn't find the hikashopModifyQuantity javascript function on your page when you click on the add to cart button, even though it's added in the header. Something else must be conflicting here.
Change the "Button style" option of the configuration back to "normal" and that way it will work even without the javascript function defined.
For some strange reason, the browser doesn't find the hikashopModifyQuantity javascript function on your page when you click on the add to cart button, even though it's added in the header. Something else must be conflicting here.
Change the "Button style" option of the configuration back to "normal" and that way it will work even without the javascript function defined.
The following user(s) said Thank You: ians
Please Log in or Create an account to join the conversation.
12 years 4 months ago #159356
by ians
Replied by ians on topic Add to cart sends to home page and nothing addded
That worked Nicolas. Thank you very much 
Ian
Ian
Please Log in or Create an account to join the conversation.
12 years 4 months ago - 12 years 4 months ago #160392
by Rokell
Replied by Rokell on topic Add to cart sends to home page and nothing addded
I have a similar problem. If I add a product to the cart it works fine, but if a add a second product it redirects to my homepage. The product is added to the cart but I have go back my shop page to continue shopping.
The button style is set to normal. If I set it to CSS the layout changes of course, but the behavior is the same.
What to do?
Roger
P.S.: Here is the link to my website: 5-elemente.org/33/de/shop.html
The button style is set to normal. If I set it to CSS the layout changes of course, but the behavior is the same.
What to do?
Roger
P.S.: Here is the link to my website: 5-elemente.org/33/de/shop.html
Last edit: 12 years 4 months ago by Rokell.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
12 years 4 months ago #160445
by Mohamed Thelji
Replied by Mohamed Thelji on topic Add to cart sends to home page and nothing addded
Hello,
If you are using a SEF module / SEF options, can you disable it and try it again ?
If you are using a SEF module / SEF options, can you disable it and try it again ?
Please Log in or Create an account to join the conversation.
12 years 4 months ago #160510
by Rokell
Replied by Rokell on topic Add to cart sends to home page and nothing addded
Hi Mohamed,
I tried without SEF and it worked. If I switch SEF on it adds '?popup=1' to the URL after I put a product to the shopping cart. That is probably because of the pop up that says, that a product has been added to the cart.
If I add a product to the cart and change the product category, the rerouting to the homepage doesn't happen.
Is there a solution? I can't just switch off SEF - that looks akward...
Best
Roger
I tried without SEF and it worked. If I switch SEF on it adds '?popup=1' to the URL after I put a product to the shopping cart. That is probably because of the pop up that says, that a product has been added to the cart.
If I add a product to the cart and change the product category, the rerouting to the homepage doesn't happen.
Is there a solution? I can't just switch off SEF - that looks akward...
Best
Roger
Please Log in or Create an account to join the conversation.
12 years 4 months ago #160597
by Xavier
Replied by Xavier on topic Add to cart sends to home page and nothing addded
Hi,
It seems that your template is having an error (in gantry-engines.js file) and that is potentially causing the error in HikaShop regarding the display of the popup.
Could you try to change the settings of the option "After a product is added to the cart" in order to see what's happening ?
Select the value "Stay on the same page".
It seems that your template is having an error (in gantry-engines.js file) and that is potentially causing the error in HikaShop regarding the display of the popup.
Could you try to change the settings of the option "After a product is added to the cart" in order to see what's happening ?
Select the value "Stay on the same page".
Please Log in or Create an account to join the conversation.
12 years 4 months ago #160710
by Rokell
Replied by Rokell on topic Add to cart sends to home page and nothing addded
Hi Xavier,
I tried this setting and it works. Is there a solution to get the pop up?
Thanks
Roger
I tried this setting and it works. Is there a solution to get the pop up?
Thanks
Roger
Please Log in or Create an account to join the conversation.
12 years 4 months ago #160760
by Xavier
Replied by Xavier on topic Add to cart sends to home page and nothing addded
Hi,
At this point the solution seems to be to solve the JavaScript error generated by your template.
So potentially contact the gantry team.
At this point the solution seems to be to solve the JavaScript error generated by your template.
So potentially contact the gantry team.
Please Log in or Create an account to join the conversation.
Time to create page: 0.088 seconds