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

#   Problems with the Shopping Cart

##

- **[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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14276
-
-

15 years 4 months ago [\#19249](#19249) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Problems with the Shopping Cart](/forum/3-bug-report/19213-problems-with-the-shopping-cart?start=20#19249 "I am having some issues with the cart.  &#91;image&#93;  First I added one product to the cart and proceeded to checkout.  &#91;image&#93;  Screenshot of checkout  &#91;image&#93;  After I click on the remove it takes me to this page which it tells me my cart is empty, but there is another product added to the cart. Plus the categories are gone and it added the products in place of the categories with no pics or add to cart button.")*

Please change the code as instructed.

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

- **[dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")**
- [![dan c.'s Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2877.jpg)](/forum/user/2877-dan-c "View dan c.'s Profile") Topic Author
- [ Offline](/forum/user/2877-dan-c)

Less More

- Posts: 43
- Thank you received: 0
-
-

15 years 4 months ago [\#19250](#19250) by [dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")  Replied by *[dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")* on topic *[Re: Problems with the Shopping Cart](/forum/3-bug-report/19213-problems-with-the-shopping-cart?start=20#19250 "I am having some issues with the cart.  &#91;image&#93;  First I added one product to the cart and proceeded to checkout.  &#91;image&#93;  Screenshot of checkout  &#91;image&#93;  After I click on the remove it takes me to this page which it tells me my cart is empty, but there is another product added to the cart. Plus the categories are gone and it added the products in place of the categories with no pics or add to cart button.")*

**nicolas wrote:**

> Please change the code as instructed.

I thought I did, here is what the file looks like after I made the changes.

[ ![&#91;IMG](http://i53.tinypic.com/6zlxlc.jpg) ](http://i53.tinypic.com/6zlxlc.jpg "&#91;IMG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xOTIxMy1wcm9ibGVtcy13aXRoLXRoZS1zaG9wcGluZy1jYXJ0P2xhbmc9ZW4mc3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14276
-
-

15 years 4 months ago [\#19252](#19252) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Problems with the Shopping Cart](/forum/3-bug-report/19213-problems-with-the-shopping-cart?start=20#19252 "I am having some issues with the cart.  &#91;image&#93;  First I added one product to the cart and proceeded to checkout.  &#91;image&#93;  Screenshot of checkout  &#91;image&#93;  After I click on the remove it takes me to this page which it tells me my cart is empty, but there is another product added to the cart. Plus the categories are gone and it added the products in place of the categories with no pics or add to cart button.")*

You removed the ?&gt; after the condition which breaks the page processing.

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

- **[dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")**
- [![dan c.'s Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2877.jpg)](/forum/user/2877-dan-c "View dan c.'s Profile") Topic Author
- [ Offline](/forum/user/2877-dan-c)

Less More

- Posts: 43
- Thank you received: 0
-
-

15 years 4 months ago [\#19253](#19253) by [dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")  Replied by *[dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")* on topic *[Re: Problems with the Shopping Cart](/forum/3-bug-report/19213-problems-with-the-shopping-cart?start=20#19253 "I am having some issues with the cart.  &#91;image&#93;  First I added one product to the cart and proceeded to checkout.  &#91;image&#93;  Screenshot of checkout  &#91;image&#93;  After I click on the remove it takes me to this page which it tells me my cart is empty, but there is another product added to the cart. Plus the categories are gone and it added the products in place of the categories with no pics or add to cart button.")*

getting closer it seems, here's a screenshot of when i try to access order page now. Also included the file coding.

[ ![&#91;IMG](http://i51.tinypic.com/976wp0.jpg) ](http://i51.tinypic.com/976wp0.jpg "&#91;IMG")

[ ![&#91;IMG](http://i56.tinypic.com/qp2bdz.jpg) ](http://i56.tinypic.com/qp2bdz.jpg "&#91;IMG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xOTIxMy1wcm9ibGVtcy13aXRoLXRoZS1zaG9wcGluZy1jYXJ0P2xhbmc9ZW4mc3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14276
-
-

15 years 4 months ago [\#19254](#19254) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Problems with the Shopping Cart](/forum/3-bug-report/19213-problems-with-the-shopping-cart?start=20#19254 "I am having some issues with the cart.  &#91;image&#93;  First I added one product to the cart and proceeded to checkout.  &#91;image&#93;  Screenshot of checkout  &#91;image&#93;  After I click on the remove it takes me to this page which it tells me my cart is empty, but there is another product added to the cart. Plus the categories are gone and it added the products in place of the categories with no pics or add to cart button.")*

The problem comes from your first modification. You did it in the invoice function but it should be done in the form function.

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

- **[dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")**
- [![dan c.'s Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2877.jpg)](/forum/user/2877-dan-c "View dan c.'s Profile") Topic Author
- [ Offline](/forum/user/2877-dan-c)

Less More

- Posts: 43
- Thank you received: 0
-
-

15 years 4 months ago [\#19255](#19255) by [dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")  Replied by *[dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")* on topic *[Re: Problems with the Shopping Cart](/forum/3-bug-report/19213-problems-with-the-shopping-cart?start=20#19255 "I am having some issues with the cart.  &#91;image&#93;  First I added one product to the cart and proceeded to checkout.  &#91;image&#93;  Screenshot of checkout  &#91;image&#93;  After I click on the remove it takes me to this page which it tells me my cart is empty, but there is another product added to the cart. Plus the categories are gone and it added the products in place of the categories with no pics or add to cart button.")*

I'm so lost, been trying to get this figured out all night. Thanks for your patience but I'm honestly bewildered here.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xOTIxMy1wcm9ibGVtcy13aXRoLXRoZS1zaG9wcGluZy1jYXJ0P2xhbmc9ZW4mc3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14276
-
-

15 years 4 months ago [\#19265](#19265) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Problems with the Shopping Cart](/forum/3-bug-report/19213-problems-with-the-shopping-cart?start=20#19265 "I am having some issues with the cart.  &#91;image&#93;  First I added one product to the cart and proceeded to checkout.  &#91;image&#93;  Screenshot of checkout  &#91;image&#93;  After I click on the remove it takes me to this page which it tells me my cart is empty, but there is another product added to the cart. Plus the categories are gone and it added the products in place of the categories with no pics or add to cart button.")*

If you can do it, you can wait for our next release, next week, which will include the modifications, and just update to it.

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

- **[dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")**
- [![dan c.'s Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2877.jpg)](/forum/user/2877-dan-c "View dan c.'s Profile") Topic Author
- [ Offline](/forum/user/2877-dan-c)

Less More

- Posts: 43
- Thank you received: 0
-
-

15 years 4 months ago [\#19271](#19271) by [dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")  Replied by *[dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")* on topic *[Re: Problems with the Shopping Cart](/forum/3-bug-report/19213-problems-with-the-shopping-cart?start=20#19271 "I am having some issues with the cart.  &#91;image&#93;  First I added one product to the cart and proceeded to checkout.  &#91;image&#93;  Screenshot of checkout  &#91;image&#93;  After I click on the remove it takes me to this page which it tells me my cart is empty, but there is another product added to the cart. Plus the categories are gone and it added the products in place of the categories with no pics or add to cart button.")*

I guess I'm forced to wait then as much as this will upset the site/store owner. I restored the original file view.html.php (my first modification). Then tried to access the order page and still get the "Fatal error: Call to a member function display() on a non-object in /hermes/bosweb/web012/b120/ipg.dalesestateliquidati/joomla/fresh_site/administrator/templates/khepri/html/com_hikashop/order/form.php on line 185". I have tried nearly all the carts for joomla, this was the first one I actually decided to pay for the commercial version. As I mentioned before the main feature that had me buy was the allow payment after the order. First I decide to just wait it out (until a shipping plugin was added in), Then I decide to purchase to set it up like an ordering system and can't achieve that either. I really want to make this cart work as I like it more then other ones I have used. I'm just really aggravated right now with how difficult this task has become. Thanks for your help, have a great day God Bless.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xOTIxMy1wcm9ibGVtcy13aXRoLXRoZS1zaG9wcGluZy1jYXJ0P2xhbmc9ZW4mc3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14276
-
-

15 years 4 months ago [\#19274](#19274) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Problems with the Shopping Cart](/forum/3-bug-report/19213-problems-with-the-shopping-cart?start=20#19274 "I am having some issues with the cart.  &#91;image&#93;  First I added one product to the cart and proceeded to checkout.  &#91;image&#93;  Screenshot of checkout  &#91;image&#93;  After I click on the remove it takes me to this page which it tells me my cart is empty, but there is another product added to the cart. Plus the categories are gone and it added the products in place of the categories with no pics or add to cart button.")*

I told you how to do. You should just do the modification I explained on that post:
[ www.hikashop.com/support/forum/3-bug-rep...t.html?lang=en#19226](http://www.hikashop.com/support/forum/3-bug-report/19213-problems-with-the-shopping-cart.html?lang=en#19226)
The only thing is that you did the modification once in the file where the same code is several times in the file. So you should do it for all the occurrences (mainly in the function form where you did it only for the function invoice) and that will work.

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

- **[dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")**
- [![dan c.'s Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2877.jpg)](/forum/user/2877-dan-c "View dan c.'s Profile") Topic Author
- [ Offline](/forum/user/2877-dan-c)

Less More

- Posts: 43
- Thank you received: 0
-
-

15 years 4 months ago [\#19280](#19280) by [dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")  Replied by *[dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")* on topic *[Re: Problems with the Shopping Cart](/forum/3-bug-report/19213-problems-with-the-shopping-cart?start=20#19280 "I am having some issues with the cart.  &#91;image&#93;  First I added one product to the cart and proceeded to checkout.  &#91;image&#93;  Screenshot of checkout  &#91;image&#93;  After I click on the remove it takes me to this page which it tells me my cart is empty, but there is another product added to the cart. Plus the categories are gone and it added the products in place of the categories with no pics or add to cart button.")*

**nicolas wrote:**

> I told you how to do. You should just do the modification I explained on that post:
> [ www.hikashop.com/support/forum/3-bug-rep...t.html?lang=en#19226](http://www.hikashop.com/support/forum/3-bug-report/19213-problems-with-the-shopping-cart.html?lang=en#19226)
> The only thing is that you did the modification once in the file where the same code is several times in the file. So you should do it for all the occurrences (mainly in the function form where you did it only for the function invoice) and that will work.

I found out what I did wrong, there was two instances of:
if(!empty($order-&gt;order_payment_id)){
$pluginsPayment = hikashop::get('type.plugins');
$pluginsPayment-&gt;type='payment';
$this-&gt;assignRef('payment',$pluginsPayment);

I found the other one I didn't change, now the payment method is showing up. Thanks for all your help Nicolas, it is greatly appreciated!

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

- **[dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")**
- [![dan c.'s Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2877.jpg)](/forum/user/2877-dan-c "View dan c.'s Profile") Topic Author
- [ Offline](/forum/user/2877-dan-c)

Less More

- Posts: 43
- Thank you received: 0
-
-

15 years 1 month ago [\#25257](#25257) by [dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")  Replied by *[dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")* on topic *[Re: Problems with the Shopping Cart](/forum/3-bug-report/19213-problems-with-the-shopping-cart?start=20#25257 "I am having some issues with the cart.  &#91;image&#93;  First I added one product to the cart and proceeded to checkout.  &#91;image&#93;  Screenshot of checkout  &#91;image&#93;  After I click on the remove it takes me to this page which it tells me my cart is empty, but there is another product added to the cart. Plus the categories are gone and it added the products in place of the categories with no pics or add to cart button.")*

Hi Nicolas,

I am in need of a bit of assistance, after updating to the newest version of Hikashop I can't seem to set it up like I had it. I removed payments from the checkout workflow, set the option in the config to "No" for Auto select default shipping and payment methods. Also set the config to "yes" for Payment of orders not paid immediately. However when I checkout it still redirects to PayPal (Only payment method client wants to use). I want to make them wait to checkout until we have double checked that the item(s) is still in our possession then apply the shipping charges and change the status of the order to payment pending. After they receive the updated invoice then they will be able to complete the transaction by going to there order(s) page and using the pay now button. That is how I had it setup before, can't figure out how to block it from redirecting them to PayPal immediately after placing their order(s).

Thank you for all your help.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xOTIxMy1wcm9ibGVtcy13aXRoLXRoZS1zaG9wcGluZy1jYXJ0P2xhbmc9ZW4mc3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14276
-
-

15 years 1 month ago [\#25262](#25262) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Problems with the Shopping Cart](/forum/3-bug-report/19213-problems-with-the-shopping-cart?start=20#25262 "I am having some issues with the cart.  &#91;image&#93;  First I added one product to the cart and proceeded to checkout.  &#91;image&#93;  Screenshot of checkout  &#91;image&#93;  After I click on the remove it takes me to this page which it tells me my cart is empty, but there is another product added to the cart. Plus the categories are gone and it added the products in place of the categories with no pics or add to cart button.")*

Hi,

You need to remove the payment view from the checkout workflow option of the checkout tab of the config.
If you are still redirected at the end of the checkout, it means that you still have the payment view in the checkout workflow option. That's the only possibility.

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

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

[](#top)
