Jump to content

Cart total price not updating


fernandokerber
 Share

Recommended Posts

Hi,

 

My cart total price is not updating..... Im trying to fix this for hours

 

 

Here is the problem:

- the customer adds a product to the cart

- then the customer goes to the cart summary page

- When the customer changes the number of products in the list, ajax updates everything except the total price.

 

Im using 1.4.8.2

 

here is my shop:

http://67.222.18.10/~kerber/tiago/prestashop

 

Thanks!!!

 

 

EDIT:

 

 

I figured it when I'm logged as a customer the ajax carts price works perfectly.

 

But when I`m not logged what I said happens. It seems very weird and I have no idea of fixing this....

post-243822-0-69176900-1345434908_thumb.jpg

Edited by fernandokerber (see edit history)

Share this post


Link to post
Share on other sites

I don't understand.

 

On the pic all is as it should be as far as I can see. :wacko:

 

no... the prices are different

 

in GREEN: Take a look at the list price (between the "+" and "-" buttons) - R$47,20

 

in RED: Now look the total price (in the left column and in the cart) - R$53,10

 

they should have the same value.. when I change the cart quantities, the total value doesnt changes... this is the problem...

 

The strange thing is that when I'm logged as a customer the ajax carts price works perfectly.

 

I replaced almost all the core files related with the cart without solving the issue..

 

Maybe there's still one core file I missed but I don't know how..

 

Please, help me solving it. My store is almost ready to sell :(

Edited by fernandokerber (see edit history)

Share this post


Link to post
Share on other sites

  • 7 months later...
  • 4 weeks later...

Thanks, i found a solution in my theme:

 

in shopping-cart.tpl of my theme I have to add this id in td tag.

 

 

<td class="price" id="total_price">

{displayPrice price=$total_price}

</td>

 

And works! ;)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More