Jump to content

[SOLVED] Shopping Cart Summary modification in template (shopping-cart.tpl)


sica07

Recommended Posts

First of all, hello everybody! I'm using Prestashop for a eshop I'm building. Even if I'm using Prestashop for the first time, I'm very happy with it, so: a big Thank You for the great work you are doing, Prestashop Team.
Now, my problem. I'm trying to customize the shopping cart summary. I would like to add a some text next to the quantity ( e.g. 100g instead 100). The problem is that I no matter what I do inside the tag containing the quantity data, no modification appears on the displayed page.
See the code below to understand what I'm trying to do:


<!--THIS IS THE TEXT I WOULD LIKE TO ADD -->

g
<!--END--> 




I even deleted all the code inside the td tag but nothing changed on the displayed page (as if the template file was ok). So, I think that the html has to be generated dynamically somewhere. Am I right, and if I am, where is this happening? Thank you.
P.S. Sorry for my bad English

  • Like 1
Link to comment
Share on other sites

are you talking about shopping "cart summary page"? or the shopping "cart block" which is on the top-right corner?
If you talking about "cart block", then you need to change file /modules/blockcart/blockcart.tpl

By the way, try to remove the cache files under following folder to see if it solve your problem.
/tools/smarty/compile/

Link to comment
Share on other sites

Hi, thanks for the reply!
I am talking about the "shopping cart summary page", not the block.
I removed all the smarty files in cache, and still nothing. The strange thing is that if I modify anywhere else in the page, but the summary table, the changes reflects on the page generate from the template. So, the issue is only inside the table...

Link to comment
Share on other sites

I solved the "problem". I was not modifying the right file. The table in the cart summary page is controlled by the shopping-cart-line.tpl file, and the rest of the page is controlled by the shopping-cart.tpl file. Now it's ok.

Link to comment
Share on other sites

  • 4 years later...

Hi,

 

I would like to take the 'total shipping' and 'carrier' of choice off the section of SHOPPING CART SUMMARY.

How to go about to do that?

 

Because the carrier of choice will appear in the SHIPPING section while the Total Shipping price will appear in the last section which is PAYMENT.

 

I want to avoid information redundancy.

 

Pls help.

 

Thank you.

Link to comment
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
×
×
  • Create New...