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

#   Problems with the Shopping Cart

##

- **[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 -  15 years 4 months ago [\#19213](#19213) by [dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")  *[Problems with the Shopping Cart](/forum/3-bug-report/19213-problems-with-the-shopping-cart#19213 "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.")* was created by *[dan c.](/forum/user/2877-dan-c "View dan c.'s Profile")*

I am having some issues with the cart.

[ ![&#91;IMG](http://i55.tinypic.com/2v16lnr.jpg) ](http://i55.tinypic.com/2v16lnr.jpg "&#91;IMG")

First I added one product to the cart and proceeded to checkout.

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

Screenshot of checkout

[ ![&#91;IMG](http://i54.tinypic.com/9jhfsn.jpg) ](http://i54.tinypic.com/9jhfsn.jpg "&#91;IMG")

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.

- [ ![before&#95;emptying&#95;cart.jpg](/forum/attachment/1311) ](/forum/attachment/1311 "...tying&#95;cart.jpg") [ ](/forum/attachment/1311?download=1 "...tying&#95;cart.jpg")

Last edit: 15 years 4 months ago by [dan c.](/forum/user/2877-dan-c "View dan c.'s Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xOTIxMy1wcm9ibGVtcy13aXRoLXRoZS1zaG9wcGluZy1jYXJ0P2xhbmc9ZW4mc3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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 [\#19215](#19215) 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#19215 "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.")*

That's not a bug.
HikaShop keeps a list of your carts until you check them out, or that you delete them or that they expire.
Since you had another cart saved for your account, the system automatically loaded the next cart once you emptied your cart. You can change that by reducing the cart retaining period in the configuration.

For the fact that you're not redirected where you want, that's because you need to configure it by entering the URL you would like in the "URL where to redirect when the cart is empty" option of the checkout tab of the configuration.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xOTIxMy1wcm9ibGVtcy13aXRoLXRoZS1zaG9wcGluZy1jYXJ0P2xhbmc9ZW4mc3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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 [\#19218](#19218) 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#19218 "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:**

> That's not a bug.
> HikaShop keeps a list of your carts until you check them out, or that you delete them or that they expire.
> Since you had another cart saved for your account, the system automatically loaded the next cart once you emptied your cart. You can change that by reducing the cart retaining period in the configuration.
>
> For the fact that you're not redirected where you want, that's because you need to configure it by entering the URL you would like in the "URL where to redirect when the cart is empty" option of the checkout tab of the configuration.

I see said the blind mice ![:)](/media/kunena/emoticons/8.png ":)") very easy fix...thanks for the help, it is greatly appreciated! ![:)](/media/kunena/emoticons/8.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xOTIxMy1wcm9ibGVtcy13aXRoLXRoZS1zaG9wcGluZy1jYXJ0P2xhbmc9ZW4mc3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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 [\#19219](#19219) 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#19219 "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.")*

One more question, I have removed the payment from the checkout workflow. It no longer sends customer to the paypal redirect, after placing the order i go the orders page. I see the pay with button, when I click on it I get "The payment method could not be found." So my question is how can I add the option for paypal without sending the customer to paypal directly after order?

[ ![&#91;IMG](http://i55.tinypic.com/2qtl347.jpg) ](http://i55.tinypic.com/2qtl347.jpg "&#91;IMG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xOTIxMy1wcm9ibGVtcy13aXRoLXRoZS1zaG9wcGluZy1jYXJ0P2xhbmc9ZW4mc3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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 [\#19220](#19220) 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#19220 "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 need to edit your order and set the payment method in the back end.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xOTIxMy1wcm9ibGVtcy13aXRoLXRoZS1zaG9wcGluZy1jYXJ0P2xhbmc9ZW4mc3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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 -  15 years 4 months ago [\#19221](#19221) 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#19221 "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:**

> You need to edit your order and set the payment method in the back end.

Sounds easy enough, I can't find in the order where to add the payment method though...I'm in the backend, on the order page. All i see is details about the order and where I can add costs for shipping and coupons.

Last edit: 15 years 4 months ago by [dan c.](/forum/user/2877-dan-c "View dan c.'s Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xOTIxMy1wcm9ibGVtcy13aXRoLXRoZS1zaG9wcGluZy1jYXJ0P2xhbmc9ZW4mc3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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 [\#19223](#19223) 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#19223 "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.")*

Don't you see the payment methods dropdown ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xOTIxMy1wcm9ibGVtcy13aXRoLXRoZS1zaG9wcGluZy1jYXJ0P2xhbmc9ZW4mc3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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 -  15 years 4 months ago [\#19224](#19224) 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#19224 "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 see payment methods under the system tab, other than that no...

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

I read this in the help section while in the backend:

> Payment method : You will see here the name of the payment method selected by the customer during the checkout process. Once you changed it, a popup will open asking you more information about why you are changing it (great for later reference). If you want to notify the customer of the change, a notification email interface will also be displayed in that popup. Note that if you removed the payment view from the workflow of the checkout process, the customer will not be prompted to select a payment method and the dropdown won't be visible.

So what do i do if want let customer place orders but not get sent to the payment gateway during checkout without removing the payment option from the checkout workflow?

Last edit: 15 years 4 months ago by [dan c.](/forum/user/2877-dan-c "View dan c.'s Profile"). Reason: added info

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xOTIxMy1wcm9ibGVtcy13aXRoLXRoZS1zaG9wcGluZy1jYXJ0P2xhbmc9ZW4mc3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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 [\#19226](#19226) 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#19226 "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.")*

Indeed you can't change the payment method if none is selected.
Please edit the file administrator/components/com_hikashop/views/order/view.html.php
and change:
if(!empty($order-&gt;order_payment_id)){
$pluginsPayment = hikashop::get('type.plugins');
$pluginsPayment-&gt;type='payment';
$this-&gt;assignRef('payment',$pluginsPayment);
}

to:
$pluginsPayment = hikashop::get('type.plugins');
$pluginsPayment-&gt;type='payment';
$this-&gt;assignRef('payment',$pluginsPayment);

And you should see the dropdown. We'll change that for next version.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xOTIxMy1wcm9ibGVtcy13aXRoLXRoZS1zaG9wcGluZy1jYXJ0P2xhbmc9ZW4mc3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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 [\#19227](#19227) 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#19227 "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:**

> Indeed you can't change the payment method if none is selected.
> Please edit the file administrator/components/com\_hikashop/views/order/view.html.php
> and change:
> if(!empty($order-&gt;order\_payment\_id)){
> $pluginsPayment = hikashop::get('type.plugins');
> $pluginsPayment-&gt;type='payment';
> $this-&gt;assignRef('payment',$pluginsPayment);
> }
>
> to:
> $pluginsPayment = hikashop::get('type.plugins');
> $pluginsPayment-&gt;type='payment';
> $this-&gt;assignRef('payment',$pluginsPayment);
>
> And you should see the dropdown. We'll change that for next version.

Great! Thanks for your continued support for my newbie questions. I will try this and return with my results, although you sounded pretty confident so I think I'm in the clear. Any who, Thank you again for your prompt replies. Take Care &amp; God Bless!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xOTIxMy1wcm9ibGVtcy13aXRoLXRoZS1zaG9wcGluZy1jYXJ0P2xhbmc9ZW4mc3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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 -  15 years 4 months ago [\#19231](#19231) 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#19231 "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 did as described above and now i get this error when trying to access the order details page in backend. "Parse error: syntax error, unexpected T_IF, expecting T_FUNCTION in /hermes/bosweb/web012/b120/ipg.dalesestateliquidati/joomla/fresh_site/administrator/components/com_hikashop/views/order/view.html.php on line 361"

I went to line 361 it had this in the line:
if(!empty($order-&gt;order_shipping_id)){

any suggestions?

found the culprit i think, i left the bracket at the end. Removed that now the order page loads up fine however the payment dropdown box still is not displayed.

Last edit: 15 years 4 months ago by [dan c.](/forum/user/2877-dan-c "View dan c.'s Profile"). Reason: update

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xOTIxMy1wcm9ibGVtcy13aXRoLXRoZS1zaG9wcGluZy1jYXJ0P2xhbmc9ZW4mc3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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 [\#19232](#19232) 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#19232 "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.")*

here's a screenshot of my attempt to replace the coding ![:)](/media/kunena/emoticons/8.png ":)")

[ ![&#91;IMG](http://i54.tinypic.com/15pj2nl.jpg) ](http://i54.tinypic.com/15pj2nl.jpg "&#91;IMG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xOTIxMy1wcm9ibGVtcy13aXRoLXRoZS1zaG9wcGluZy1jYXJ0P2xhbmc9ZW4mc3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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 [\#19233](#19233) 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#19233 "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 payment methods dropdown should display if the price is not 0 and the code change is done.
Did you have a price for your order or is it 0 ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xOTIxMy1wcm9ibGVtcy13aXRoLXRoZS1zaG9wcGluZy1jYXJ0P2xhbmc9ZW4mc3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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 [\#19234](#19234) 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#19234 "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.")*

yes it had a price of 19.95 on it.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xOTIxMy1wcm9ibGVtcy13aXRoLXRoZS1zaG9wcGluZy1jYXJ0P2xhbmc9ZW4mc3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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 [\#19235](#19235) 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#19235 "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.")*

Then edit the file form of the view order and remove the if around the payment methods dropdown code.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xOTIxMy1wcm9ibGVtcy13aXRoLXRoZS1zaG9wcGluZy1jYXJ0P2xhbmc9ZW4mc3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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 -  15 years 4 months ago [\#19236](#19236) 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#19236 "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.")*

Sorry I don't understand.

Update: here is a screenshot of the current view.html.php file in /administrator/components/com_hikashop/views/order.

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

Last edit: 15 years 4 months ago by [dan c.](/forum/user/2877-dan-c "View dan c.'s Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xOTIxMy1wcm9ibGVtcy13aXRoLXRoZS1zaG9wcGluZy1jYXJ0P2xhbmc9ZW4mc3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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 [\#19241](#19241) 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#19241 "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 talking about the file "form" of the view "order" that you can edit via the menu Display-&gt;Views.There, search for the payment method related code and remove the if condition around it.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xOTIxMy1wcm9ibGVtcy13aXRoLXRoZS1zaG9wcGluZy1jYXJ0P2xhbmc9ZW4mc3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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 [\#19245](#19245) 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#19245 "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'm talking about the file "form" of the view "order" that you can edit via the menu Display-&gt;Views.There, search for the payment method related code and remove the if condition around it.

I found where you were referring to, could you please highlight the line(s) that I should remove. I would greatly appreciate it.

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xOTIxMy1wcm9ibGVtcy13aXRoLXRoZS1zaG9wcGluZy1jYXJ0P2xhbmc9ZW4mc3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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 [\#19247](#19247) 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#19247 "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 need to change:
if(!empty($this-&gt;payment) &amp;&amp; bccomp($this-&gt;order-&gt;order_full_price,0,5)&gt;0){
by:
if(true){

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xOTIxMy1wcm9ibGVtcy13aXRoLXRoZS1zaG9wcGluZy1jYXJ0P2xhbmc9ZW4mc3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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 [\#19248](#19248) 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#19248 "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:**

> You need to change:
> if(!empty($this-&gt;payment) &amp;&amp; bccomp($this-&gt;order-&gt;order\_full\_price,0,5)&gt;0){
> by:
> if(true){

I did as instructed and now i'm getting this when i try to access the orders page. "Parse error: syntax error, unexpected '&lt;' in /administrator/templates/khepri/html/com_hikashop/order/form.php on line 178"

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

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

[](#top)
