[Skip to main content](#vessel-content)

#   Add to cart sends to home page and nothing addded

##

- **[ians](/forum/user/7862-ians "View ians's Profile")**
- [![ians's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7862-ians "View ians's Profile") Topic Author
- [ Offline](/forum/user/7862-ians)

Less More

- Posts: 63
- Thank you received: 3
-
-

12 years 5 months ago [\#159316](#159316) by [ians](/forum/user/7862-ians "View ians's Profile")  *[Add to cart sends to home page and nothing addded](/forum/27-checkout/868836-add-to-cart-sends-to-home-page-and-nothing-addded#159316 "-- 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")* was created by *[ians](/forum/user/7862-ians "View ians's Profile")*

-- url of the page with the problem -- : [ www.iteacpd.com/index.php?Itemid=256](http://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 ![:-)](/media/kunena/emoticons/3.png ":-)")

Ian

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2ODgzNi1hZGQtdG8tY2FydC1zZW5kcy10by1ob21lLXBhZ2UtYW5kLW5vdGhpbmctYWRkZGVkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

12 years 5 months ago [\#159332](#159332) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add to cart sends to home page and nothing addded](/forum/27-checkout/868836-add-to-cart-sends-to-home-page-and-nothing-addded#159332 "-- 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")*

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.

The following user(s) said Thank You: [ians](/forum/user/7862-ians "View ians's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2ODgzNi1hZGQtdG8tY2FydC1zZW5kcy10by1ob21lLXBhZ2UtYW5kLW5vdGhpbmctYWRkZGVkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ians](/forum/user/7862-ians "View ians's Profile")**
- [![ians's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7862-ians "View ians's Profile") Topic Author
- [ Offline](/forum/user/7862-ians)

Less More

- Posts: 63
- Thank you received: 3
-
-

12 years 5 months ago [\#159356](#159356) by [ians](/forum/user/7862-ians "View ians's Profile")  Replied by *[ians](/forum/user/7862-ians "View ians's Profile")* on topic *[Add to cart sends to home page and nothing addded](/forum/27-checkout/868836-add-to-cart-sends-to-home-page-and-nothing-addded#159356 "-- 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")*

That worked Nicolas. Thank you very much ![:)](/media/kunena/emoticons/3.png ":)")

Ian

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2ODgzNi1hZGQtdG8tY2FydC1zZW5kcy10by1ob21lLXBhZ2UtYW5kLW5vdGhpbmctYWRkZGVkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Rokell](/forum/user/32710-rokell "View Rokell's Profile")**
- [![Rokell's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32710-rokell "View Rokell's Profile")
- [ Offline](/forum/user/32710-rokell)

Less More

- Posts: 159
- Thank you received: 2
-
-

12 years 5 months ago -  12 years 5 months ago [\#160392](#160392) by [Rokell](/forum/user/32710-rokell "View Rokell's Profile")  Replied by *[Rokell](/forum/user/32710-rokell "View Rokell's Profile")* on topic *[Add to cart sends to home page and nothing addded](/forum/27-checkout/868836-add-to-cart-sends-to-home-page-and-nothing-addded#160392 "-- 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")*

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](http://5-elemente.org/33/de/shop.html)

Last edit: 12 years 5 months ago by [Rokell](/forum/user/32710-rokell "View Rokell's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2ODgzNi1hZGQtdG8tY2FydC1zZW5kcy10by1ob21lLXBhZ2UtYW5kLW5vdGhpbmctYWRkZGVkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 5 months ago [\#160445](#160445) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Add to cart sends to home page and nothing addded](/forum/27-checkout/868836-add-to-cart-sends-to-home-page-and-nothing-addded#160445 "-- 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")*

Hello,
If you are using a SEF module / SEF options, can you disable it and try it again ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2ODgzNi1hZGQtdG8tY2FydC1zZW5kcy10by1ob21lLXBhZ2UtYW5kLW5vdGhpbmctYWRkZGVkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Rokell](/forum/user/32710-rokell "View Rokell's Profile")**
- [![Rokell's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32710-rokell "View Rokell's Profile")
- [ Offline](/forum/user/32710-rokell)

Less More

- Posts: 159
- Thank you received: 2
-
-

12 years 5 months ago [\#160510](#160510) by [Rokell](/forum/user/32710-rokell "View Rokell's Profile")  Replied by *[Rokell](/forum/user/32710-rokell "View Rokell's Profile")* on topic *[Add to cart sends to home page and nothing addded](/forum/27-checkout/868836-add-to-cart-sends-to-home-page-and-nothing-addded#160510 "-- 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")*

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2ODgzNi1hZGQtdG8tY2FydC1zZW5kcy10by1ob21lLXBhZ2UtYW5kLW5vdGhpbmctYWRkZGVkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 5 months ago [\#160597](#160597) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Add to cart sends to home page and nothing addded](/forum/27-checkout/868836-add-to-cart-sends-to-home-page-and-nothing-addded#160597 "-- 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")*

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".

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2ODgzNi1hZGQtdG8tY2FydC1zZW5kcy10by1ob21lLXBhZ2UtYW5kLW5vdGhpbmctYWRkZGVkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Rokell](/forum/user/32710-rokell "View Rokell's Profile")**
- [![Rokell's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32710-rokell "View Rokell's Profile")
- [ Offline](/forum/user/32710-rokell)

Less More

- Posts: 159
- Thank you received: 2
-
-

12 years 5 months ago [\#160710](#160710) by [Rokell](/forum/user/32710-rokell "View Rokell's Profile")  Replied by *[Rokell](/forum/user/32710-rokell "View Rokell's Profile")* on topic *[Add to cart sends to home page and nothing addded](/forum/27-checkout/868836-add-to-cart-sends-to-home-page-and-nothing-addded#160710 "-- 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")*

Hi Xavier,
I tried this setting and it works. Is there a solution to get the pop up?
Thanks
Roger

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2ODgzNi1hZGQtdG8tY2FydC1zZW5kcy10by1ob21lLXBhZ2UtYW5kLW5vdGhpbmctYWRkZGVkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 5 months ago [\#160760](#160760) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Add to cart sends to home page and nothing addded](/forum/27-checkout/868836-add-to-cart-sends-to-home-page-and-nothing-addded#160760 "-- 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")*

Hi,

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2ODgzNi1hZGQtdG8tY2FydC1zZW5kcy10by1ob21lLXBhZ2UtYW5kLW5vdGhpbmctYWRkZGVkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.102 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
