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

#   Ajax Issue

##

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

Less More

- Posts: 4
- Thank you received: 0
-
-

12 years 3 months ago [\#162979](#162979) by [cassangelo](/forum/user/33308-cassangelo "View cassangelo's Profile")  *[Ajax Issue](/forum/25-install-update/869505-ajax-issue#162979 "-- url of the page with the problem -- : Still In development not accessible via public -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.3.28  When using categories or product listings as the default homepage with ajax add to cart enabled, the cart and popup renders an exact copy of index.php and displays the homepage within the cart or popup message  Is there anyway to resolve this?")* was created by *[cassangelo](/forum/user/33308-cassangelo "View cassangelo's Profile")*

-- url of the page with the problem -- : Still In development not accessible via public
-- HikaShop version -- : 2.3.1
-- Joomla version -- : 3.3.1
-- PHP version -- : 5.3.28

When using categories or product listings as the default homepage with ajax add to cart enabled, the cart and popup renders an exact copy of index.php and displays the homepage within the cart or popup message

Is there anyway to resolve this?

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

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

Less More

- Posts: 2
- Thank you received: 0
-
-

12 years 3 months ago [\#163061](#163061) by [akaffou](/forum/user/32742-akaffou "View akaffou's Profile")  Replied by *[akaffou](/forum/user/32742-akaffou "View akaffou's Profile")* on topic *[Ajax Issue](/forum/25-install-update/869505-ajax-issue#163061 "-- url of the page with the problem -- : Still In development not accessible via public -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.3.28  When using categories or product listings as the default homepage with ajax add to cart enabled, the cart and popup renders an exact copy of index.php and displays the homepage within the cart or popup message  Is there anyway to resolve this?")*

Hi, I have the same ajax problem with all components related to the cart. Did you find a solution ? :S

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

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

Less More

- Posts: 4
- Thank you received: 0
-
-

12 years 3 months ago [\#163062](#163062) by [cassangelo](/forum/user/33308-cassangelo "View cassangelo's Profile")  Replied by *[cassangelo](/forum/user/33308-cassangelo "View cassangelo's Profile")* on topic *[Ajax Issue](/forum/25-install-update/869505-ajax-issue#163062 "-- url of the page with the problem -- : Still In development not accessible via public -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.3.28  When using categories or product listings as the default homepage with ajax add to cart enabled, the cart and popup renders an exact copy of index.php and displays the homepage within the cart or popup message  Is there anyway to resolve this?")*

The only solution I have is not to use any Hikashop components as the default joomla homepage and ajax works fine

I'd like the site to land straight into product listings. Not some intro text or article etc. So in the meantime, I've opted to turn off ajax and set add to cart to redirect to the checkout process, as the popup messages don't work. Also because a full page reload only to show an updated cart seems old fashioned, as least going to checkout makes it not seem like the page is refreshing for nothing, it's still got a continue shopping button.

I believe it's a bug located within administrator/components/com_hikashop/helpers/cart.php I just can't figure out what it is in there that's causing it

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 3 months ago [\#163148](#163148) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Ajax Issue](/forum/25-install-update/869505-ajax-issue#163148 "-- url of the page with the problem -- : Still In development not accessible via public -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.3.28  When using categories or product listings as the default homepage with ajax add to cart enabled, the cart and popup renders an exact copy of index.php and displays the homepage within the cart or popup message  Is there anyway to resolve this?")*

Hi,

This looks like a problem with your template. Could you try with the default template of Joomla ?

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 4
- Thank you received: 0
-
-

12 years 3 months ago [\#163149](#163149) by [cassangelo](/forum/user/33308-cassangelo "View cassangelo's Profile")  Replied by *[cassangelo](/forum/user/33308-cassangelo "View cassangelo's Profile")* on topic *[Ajax Issue](/forum/25-install-update/869505-ajax-issue#163149 "-- url of the page with the problem -- : Still In development not accessible via public -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.3.28  When using categories or product listings as the default homepage with ajax add to cart enabled, the cart and popup renders an exact copy of index.php and displays the homepage within the cart or popup message  Is there anyway to resolve this?")*

Yeah you're right my template is the issue, I'm using Themexperts' Zenith II

Do you know roughly what sort of thing I should be looking for so I can try &amp; fix it?

Thanks for your help

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

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

Less More

- Posts: 4
- Thank you received: 0
-
-

12 years 3 months ago [\#163165](#163165) by [cassangelo](/forum/user/33308-cassangelo "View cassangelo's Profile")  Replied by *[cassangelo](/forum/user/33308-cassangelo "View cassangelo's Profile")* on topic *[Ajax Issue](/forum/25-install-update/869505-ajax-issue#163165 "-- url of the page with the problem -- : Still In development not accessible via public -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.3.28  When using categories or product listings as the default homepage with ajax add to cart enabled, the cart and popup renders an exact copy of index.php and displays the homepage within the cart or popup message  Is there anyway to resolve this?")*

Thanks for your help, I found roughly the source of the cause, it was a template override I applied.

I'm going to use winmerge to compare the original overrides that came with the template to see what I edited to try and source how I managed this.

Thanks again ![:)](/media/kunena/emoticons/8.png ":)")

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 3 months ago [\#163152](#163152) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Ajax Issue](/forum/25-install-update/869505-ajax-issue#163152 "-- url of the page with the problem -- : Still In development not accessible via public -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.3.28  When using categories or product listings as the default homepage with ajax add to cart enabled, the cart and popup renders an exact copy of index.php and displays the homepage within the cart or popup message  Is there anyway to resolve this?")*

Hi,

The template should support the "component", when a page is called with "tmpl=component" parameter, you should not have the all template, just the component one (used in popups, with ajax or other stuff like that).

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2OTUwNS1hamF4LWlzc3VlP3RtcGw9bWFya2Rvd24=) 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.241 seconds

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

[](#top)
