![]() |
Removing cart totals from shopping cart
In the shopping cart, I only want to show the cart sub totals and not tax, shipping, etc.
I've tried replacing the line: {include file="customer/main/cart_totals.tpl"} with:{include file="currency.tpl" value=$cart.display_subtotal} in the file /customer/main/cart.tpl and it looks good, BUT... updating quantities doesn't work now. No error messages. I'm assuming the update quantity function in /cart.php is where the problem lies but haven't been able to nail down where exactly. Any Help? |
Why don't you just open that file and comment out the areas that display those totals? That seems like the simplest method. Then all the functionality will stay in place and look the same as you want at the same time.
|
You mean comment out code for the tax, shipping, etc in the customer/main/cart_totals.tpl file?
But then those values wont display in the checkout page (i.e. cart.php?mode=checkout) I want those values to show only in the checkout page but not the shopping cart page. |
In file:/customer/main/cart_totals.tpl
I placed this code around any cart display values that I dont want displayed in the shopping cart. Seems to work. Code:
{if $smarty.get.mode ne ''}{/if} |
All times are GMT -8. The time now is 05:56 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.