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

#   Problem with updating a cart just the first time

##

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

Less More

- Posts: 48
- Thank you received: 0
-
-

15 years 5 months ago [\#18302](#18302) by [vasjaf](/forum/user/2368-vasjaf "View vasjaf's Profile")  *[Problem with updating a cart just the first time](/forum/2-general-talk-about-hikashop/18302-problem-with-updating-a-cart-just-the-first-time#18302 "Hello!  I have a little problem with updating the cart, just the first time a customer opens a checkout (cart) page.  The workflow is: cart&#95;coupon,login&#95;address&#95;shipping&#95;payment&#95;terms&#95;confirm&#95;fields,end  Just the first time user enter the checout page, he must press Next button twice on the first step to get to the second step.  I found out that if he enters on page &quot;www.../checkout/&quot; and he is not registered he gets the price without shipping value. When he press &quot;Next&quot;, the price updates on the cart with a shipping cost, but he is still on the same page (first step). When he press Next button the second time, he gets to next step. This happens just the first time. If he is registered already, than he gets also the price without shipping cost. But whan he press &quot;Next&quot; he goes to the next step without getting the shipping cost in the cart. In both cases if he returns to first step (where is the cart), he gets the price with shipping included.  But if he enters the first time directly to &quot;www.../checkout/step/step-0/&quot;. He gets the price with shipping cost. And when he press the &quot;Next&quot; button, he gets to the seccond page (step 2) which is &quot;www.../checkout/step/step-1/&quot;. In this example it is working fine.  I don't know how to send user directly to &quot;www.../checkout/step/step-0/&quot;. I have a code on button (Buy now) in article which send him directly to checkout: index.php?option=com&#95;hikashop&amp;ctrl=product&amp;task=updatecart&amp;quantity=1&amp;checkout=1&amp;product&#95;id=1  And I use a module mini shopping cart (mod&#95;hikashop&#95;cart) which send a user to &quot;www.../checkout/&quot;.  Thanks for you time.")* was created by *[vasjaf](/forum/user/2368-vasjaf "View vasjaf's Profile")*

Hello!

I have a little problem with updating the cart, just the first time a customer opens a checkout (cart) page.

The workflow is:
cart_coupon,login_address_shipping_payment_terms_confirm_fields,end

Just the first time user enter the checout page, he must press Next button twice on the first step to get to the second step.

I found out that if he enters on page "www.../checkout/" and he is not registered he gets the price without shipping value. When he press "Next", the price updates on the cart with a shipping cost, but he is still on the same page (first step). When he press Next button the second time, he gets to next step. This happens just the first time.
If he is registered already, than he gets also the price without shipping cost. But whan he press "Next" he goes to the next step without getting the shipping cost in the cart.
In both cases if he returns to first step (where is the cart), he gets the price with shipping included.

**But if he enters the first time directly to "www.../checkout/step/step-0/". He gets the price with shipping cost. And when he press the "Next" button, he gets to the seccond page (step 2) which is "www.../checkout/step/step-1/". In this example it is working fine.**
I don't know how to send user directly to "www.../checkout/step/step-0/".
I have a code on button (Buy now) in article which send him directly to checkout:
index.php?option=com_hikashop&amp;amp;ctrl=product&amp;amp;task=updatecart&amp;amp;quantity=1&amp;amp;checkout=1&amp;amp;product_id=1

And I use a module mini shopping cart (mod_hikashop_cart) which send a user to "www.../checkout/".

Thanks for you time.

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

Less More

- Posts: 86541
- Thank you received: 14304
-
-

15 years 5 months ago [\#18309](#18309) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Problem with updating a cart just the first time](/forum/2-general-talk-about-hikashop/18302-problem-with-updating-a-cart-just-the-first-time#18309 "Hello!  I have a little problem with updating the cart, just the first time a customer opens a checkout (cart) page.  The workflow is: cart&#95;coupon,login&#95;address&#95;shipping&#95;payment&#95;terms&#95;confirm&#95;fields,end  Just the first time user enter the checout page, he must press Next button twice on the first step to get to the second step.  I found out that if he enters on page &quot;www.../checkout/&quot; and he is not registered he gets the price without shipping value. When he press &quot;Next&quot;, the price updates on the cart with a shipping cost, but he is still on the same page (first step). When he press Next button the second time, he gets to next step. This happens just the first time. If he is registered already, than he gets also the price without shipping cost. But whan he press &quot;Next&quot; he goes to the next step without getting the shipping cost in the cart. In both cases if he returns to first step (where is the cart), he gets the price with shipping included.  But if he enters the first time directly to &quot;www.../checkout/step/step-0/&quot;. He gets the price with shipping cost. And when he press the &quot;Next&quot; button, he gets to the seccond page (step 2) which is &quot;www.../checkout/step/step-1/&quot;. In this example it is working fine.  I don't know how to send user directly to &quot;www.../checkout/step/step-0/&quot;. I have a code on button (Buy now) in article which send him directly to checkout: index.php?option=com&#95;hikashop&amp;ctrl=product&amp;task=updatecart&amp;quantity=1&amp;checkout=1&amp;product&#95;id=1  And I use a module mini shopping cart (mod&#95;hikashop&#95;cart) which send a user to &quot;www.../checkout/&quot;.  Thanks for you time.")*

Which version of HikaShop are you using?

Please also do a screenshot of the checkout tab of your configuration so that we can see what options you're using.

Finally, please make sure that the cache plugin of Joomla is deactivated.

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

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

Less More

- Posts: 48
- Thank you received: 0
-
-

15 years 5 months ago [\#18367](#18367) by [vasjaf](/forum/user/2368-vasjaf "View vasjaf's Profile")  Replied by *[vasjaf](/forum/user/2368-vasjaf "View vasjaf's Profile")* on topic *[Re: Problem with updating a cart just the first time](/forum/2-general-talk-about-hikashop/18302-problem-with-updating-a-cart-just-the-first-time#18367 "Hello!  I have a little problem with updating the cart, just the first time a customer opens a checkout (cart) page.  The workflow is: cart&#95;coupon,login&#95;address&#95;shipping&#95;payment&#95;terms&#95;confirm&#95;fields,end  Just the first time user enter the checout page, he must press Next button twice on the first step to get to the second step.  I found out that if he enters on page &quot;www.../checkout/&quot; and he is not registered he gets the price without shipping value. When he press &quot;Next&quot;, the price updates on the cart with a shipping cost, but he is still on the same page (first step). When he press Next button the second time, he gets to next step. This happens just the first time. If he is registered already, than he gets also the price without shipping cost. But whan he press &quot;Next&quot; he goes to the next step without getting the shipping cost in the cart. In both cases if he returns to first step (where is the cart), he gets the price with shipping included.  But if he enters the first time directly to &quot;www.../checkout/step/step-0/&quot;. He gets the price with shipping cost. And when he press the &quot;Next&quot; button, he gets to the seccond page (step 2) which is &quot;www.../checkout/step/step-1/&quot;. In this example it is working fine.  I don't know how to send user directly to &quot;www.../checkout/step/step-0/&quot;. I have a code on button (Buy now) in article which send him directly to checkout: index.php?option=com&#95;hikashop&amp;ctrl=product&amp;task=updatecart&amp;quantity=1&amp;checkout=1&amp;product&#95;id=1  And I use a module mini shopping cart (mod&#95;hikashop&#95;cart) which send a user to &quot;www.../checkout/&quot;.  Thanks for you time.")*

Thanks for your super-fast reply.
I have the last stable version 1.5.1.

Here is the screenshot of the checkout tab:

[ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/checkout_settings.gif) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/checkout_settings.gif "&#91;img")

The cache-system plugin of Joomla is disabled.
I tried to disable also the cache in global configuration of Joomla 1.5.23 and I cleaned the cache.
Nothing changed.

- [ ![checkout&#95;settings.gif](/forum/attachment/1241) ](/forum/attachment/1241 "...t&#95;settings.gif") [ ](/forum/attachment/1241?download=1 "...t&#95;settings.gif")

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

Less More

- Posts: 86541
- Thank you received: 14304
-
-

15 years 5 months ago [\#18422](#18422) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Problem with updating a cart just the first time](/forum/2-general-talk-about-hikashop/18302-problem-with-updating-a-cart-just-the-first-time#18422 "Hello!  I have a little problem with updating the cart, just the first time a customer opens a checkout (cart) page.  The workflow is: cart&#95;coupon,login&#95;address&#95;shipping&#95;payment&#95;terms&#95;confirm&#95;fields,end  Just the first time user enter the checout page, he must press Next button twice on the first step to get to the second step.  I found out that if he enters on page &quot;www.../checkout/&quot; and he is not registered he gets the price without shipping value. When he press &quot;Next&quot;, the price updates on the cart with a shipping cost, but he is still on the same page (first step). When he press Next button the second time, he gets to next step. This happens just the first time. If he is registered already, than he gets also the price without shipping cost. But whan he press &quot;Next&quot; he goes to the next step without getting the shipping cost in the cart. In both cases if he returns to first step (where is the cart), he gets the price with shipping included.  But if he enters the first time directly to &quot;www.../checkout/step/step-0/&quot;. He gets the price with shipping cost. And when he press the &quot;Next&quot; button, he gets to the seccond page (step 2) which is &quot;www.../checkout/step/step-1/&quot;. In this example it is working fine.  I don't know how to send user directly to &quot;www.../checkout/step/step-0/&quot;. I have a code on button (Buy now) in article which send him directly to checkout: index.php?option=com&#95;hikashop&amp;ctrl=product&amp;task=updatecart&amp;quantity=1&amp;checkout=1&amp;product&#95;id=1  And I use a module mini shopping cart (mod&#95;hikashop&#95;cart) which send a user to &quot;www.../checkout/&quot;.  Thanks for you time.")*

It seems to indeed be a problem in the way that checkout workflow is handled by HikaShop.
It's not a redirect problem but it's because that case is not handled in the workflow rules in HikaShop. We'll have to work on that to see how we can make it work...

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

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

Less More

- Posts: 48
- Thank you received: 0
-
-

15 years 5 months ago [\#18492](#18492) by [vasjaf](/forum/user/2368-vasjaf "View vasjaf's Profile")  Replied by *[vasjaf](/forum/user/2368-vasjaf "View vasjaf's Profile")* on topic *[Re: Problem with updating a cart just the first time](/forum/2-general-talk-about-hikashop/18302-problem-with-updating-a-cart-just-the-first-time#18492 "Hello!  I have a little problem with updating the cart, just the first time a customer opens a checkout (cart) page.  The workflow is: cart&#95;coupon,login&#95;address&#95;shipping&#95;payment&#95;terms&#95;confirm&#95;fields,end  Just the first time user enter the checout page, he must press Next button twice on the first step to get to the second step.  I found out that if he enters on page &quot;www.../checkout/&quot; and he is not registered he gets the price without shipping value. When he press &quot;Next&quot;, the price updates on the cart with a shipping cost, but he is still on the same page (first step). When he press Next button the second time, he gets to next step. This happens just the first time. If he is registered already, than he gets also the price without shipping cost. But whan he press &quot;Next&quot; he goes to the next step without getting the shipping cost in the cart. In both cases if he returns to first step (where is the cart), he gets the price with shipping included.  But if he enters the first time directly to &quot;www.../checkout/step/step-0/&quot;. He gets the price with shipping cost. And when he press the &quot;Next&quot; button, he gets to the seccond page (step 2) which is &quot;www.../checkout/step/step-1/&quot;. In this example it is working fine.  I don't know how to send user directly to &quot;www.../checkout/step/step-0/&quot;. I have a code on button (Buy now) in article which send him directly to checkout: index.php?option=com&#95;hikashop&amp;ctrl=product&amp;task=updatecart&amp;quantity=1&amp;checkout=1&amp;product&#95;id=1  And I use a module mini shopping cart (mod&#95;hikashop&#95;cart) which send a user to &quot;www.../checkout/&quot;.  Thanks for you time.")*

Thanks for your discovery.
Can you please warn me when you will solve the problem.

When do you think I can expect you will make this work?

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

Less More

- Posts: 86541
- Thank you received: 14304
-
-

15 years 5 months ago [\#18495](#18495) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Problem with updating a cart just the first time](/forum/2-general-talk-about-hikashop/18302-problem-with-updating-a-cart-just-the-first-time#18495 "Hello!  I have a little problem with updating the cart, just the first time a customer opens a checkout (cart) page.  The workflow is: cart&#95;coupon,login&#95;address&#95;shipping&#95;payment&#95;terms&#95;confirm&#95;fields,end  Just the first time user enter the checout page, he must press Next button twice on the first step to get to the second step.  I found out that if he enters on page &quot;www.../checkout/&quot; and he is not registered he gets the price without shipping value. When he press &quot;Next&quot;, the price updates on the cart with a shipping cost, but he is still on the same page (first step). When he press Next button the second time, he gets to next step. This happens just the first time. If he is registered already, than he gets also the price without shipping cost. But whan he press &quot;Next&quot; he goes to the next step without getting the shipping cost in the cart. In both cases if he returns to first step (where is the cart), he gets the price with shipping included.  But if he enters the first time directly to &quot;www.../checkout/step/step-0/&quot;. He gets the price with shipping cost. And when he press the &quot;Next&quot; button, he gets to the seccond page (step 2) which is &quot;www.../checkout/step/step-1/&quot;. In this example it is working fine.  I don't know how to send user directly to &quot;www.../checkout/step/step-0/&quot;. I have a code on button (Buy now) in article which send him directly to checkout: index.php?option=com&#95;hikashop&amp;ctrl=product&amp;task=updatecart&amp;quantity=1&amp;checkout=1&amp;product&#95;id=1  And I use a module mini shopping cart (mod&#95;hikashop&#95;cart) which send a user to &quot;www.../checkout/&quot;.  Thanks for you time.")*

We worked on it and came up with a solution which seems to work.
Could you try to change the code:
function before_cart(){
return true;
}

by:
function before_cart(){
$config =&amp; hikashop::config();
$auto_select_default = $config-&gt;get('auto_select_default',2);
if($auto_select_default){
$this-&gt;before_shipping(true);
$this-&gt;before_payment(true);
}
return true;
}

in the file components/com_hikashop/controllers/checkout.php and try again ?
That should initialize the payments and shippings on the cart directly, avoiding the problem in such workflow.

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

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

Less More

- Posts: 48
- Thank you received: 0
-
-

15 years 5 months ago [\#18585](#18585) by [vasjaf](/forum/user/2368-vasjaf "View vasjaf's Profile")  Replied by *[vasjaf](/forum/user/2368-vasjaf "View vasjaf's Profile")* on topic *[Re: Problem with updating a cart just the first time](/forum/2-general-talk-about-hikashop/18302-problem-with-updating-a-cart-just-the-first-time#18585 "Hello!  I have a little problem with updating the cart, just the first time a customer opens a checkout (cart) page.  The workflow is: cart&#95;coupon,login&#95;address&#95;shipping&#95;payment&#95;terms&#95;confirm&#95;fields,end  Just the first time user enter the checout page, he must press Next button twice on the first step to get to the second step.  I found out that if he enters on page &quot;www.../checkout/&quot; and he is not registered he gets the price without shipping value. When he press &quot;Next&quot;, the price updates on the cart with a shipping cost, but he is still on the same page (first step). When he press Next button the second time, he gets to next step. This happens just the first time. If he is registered already, than he gets also the price without shipping cost. But whan he press &quot;Next&quot; he goes to the next step without getting the shipping cost in the cart. In both cases if he returns to first step (where is the cart), he gets the price with shipping included.  But if he enters the first time directly to &quot;www.../checkout/step/step-0/&quot;. He gets the price with shipping cost. And when he press the &quot;Next&quot; button, he gets to the seccond page (step 2) which is &quot;www.../checkout/step/step-1/&quot;. In this example it is working fine.  I don't know how to send user directly to &quot;www.../checkout/step/step-0/&quot;. I have a code on button (Buy now) in article which send him directly to checkout: index.php?option=com&#95;hikashop&amp;ctrl=product&amp;task=updatecart&amp;quantity=1&amp;checkout=1&amp;product&#95;id=1  And I use a module mini shopping cart (mod&#95;hikashop&#95;cart) which send a user to &quot;www.../checkout/&quot;.  Thanks for you time.")*

Nicolas, you are incredible!
I didn't expect you will solve the problem so fast.
It works fine now.

Do I need to manualy change again the code when I will update to next version?
And what about the code in Display tab, it stays unchanged whan I update to the next version?

Thank you very much.

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

Less More

- Posts: 86541
- Thank you received: 14304
-
-

15 years 5 months ago [\#18597](#18597) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Problem with updating a cart just the first time](/forum/2-general-talk-about-hikashop/18302-problem-with-updating-a-cart-just-the-first-time#18597 "Hello!  I have a little problem with updating the cart, just the first time a customer opens a checkout (cart) page.  The workflow is: cart&#95;coupon,login&#95;address&#95;shipping&#95;payment&#95;terms&#95;confirm&#95;fields,end  Just the first time user enter the checout page, he must press Next button twice on the first step to get to the second step.  I found out that if he enters on page &quot;www.../checkout/&quot; and he is not registered he gets the price without shipping value. When he press &quot;Next&quot;, the price updates on the cart with a shipping cost, but he is still on the same page (first step). When he press Next button the second time, he gets to next step. This happens just the first time. If he is registered already, than he gets also the price without shipping cost. But whan he press &quot;Next&quot; he goes to the next step without getting the shipping cost in the cart. In both cases if he returns to first step (where is the cart), he gets the price with shipping included.  But if he enters the first time directly to &quot;www.../checkout/step/step-0/&quot;. He gets the price with shipping cost. And when he press the &quot;Next&quot; button, he gets to the seccond page (step 2) which is &quot;www.../checkout/step/step-1/&quot;. In this example it is working fine.  I don't know how to send user directly to &quot;www.../checkout/step/step-0/&quot;. I have a code on button (Buy now) in article which send him directly to checkout: index.php?option=com&#95;hikashop&amp;ctrl=product&amp;task=updatecart&amp;quantity=1&amp;checkout=1&amp;product&#95;id=1  And I use a module mini shopping cart (mod&#95;hikashop&#95;cart) which send a user to &quot;www.../checkout/&quot;.  Thanks for you time.")*

We will include that code in the next version so you don't have to do anything.

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

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

Less More

- Posts: 48
- Thank you received: 0
-
-

15 years 4 months ago [\#18803](#18803) by [vasjaf](/forum/user/2368-vasjaf "View vasjaf's Profile")  Replied by *[vasjaf](/forum/user/2368-vasjaf "View vasjaf's Profile")* on topic *[Re: Problem with updating a cart just the first time](/forum/2-general-talk-about-hikashop/18302-problem-with-updating-a-cart-just-the-first-time#18803 "Hello!  I have a little problem with updating the cart, just the first time a customer opens a checkout (cart) page.  The workflow is: cart&#95;coupon,login&#95;address&#95;shipping&#95;payment&#95;terms&#95;confirm&#95;fields,end  Just the first time user enter the checout page, he must press Next button twice on the first step to get to the second step.  I found out that if he enters on page &quot;www.../checkout/&quot; and he is not registered he gets the price without shipping value. When he press &quot;Next&quot;, the price updates on the cart with a shipping cost, but he is still on the same page (first step). When he press Next button the second time, he gets to next step. This happens just the first time. If he is registered already, than he gets also the price without shipping cost. But whan he press &quot;Next&quot; he goes to the next step without getting the shipping cost in the cart. In both cases if he returns to first step (where is the cart), he gets the price with shipping included.  But if he enters the first time directly to &quot;www.../checkout/step/step-0/&quot;. He gets the price with shipping cost. And when he press the &quot;Next&quot; button, he gets to the seccond page (step 2) which is &quot;www.../checkout/step/step-1/&quot;. In this example it is working fine.  I don't know how to send user directly to &quot;www.../checkout/step/step-0/&quot;. I have a code on button (Buy now) in article which send him directly to checkout: index.php?option=com&#95;hikashop&amp;ctrl=product&amp;task=updatecart&amp;quantity=1&amp;checkout=1&amp;product&#95;id=1  And I use a module mini shopping cart (mod&#95;hikashop&#95;cart) which send a user to &quot;www.../checkout/&quot;.  Thanks for you time.")*

Great.

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

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