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

#   Changes in cart "cart is empty"

##

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

Less More

- Posts: 23
- Thank you received: 0
-
-

13 years 3 months ago [\#113242](#113242) by [Carey](/forum/user/11933-carey "View Carey's Profile")  *[Changes in cart "cart is empty"](/forum/3-bug-report/85099-changes-in-cart-cart-is-empty#113242 "Hello, I just recently noticed a problem in our cart. When a products quantity is changed in the cart, or an item is deleted but there are still other products in the cart, I get the &quot;Cart is Empty&quot; message. The remaining products stay in the cart and when I click on the checkout button, the cart has been updated correctly. Everything updates correctly except getting a blank page with the &quot;cart is empty&quot;, message after making a change.  Thank you for any help.   www.prm-atv.com")* was created by *[Carey](/forum/user/11933-carey "View Carey's Profile")*

Hello,
I just recently noticed a problem in our cart. When a products quantity is changed in the cart, or an item is deleted but there are still other products in the cart, I get the "Cart is Empty" message. The remaining products stay in the cart and when I click on the checkout button, the cart has been updated correctly. Everything updates correctly except getting a blank page with the "cart is empty", message after making a change.

Thank you for any help.
[ www.prm-atv.com](http://www.prm-atv.com)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NTA5OS1jaGFuZ2VzLWluLWNhcnQtY2FydC1pcy1lbXB0eT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14279
-
-

13 years 3 months ago [\#113336](#113336) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Changes in cart "cart is empty"](/forum/3-bug-report/85099-changes-in-cart-cart-is-empty#113336 "Hello, I just recently noticed a problem in our cart. When a products quantity is changed in the cart, or an item is deleted but there are still other products in the cart, I get the &quot;Cart is Empty&quot; message. The remaining products stay in the cart and when I click on the checkout button, the cart has been updated correctly. Everything updates correctly except getting a blank page with the &quot;cart is empty&quot;, message after making a change.  Thank you for any help.   www.prm-atv.com")*

Hi,

I would recommend you to update HikaShop to the latest version as I can see that you have an old version.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NTA5OS1jaGFuZ2VzLWluLWNhcnQtY2FydC1pcy1lbXB0eT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 23
- Thank you received: 0
-
-

13 years 3 months ago [\#113421](#113421) by [Carey](/forum/user/11933-carey "View Carey's Profile")  Replied by *[Carey](/forum/user/11933-carey "View Carey's Profile")* on topic *[Changes in cart "cart is empty"](/forum/3-bug-report/85099-changes-in-cart-cart-is-empty#113421 "Hello, I just recently noticed a problem in our cart. When a products quantity is changed in the cart, or an item is deleted but there are still other products in the cart, I get the &quot;Cart is Empty&quot; message. The remaining products stay in the cart and when I click on the checkout button, the cart has been updated correctly. Everything updates correctly except getting a blank page with the &quot;cart is empty&quot;, message after making a change.  Thank you for any help.   www.prm-atv.com")*

Thank you very much for that. I am always reluctant on updates, as it sometimes cures some issues but creates others. The update did fix my cart problem, thank you again. But now on my order confirmation email I need the shipping method &amp; service to show, for example "UPS Ground", "UPS 2-Day Air", or "USPS International" . I have used the code from this forum post in the past and worked well,( [ www.hikashop.com/en/forum/4-how-to/42647...d-name-on-email.html](http://www.hikashop.com/en/forum/4-how-to/42647-show-shipping-method-name-on-email.html) )but now I only get "UPS" but not the service.

Here is the code I have inserted into the emails

&lt;?php $shippingClass = hikashop_get('class.shipping');
$shipping = $shippingClass-&gt;get($data-&gt;order_shipping_id);
$shipping-&gt;shipping_params = unserialize($shipping-&gt;shipping_params);
echo 'Shipping method: '. $shipping-&gt;shipping_name; ?&gt;

Thank You

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NTA5OS1jaGFuZ2VzLWluLWNhcnQtY2FydC1pcy1lbXB0eT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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)
-

13 years 3 months ago [\#113531](#113531) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Changes in cart "cart is empty"](/forum/3-bug-report/85099-changes-in-cart-cart-is-empty#113531 "Hello, I just recently noticed a problem in our cart. When a products quantity is changed in the cart, or an item is deleted but there are still other products in the cart, I get the &quot;Cart is Empty&quot; message. The remaining products stay in the cart and when I click on the checkout button, the cart has been updated correctly. Everything updates correctly except getting a blank page with the &quot;cart is empty&quot;, message after making a change.  Thank you for any help.   www.prm-atv.com")*

Hi,

Thanks to try:
&lt;?php var_dump($shipping); ?&gt;
To see what the object contain, and you should find the variable needed inside the object, the variable displaying the service.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NTA5OS1jaGFuZ2VzLWluLWNhcnQtY2FydC1pcy1lbXB0eT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 23
- Thank you received: 0
-
-

13 years 3 months ago [\#113965](#113965) by [Carey](/forum/user/11933-carey "View Carey's Profile")  Replied by *[Carey](/forum/user/11933-carey "View Carey's Profile")* on topic *[Changes in cart "cart is empty"](/forum/3-bug-report/85099-changes-in-cart-cart-is-empty#113965 "Hello, I just recently noticed a problem in our cart. When a products quantity is changed in the cart, or an item is deleted but there are still other products in the cart, I get the &quot;Cart is Empty&quot; message. The remaining products stay in the cart and when I click on the checkout button, the cart has been updated correctly. Everything updates correctly except getting a blank page with the &quot;cart is empty&quot;, message after making a change.  Thank you for any help.   www.prm-atv.com")*

Hi,
Either I did not insert that in the correct spot, or it does not work. I notice that now when I go to my orders in hikashop, it no longer shows the shipping service there either. I now have no way of knowing what service my customers chose when they placed their orders.

Please help!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NTA5OS1jaGFuZ2VzLWluLWNhcnQtY2FydC1pcy1lbXB0eT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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)
-

13 years 3 months ago [\#114040](#114040) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Changes in cart "cart is empty"](/forum/3-bug-report/85099-changes-in-cart-cart-is-empty#114040 "Hello, I just recently noticed a problem in our cart. When a products quantity is changed in the cart, or an item is deleted but there are still other products in the cart, I get the &quot;Cart is Empty&quot; message. The remaining products stay in the cart and when I click on the checkout button, the cart has been updated correctly. Everything updates correctly except getting a blank page with the &quot;cart is empty&quot;, message after making a change.  Thank you for any help.   www.prm-atv.com")*

Hi,

The code to use is: Code:

&lt;?php $shippingClass = hikashop_get('class.shipping'); $shipping = $shippingClass-&gt;get($data-&gt;order_shipping_id); $shipping-&gt;shipping_params = unserialize($shipping-&gt;shipping_params); var_dump($shipping); ?&gt;

In the orders (backend) the shipping method used is displayed in the "additional informations".

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NTA5OS1jaGFuZ2VzLWluLWNhcnQtY2FydC1pcy1lbXB0eT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 23
- Thank you received: 0
-
-

13 years 3 months ago [\#114202](#114202) by [Carey](/forum/user/11933-carey "View Carey's Profile")  Replied by *[Carey](/forum/user/11933-carey "View Carey's Profile")* on topic *[Changes in cart "cart is empty"](/forum/3-bug-report/85099-changes-in-cart-cart-is-empty#114202 "Hello, I just recently noticed a problem in our cart. When a products quantity is changed in the cart, or an item is deleted but there are still other products in the cart, I get the &quot;Cart is Empty&quot; message. The remaining products stay in the cart and when I click on the checkout button, the cart has been updated correctly. Everything updates correctly except getting a blank page with the &quot;cart is empty&quot;, message after making a change.  Thank you for any help.   www.prm-atv.com")*

Hi again,
That code did not work either. I am thinking that the code for the email is not the problem. In the backend, my invoice last week before the update showed the shipping service(see screen shot)
[ ![Invoice&#95;with&#95;shipping.jpg](/forum/attachment/11162) ](/forum/attachment/11162 "...h&#95;shipping.jpg")

, now it does not say anything(see screenshot).
[ ![Invoice&#95;without&#95;shipping.jpg](/forum/attachment/11163) ](/forum/attachment/11163 "...t&#95;shipping.jpg")

If I click the edit icon in the "additional information", and click the shipping dropdown, it now has a UPS1 which is selected(see screen shot)
[ ![Shipping&#95;after&#95;update.jpg](/forum/attachment/11164) ](/forum/attachment/11164 "...ter&#95;update.jpg")

no matter which shipping method is selected. Before the update, it would show the correct shipping method, and ups1 was not even an option(see screen shot)
[ ![Shipping&#95;before&#95;update.jpg](/forum/attachment/11165) ](/forum/attachment/11165 "...ore&#95;update.jpg")

It seems to me that this may be causing the problem. Any idea what it might be? I can pm you my login info if you want to take a look.

Thanks again

- [ ![Invoice&#95;with&#95;shipping.jpg](/forum/attachment/11162) ](/forum/attachment/11162 "...h&#95;shipping.jpg") [ ](/forum/attachment/11162?download=1 "...h&#95;shipping.jpg")
- [ ![Invoice&#95;without&#95;shipping.jpg](/forum/attachment/11163) ](/forum/attachment/11163 "...t&#95;shipping.jpg") [ ](/forum/attachment/11163?download=1 "...t&#95;shipping.jpg")
- [ ![Shipping&#95;after&#95;update.jpg](/forum/attachment/11164) ](/forum/attachment/11164 "...ter&#95;update.jpg") [ ](/forum/attachment/11164?download=1 "...ter&#95;update.jpg")
- [ ![Shipping&#95;before&#95;update.jpg](/forum/attachment/11165) ](/forum/attachment/11165 "...ore&#95;update.jpg") [ ](/forum/attachment/11165?download=1 "...ore&#95;update.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NTA5OS1jaGFuZ2VzLWluLWNhcnQtY2FydC1pcy1lbXB0eT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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
-
-
-

13 years 3 months ago [\#114282](#114282) 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 *[Changes in cart "cart is empty"](/forum/3-bug-report/85099-changes-in-cart-cart-is-empty#114282 "Hello, I just recently noticed a problem in our cart. When a products quantity is changed in the cart, or an item is deleted but there are still other products in the cart, I get the &quot;Cart is Empty&quot; message. The remaining products stay in the cart and when I click on the checkout button, the cart has been updated correctly. Everything updates correctly except getting a blank page with the &quot;cart is empty&quot;, message after making a change.  Thank you for any help.   www.prm-atv.com")*

Ok, taking a look at it will maybe help us to understand from where your problem is coming so you can send me your back-end access through a **Private message** ![:)](/media/kunena/emoticons/3.png ":)").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NTA5OS1jaGFuZ2VzLWluLWNhcnQtY2FydC1pcy1lbXB0eT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 23
- Thank you received: 0
-
-

13 years 3 months ago [\#116316](#116316) by [Carey](/forum/user/11933-carey "View Carey's Profile")  Replied by *[Carey](/forum/user/11933-carey "View Carey's Profile")* on topic *[Changes in cart "cart is empty"](/forum/3-bug-report/85099-changes-in-cart-cart-is-empty#116316 "Hello, I just recently noticed a problem in our cart. When a products quantity is changed in the cart, or an item is deleted but there are still other products in the cart, I get the &quot;Cart is Empty&quot; message. The remaining products stay in the cart and when I click on the checkout button, the cart has been updated correctly. Everything updates correctly except getting a blank page with the &quot;cart is empty&quot;, message after making a change.  Thank you for any help.   www.prm-atv.com")*

I have pm'ed you my login. I wiil need your ip address to allow access to the server due to a security breach.

I have also just realized another error since the update, and will just need to know what code to change on the order creation notification email. If the shipping address, and billing address are different, the order creation email shows both addresses as the billing address, but our "administrator email" comes through with the different address's.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NTA5OS1jaGFuZ2VzLWluLWNhcnQtY2FydC1pcy1lbXB0eT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14279
-
-

13 years 3 months ago [\#116488](#116488) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Changes in cart "cart is empty"](/forum/3-bug-report/85099-changes-in-cart-cart-is-empty#116488 "Hello, I just recently noticed a problem in our cart. When a products quantity is changed in the cart, or an item is deleted but there are still other products in the cart, I get the &quot;Cart is Empty&quot; message. The remaining products stay in the cart and when I click on the checkout button, the cart has been updated correctly. Everything updates correctly except getting a blank page with the &quot;cart is empty&quot;, message after making a change.  Thank you for any help.   www.prm-atv.com")*

Hi,

We tried to access your administrator area at [ www.prm-atv.com/administrator](http://www.prm-atv.com/administrator) but we have the error:
Forbidden
You don't have permission to access /administrator on this server.

I believe Mohamed already gave you our IP which is:

Part of the message is hidden for the guests. Please log in or register to see it.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NTA5OS1jaGFuZ2VzLWluLWNhcnQtY2FydC1pcy1lbXB0eT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 23
- Thank you received: 0
-
-

13 years 3 months ago [\#116500](#116500) by [Carey](/forum/user/11933-carey "View Carey's Profile")  Replied by *[Carey](/forum/user/11933-carey "View Carey's Profile")* on topic *[Changes in cart "cart is empty"](/forum/3-bug-report/85099-changes-in-cart-cart-is-empty#116500 "Hello, I just recently noticed a problem in our cart. When a products quantity is changed in the cart, or an item is deleted but there are still other products in the cart, I get the &quot;Cart is Empty&quot; message. The remaining products stay in the cart and when I click on the checkout button, the cart has been updated correctly. Everything updates correctly except getting a blank page with the &quot;cart is empty&quot;, message after making a change.  Thank you for any help.   www.prm-atv.com")*

Your ip should now be added. Thank you for looking into this for me!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NTA5OS1jaGFuZ2VzLWluLWNhcnQtY2FydC1pcy1lbXB0eT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14279
-
-

13 years 3 months ago -  13 years 3 months ago [\#116782](#116782) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Changes in cart "cart is empty"](/forum/3-bug-report/85099-changes-in-cart-cart-is-empty#116782 "Hello, I just recently noticed a problem in our cart. When a products quantity is changed in the cart, or an item is deleted but there are still other products in the cart, I get the &quot;Cart is Empty&quot; message. The remaining products stay in the cart and when I click on the checkout button, the cart has been updated correctly. Everything updates correctly except getting a blank page with the &quot;cart is empty&quot;, message after making a change.  Thank you for any help.   www.prm-atv.com")*

Thanks, I was able to login now and check your settings and the issue.
Please download again the installation package on our website and install it on yours and that should fix that problem.

Last edit: 13 years 3 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NTA5OS1jaGFuZ2VzLWluLWNhcnQtY2FydC1pcy1lbXB0eT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 23
- Thank you received: 0
-
-

13 years 3 months ago [\#116838](#116838) by [Carey](/forum/user/11933-carey "View Carey's Profile")  Replied by *[Carey](/forum/user/11933-carey "View Carey's Profile")* on topic *[Changes in cart "cart is empty"](/forum/3-bug-report/85099-changes-in-cart-cart-is-empty#116838 "Hello, I just recently noticed a problem in our cart. When a products quantity is changed in the cart, or an item is deleted but there are still other products in the cart, I get the &quot;Cart is Empty&quot; message. The remaining products stay in the cart and when I click on the checkout button, the cart has been updated correctly. Everything updates correctly except getting a blank page with the &quot;cart is empty&quot;, message after making a change.  Thank you for any help.   www.prm-atv.com")*

Hi,
I was hopeful, but don't see any difference with either issue.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NTA5OS1jaGFuZ2VzLWluLWNhcnQtY2FydC1pcy1lbXB0eT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14279
-
-

13 years 3 months ago [\#116843](#116843) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Changes in cart "cart is empty"](/forum/3-bug-report/85099-changes-in-cart-cart-is-empty#116843 "Hello, I just recently noticed a problem in our cart. When a products quantity is changed in the cart, or an item is deleted but there are still other products in the cart, I get the &quot;Cart is Empty&quot; message. The remaining products stay in the cart and when I click on the checkout button, the cart has been updated correctly. Everything updates correctly except getting a blank page with the &quot;cart is empty&quot;, message after making a change.  Thank you for any help.   www.prm-atv.com")*

Please note that you will only see the difference for new orders.

I cannot check your website at the moment as I'm not at the office until tomorrow.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NTA5OS1jaGFuZ2VzLWluLWNhcnQtY2FydC1pcy1lbXB0eT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 23
- Thank you received: 0
-
-

13 years 3 months ago [\#116867](#116867) by [Carey](/forum/user/11933-carey "View Carey's Profile")  Replied by *[Carey](/forum/user/11933-carey "View Carey's Profile")* on topic *[Changes in cart "cart is empty"](/forum/3-bug-report/85099-changes-in-cart-cart-is-empty#116867 "Hello, I just recently noticed a problem in our cart. When a products quantity is changed in the cart, or an item is deleted but there are still other products in the cart, I get the &quot;Cart is Empty&quot; message. The remaining products stay in the cart and when I click on the checkout button, the cart has been updated correctly. Everything updates correctly except getting a blank page with the &quot;cart is empty&quot;, message after making a change.  Thank you for any help.   www.prm-atv.com")*

Thank you for the response. I thought that might be the case, so I did run a test order before replying. I also downloaded the Hikashop again, and installed it one more time to be sure, but I don't notice any difference.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NTA5OS1jaGFuZ2VzLWluLWNhcnQtY2FydC1pcy1lbXB0eT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14279
-
-

13 years 3 months ago [\#117065](#117065) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Changes in cart "cart is empty"](/forum/3-bug-report/85099-changes-in-cart-cart-is-empty#117065 "Hello, I just recently noticed a problem in our cart. When a products quantity is changed in the cart, or an item is deleted but there are still other products in the cart, I get the &quot;Cart is Empty&quot; message. The remaining products stay in the cart and when I click on the checkout button, the cart has been updated correctly. Everything updates correctly except getting a blank page with the &quot;cart is empty&quot;, message after making a change.  Thank you for any help.   www.prm-atv.com")*

I was able to reproduce the issue on our end by looking deeper at the issue and did a fix in HikaShop to properly handle the display of the shipping methods name everywhere.

Please download again the installation package on our website and install it on yours and that will fix that problem for good.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NTA5OS1jaGFuZ2VzLWluLWNhcnQtY2FydC1pcy1lbXB0eT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 23
- Thank you received: 0
-
-

13 years 2 months ago [\#117361](#117361) by [Carey](/forum/user/11933-carey "View Carey's Profile")  Replied by *[Carey](/forum/user/11933-carey "View Carey's Profile")* on topic *[Changes in cart "cart is empty"](/forum/3-bug-report/85099-changes-in-cart-cart-is-empty#117361 "Hello, I just recently noticed a problem in our cart. When a products quantity is changed in the cart, or an item is deleted but there are still other products in the cart, I get the &quot;Cart is Empty&quot; message. The remaining products stay in the cart and when I click on the checkout button, the cart has been updated correctly. Everything updates correctly except getting a blank page with the &quot;cart is empty&quot;, message after making a change.  Thank you for any help.   www.prm-atv.com")*

Okay, thanks Nicolas! That did work to solve it in my back end. I am now able to see what the order shipping method service was. Although it will still not display in my "order creation notification" email. I see in the backend it now shows "UPS-UPS Ground". I have tried the initial code i had been using;

&lt;?php $shippingClass = hikashop_get('class.shipping');
$shipping = $shippingClass-&gt;get($data-&gt;order_shipping_id);
$shipping-&gt;shipping_params = unserialize($shipping-&gt;shipping_params);
echo 'Shipping method: '. $shipping-&gt;shipping_name; ?&gt;

and I get just "UPS" no matter shipping service is chosen, like it is ony registering the first part of the shipping method but not the service.

[ ![hf7c98d8.jpg](/forum/attachment/11558) ](/forum/attachment/11558 "hf7c98d8.jpg")

I have also tried the code above that Xavier suggested, but got something really wild;

[ ![h8741373.jpg](/forum/attachment/11559) ](/forum/attachment/11559 "h8741373.jpg")

I have also tried this code I found in another thread;
&lt;?php echo 'Shipping Method: '.$data-&gt;order_shipping_id; ?&gt;

and get "Shipping Method: 1-7" for UPS 3-Day Select, and "Shipping Method: 1-3" for UPS Ground, indidcating that it is identifying the different services, but not displaying the names.

Any suggestions?

Thank You!

- [ ![hf7c98d8.jpg](/forum/attachment/11558) ](/forum/attachment/11558 "hf7c98d8.jpg") [ ](/forum/attachment/11558?download=1 "hf7c98d8.jpg")
- [ ![h8741373.jpg](/forum/attachment/11559) ](/forum/attachment/11559 "h8741373.jpg") [ ](/forum/attachment/11559?download=1 "h8741373.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NTA5OS1jaGFuZ2VzLWluLWNhcnQtY2FydC1pcy1lbXB0eT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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)
-

13 years 2 months ago [\#117537](#117537) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Changes in cart "cart is empty"](/forum/3-bug-report/85099-changes-in-cart-cart-is-empty#117537 "Hello, I just recently noticed a problem in our cart. When a products quantity is changed in the cart, or an item is deleted but there are still other products in the cart, I get the &quot;Cart is Empty&quot; message. The remaining products stay in the cart and when I click on the checkout button, the cart has been updated correctly. Everything updates correctly except getting a blank page with the &quot;cart is empty&quot;, message after making a change.  Thank you for any help.   www.prm-atv.com")*

Hi,

The code used for the backend is: Code:

$shipping_name = $shipping_method . ' ' . $shipping_id; if(strpos($shipping_id, '-') !== false) { $shipping_ids = explode('-', $shipping_id, 2); $shipping = $this-&gt;shippingClass-&gt;get($shipping_ids[0]); if(!empty($shipping-&gt;shipping_params) &amp;&amp; is_string($shipping-&gt;shipping_params)) $shipping-&gt;shipping_params = unserialize($shipping-&gt;shipping_params); $shippingMethod = hikashop_import('hikashopshipping', $shipping_method); $methods = $shippingMethod-&gt;shippingMethods($shipping); $shipping_name = $shipping-&gt;shipping_name.' - '.$methods[$shipping_id]; } return $shipping_name;

So will some adjustments I think that we can display the same values in the email. Code:

$shippingClass = hikashop_get('class.shipping'); $shipping = $shippingClass-&gt;get($data-&gt;order_shipping_id); $shipping-&gt;shipping_params = unserialize($shipping-&gt;shipping_params); if(!empty($shipping-&gt;shipping_params) &amp;&amp; is_string($shipping-&gt;shipping_params)) $shipping-&gt;shipping_params = unserialize($shipping-&gt;shipping_params); $shippingMethod = hikashop_import('hikashopshipping', $shipping_method); $methods = $shippingMethod-&gt;shippingMethods($shipping); $shipping_name = $shipping-&gt;shipping_name.' - '.$methods[$shipping_id]; echo $shipping_name;

PS: I don't tested that code.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NTA5OS1jaGFuZ2VzLWluLWNhcnQtY2FydC1pcy1lbXB0eT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 23
- Thank you received: 0
-
-

13 years 2 months ago [\#118891](#118891) by [Carey](/forum/user/11933-carey "View Carey's Profile")  Replied by *[Carey](/forum/user/11933-carey "View Carey's Profile")* on topic *[Changes in cart "cart is empty"](/forum/3-bug-report/85099-changes-in-cart-cart-is-empty#118891 "Hello, I just recently noticed a problem in our cart. When a products quantity is changed in the cart, or an item is deleted but there are still other products in the cart, I get the &quot;Cart is Empty&quot; message. The remaining products stay in the cart and when I click on the checkout button, the cart has been updated correctly. Everything updates correctly except getting a blank page with the &quot;cart is empty&quot;, message after making a change.  Thank you for any help.   www.prm-atv.com")*

That code did not work for me, but I have managed to get something else to work.

I have now discovered a couple other issues. These are both new

Issue #1 - In my payment methods, I have chosen a return url to a page I have created called "Order Completed". The orders have always returned the customer to the correct page upon an order created status. Now they are sent to a page that just says "Thank you for your purchase". I have not found any way to fix this.

Issue # 2 - When an option is added to the cart, and the order is placed, it shows on the order created confirmation and admin emails, as well as the back end order. But when the Paypal payment method is chosen, and you are redirected to Paypal, the option is not included, and the customer is not charged for the option

Please take a look for me.

Thank You!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NTA5OS1jaGFuZ2VzLWluLWNhcnQtY2FydC1pcy1lbXB0eT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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)
-

13 years 2 months ago [\#118990](#118990) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Changes in cart "cart is empty"](/forum/3-bug-report/85099-changes-in-cart-cart-is-empty#118990 "Hello, I just recently noticed a problem in our cart. When a products quantity is changed in the cart, or an item is deleted but there are still other products in the cart, I get the &quot;Cart is Empty&quot; message. The remaining products stay in the cart and when I click on the checkout button, the cart has been updated correctly. Everything updates correctly except getting a blank page with the &quot;cart is empty&quot;, message after making a change.  Thank you for any help.   www.prm-atv.com")*

Hi,

You can add this function in the view Code:

function getShippingName($shipping_method, $shipping_id) { $shipping_name = $shipping_method . ' ' . $shipping_id; if(strpos($shipping_id, '-') !== false) { $shipping_ids = explode('-', $shipping_id, 2); $shipping = $this-&gt;shippingClass-&gt;get($shipping_ids[0]); if(!empty($shipping-&gt;shipping_params) &amp;&amp; is_string($shipping-&gt;shipping_params)) $shipping-&gt;shipping_params = unserialize($shipping-&gt;shipping_params); $shippingMethod = hikashop_import('hikashopshipping', $shipping_method); $methods = $shippingMethod-&gt;shippingMethods($shipping); $shipping_name = $shipping-&gt;shipping_name.' - '.$methods[$shipping_id]; } return $shipping_name; }

After that you can use the code Code:

$shipping_name = getShippingName($data-&gt;order_shipping_method,$data-&gt;order_shipping_id);

to retrieve the complete name of the shipping method.

Please create other thread for your other problem. It will be easier for us to help you.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NTA5OS1jaGFuZ2VzLWluLWNhcnQtY2FydC1pcy1lbXB0eT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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.112 seconds

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

[](#top)
