![]() |
Re: Advanced Cart Mod
great mod but takes up too much space
|
Re: Advanced Cart Mod
I have played around with this minicart and like it a little better, but I still have a problem with the total not showing the discounted total. Is there a way to get parts of /modules/Fast_Lane_Checkout/cart_subtotal.tpl to work in the minicart?
ProMuscles: Here is a change so it would work width wise on my layout. This way only takes up the same width as the standard menu template. No more neat remove button but it does have a text remove option below each item. Code:
{* $Id: cart_subtotal.tpl,v 1.5.2.1 2006/06/16 10:47:44 max Exp $ *} |
Re: Advanced Cart Mod
Adding to the thought process here....
instead of this in minicart.tpl: {include file="currency.tpl" value=$minicart_total_cost} This value is assigned through the minicart.php file via $smarty->assign("minicart_total_cost", $MINICART["total_cost"]); What I am needing to display is: {include file="currency.tpl" value=$cart.display_discounted_subtotal} This is from /modules/Fast_Lane_Checkout/cart_subtotal.tpl But I do not know what php file assigns the cart.display_discounted_subtotal or how to incorperate it into minicart.php |
Re: Advanced Cart Mod
I have no idea what I did but now it is not only figuring the total correct it is adding in the shipping. Too sweet.
Thanks for this mod vtonya |
Re: Advanced Cart Mod
I know I am full for questions.....
On this line: <td align="center">{$item.display_subtotal}</td> I swithced to <td align="center">{include file="currency.tpl"} {$item.display_subtotal}</td> Which gives me the $ before the amount, which worked great. If the amount is $39.90 or $12.00 it will display as $39.9 or $12. I tried: <td align="center">{include file="currency.tpl" $item.display_subtotal}</td> But that only killed the mount and left just the $ symbol. How would I go about getting the full amount to display? |
Re: Advanced Cart Mod
{include file="currency.tpl" value=$item.display_subtotal}
|
Re: Advanced Cart Mod
I don't know whether to offer you another drink, or feel stupid because someone called inebriate found my errors! :-P
Thanks so you very much for catching this. With that fixed I am now down to only one, pain in the neck from beating my head against the wall, screwball thing. |
Re: Advanced Cart Mod
does anyone know how to modify inebriate's thumbnail tag to show up in 4.0.18? i can't get the product images to show up!
Code:
{if $item.is_pimage eq 'W' }{assign var="imageid" value=$item.variantid}{else}{assign var="imageid" value=$item.productid}{/if} thanks! |
Re: Advanced Cart Mod
Replace
Quote:
with Quote:
and Total will be calculated wright:D/ |
Re: Advanced Cart Mod
Great mod, but how do you get the width to be smaller? In the code I think it's saying '200' px wide, but when I change it to '100' nothing happens.
Anyone know how to do this? |
All times are GMT -8. The time now is 08:34 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.