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

#   products with variants are not added to cart.

##

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

Less More

- Posts: 8
- Thank you received: 1
-
-

12 years 8 months ago [\#144689](#144689) by [releford](/forum/user/31245-releford "View releford's Profile")  *[products with variants are not added to cart.](/forum/25-install-update/866007-products-with-variants-are-not-added-to-cart#144689 "-- url of the page with the problem -- :   reltest.gc-supply.com  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : all browers -- Error-message(debug-mod must be tuned on) -- : cart empty  I did a clean install of both Joomla and HikaShop. I added a product without variants and everything work fine. the product was added to cart and the checkout process was easy to understand and follow. When I added a viriant to the product i get a popup the say product was added to cart but the cart stay empty. when i click on the proceed to checkout button in the popup i get the error that cart is empty. This is just a test site that I would love to see work. I like the look and ease of adding products to this shop. I would love to offer this to my customers, but if I can't get this to work I'll have to go to another solution.")* was created by *[releford](/forum/user/31245-releford "View releford's Profile")*

-- url of the page with the problem -- : [ reltest.gc-supply.com](http://reltest.gc-supply.com)
-- HikaShop version -- : 2.3.0
-- Joomla version -- : 3.2.2
-- PHP version -- : 5.3.28
-- Browser(s) name and version -- : all browers
-- Error-message(debug-mod must be tuned on) -- : cart empty

I did a clean install of both Joomla and HikaShop. I added a product without variants and everything work fine.
the product was added to cart and the checkout process was easy to understand and follow.
When I added a viriant to the product i get a popup the say product was added to cart but the cart stay empty.
when i click on the proceed to checkout button in the popup i get the error that cart is empty.
This is just a test site that I would love to see work. I like the look and ease of adding products to this shop.
I would love to offer this to my customers,
but if I can't get this to work I'll have to go to another solution.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2NjAwNy1wcm9kdWN0cy13aXRoLXZhcmlhbnRzLWFyZS1ub3QtYWRkZWQtdG8tY2FydD90bXBsPW1hcmtkb3du) 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 8 months ago [\#144728](#144728) 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 *[products with variants are not added to cart.](/forum/25-install-update/866007-products-with-variants-are-not-added-to-cart#144728 "-- url of the page with the problem -- :   reltest.gc-supply.com  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : all browers -- Error-message(debug-mod must be tuned on) -- : cart empty  I did a clean install of both Joomla and HikaShop. I added a product without variants and everything work fine. the product was added to cart and the checkout process was easy to understand and follow. When I added a viriant to the product i get a popup the say product was added to cart but the cart stay empty. when i click on the proceed to checkout button in the popup i get the error that cart is empty. This is just a test site that I would love to see work. I like the look and ease of adding products to this shop. I would love to offer this to my customers, but if I can't get this to work I'll have to go to another solution.")*

Hi,
Can you give me a link to the page where you are having your issue so that I can directly test it, and understand your issue ?

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

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

Less More

- Posts: 8
- Thank you received: 1
-
-

12 years 8 months ago -  12 years 8 months ago [\#144880](#144880) by [releford](/forum/user/31245-releford "View releford's Profile")  Replied by *[releford](/forum/user/31245-releford "View releford's Profile")* on topic *[products with variants are not added to cart.](/forum/25-install-update/866007-products-with-variants-are-not-added-to-cart#144880 "-- url of the page with the problem -- :   reltest.gc-supply.com  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : all browers -- Error-message(debug-mod must be tuned on) -- : cart empty  I did a clean install of both Joomla and HikaShop. I added a product without variants and everything work fine. the product was added to cart and the checkout process was easy to understand and follow. When I added a viriant to the product i get a popup the say product was added to cart but the cart stay empty. when i click on the proceed to checkout button in the popup i get the error that cart is empty. This is just a test site that I would love to see work. I like the look and ease of adding products to this shop. I would love to offer this to my customers, but if I can't get this to work I'll have to go to another solution.")*

Here is the page, [ relshop.gc-supply.com/index.php/hikashop...for-products-listing](http://relshop.gc-supply.com/index.php/hikashop-menu-for-products-listing)
there are only two products on it. one with variants and one without.

Thank you for such a fast response. I hope this is a easy fix

Last edit: 12 years 8 months ago by [releford](/forum/user/31245-releford "View releford's Profile"). Reason: just wanted to say thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2NjAwNy1wcm9kdWN0cy13aXRoLXZhcmlhbnRzLWFyZS1ub3QtYWRkZWQtdG8tY2FydD90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86292
- Thank you received: 14271
-
-

12 years 8 months ago [\#144890](#144890) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[products with variants are not added to cart.](/forum/25-install-update/866007-products-with-variants-are-not-added-to-cart#144890 "-- url of the page with the problem -- :   reltest.gc-supply.com  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : all browers -- Error-message(debug-mod must be tuned on) -- : cart empty  I did a clean install of both Joomla and HikaShop. I added a product without variants and everything work fine. the product was added to cart and the checkout process was easy to understand and follow. When I added a viriant to the product i get a popup the say product was added to cart but the cart stay empty. when i click on the proceed to checkout button in the popup i get the error that cart is empty. This is just a test site that I would love to see work. I like the look and ease of adding products to this shop. I would love to offer this to my customers, but if I can't get this to work I'll have to go to another solution.")*

Please turn off the "Use AJAX when possible for add to cart buttons" option of the HikaShop configuration, turn on the "debug mode" and "error reporting" options of the joomla configuration and try again.
Please report any error you might see on the page after adding the product to the cart.

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

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

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

Less More

- Posts: 8
- Thank you received: 1
-
-

12 years 8 months ago [\#144900](#144900) by [releford](/forum/user/31245-releford "View releford's Profile")  Replied by *[releford](/forum/user/31245-releford "View releford's Profile")* on topic *[products with variants are not added to cart.](/forum/25-install-update/866007-products-with-variants-are-not-added-to-cart#144900 "-- url of the page with the problem -- :   reltest.gc-supply.com  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : all browers -- Error-message(debug-mod must be tuned on) -- : cart empty  I did a clean install of both Joomla and HikaShop. I added a product without variants and everything work fine. the product was added to cart and the checkout process was easy to understand and follow. When I added a viriant to the product i get a popup the say product was added to cart but the cart stay empty. when i click on the proceed to checkout button in the popup i get the error that cart is empty. This is just a test site that I would love to see work. I like the look and ease of adding products to this shop. I would love to offer this to my customers, but if I can't get this to work I'll have to go to another solution.")*

I turned off "Use AJAX when possible for add to cart buttons" , turned on debug and error reporting and this is what I got.

Notice: Undefined variable: database in /home4/traygamb/public_html/relshop/administrator/components/com_hikashop/classes/cart.php on line 926

Fatal error: Call to a member function setQuery() on a non-object in /home4/traygamb/public_html/relshop/administrator/components/com_hikashop/classes/cart.php on line 926

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2NjAwNy1wcm9kdWN0cy13aXRoLXZhcmlhbnRzLWFyZS1ub3QtYWRkZWQtdG8tY2FydD90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86292
- Thank you received: 14271
-
-

12 years 8 months ago [\#144903](#144903) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[products with variants are not added to cart.](/forum/25-install-update/866007-products-with-variants-are-not-added-to-cart#144903 "-- url of the page with the problem -- :   reltest.gc-supply.com  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : all browers -- Error-message(debug-mod must be tuned on) -- : cart empty  I did a clean install of both Joomla and HikaShop. I added a product without variants and everything work fine. the product was added to cart and the checkout process was easy to understand and follow. When I added a viriant to the product i get a popup the say product was added to cart but the cart stay empty. when i click on the proceed to checkout button in the popup i get the error that cart is empty. This is just a test site that I would love to see work. I like the look and ease of adding products to this shop. I would love to offer this to my customers, but if I can't get this to work I'll have to go to another solution.")*

That's a bug we already fixed. Please download again the installation package on our website and install it on yours and it will fix the problem.

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

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

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

Less More

- Posts: 8
- Thank you received: 1
-
-

12 years 8 months ago -  12 years 8 months ago [\#144906](#144906) by [releford](/forum/user/31245-releford "View releford's Profile")  Replied by *[releford](/forum/user/31245-releford "View releford's Profile")* on topic *[products with variants are not added to cart.](/forum/25-install-update/866007-products-with-variants-are-not-added-to-cart#144906 "-- url of the page with the problem -- :   reltest.gc-supply.com  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : all browers -- Error-message(debug-mod must be tuned on) -- : cart empty  I did a clean install of both Joomla and HikaShop. I added a product without variants and everything work fine. the product was added to cart and the checkout process was easy to understand and follow. When I added a viriant to the product i get a popup the say product was added to cart but the cart stay empty. when i click on the proceed to checkout button in the popup i get the error that cart is empty. This is just a test site that I would love to see work. I like the look and ease of adding products to this shop. I would love to offer this to my customers, but if I can't get this to work I'll have to go to another solution.")*

Thank you that worked great. I really appreciate the fast response and how quickly you resolved my problem.
If all tech support was like this the world would be a much nicer place. ![:)](/media/kunena/emoticons/8.png ":)") ![:)](/media/kunena/emoticons/8.png ":)")

you may want to check the .zip version of the file, that's what i used to install. the last install was using the tar.gz file.
Thanks again ........ You ROCK

Last edit: 12 years 8 months ago by [releford](/forum/user/31245-releford "View releford's Profile"). Reason: fix errors

The following user(s) said Thank You: [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")

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

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

[](#top)
