X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   minicart without shipping (https://forum.x-cart.com/showthread.php?t=16355)

cotc2001 09-04-2005 03:52 AM

minicart without shipping
 
I should know this but have forgotten.
Is there a setting in x-cart 4.0.14 that i can check so that in minicart (the cart that is shown on all pages) just displays the price of the items ordered ather than price + the shipping??

i.e if someone adds an item into their basket which is price as бё19.00 inc VAT then бё19.00 is displayed in the mini cart rather than бё21.50 (19+2.50 shipping)

hooter 09-04-2005 06:18 AM

cotc,

http://forum.x-cart.com/viewtopic.php?t=15120&highlight=shipping
8)

cotc2001 09-04-2005 06:31 AM

Cheers, i should remember how i did it but for the life of me i can't

that link shows you how to show it ex shipping and ex vat

but what I need is to show it just ex shipping

this is the code im looking at one the template

Code:

<TD class=search2 nowrap>{if $minicart_total_items_products gt 0}{$minicart_total_items_products} item{if $minicart_total_items_products gt 1}s{/if} in cart{else}cart is empty{/if}</TD>
                                                        <TD  class=search2 nowrap>{if $minicart_total_cost gt 0}{include file="currency.tpl" value=$minicart_total_cost}{$lng.lbl_total}{/if}</TD>       
                            <TD class=search align=right width=139>[b]


So what im looking at trying to do is that if the price is displayed as бё19 then бё19 is what is shown in the mini cart

bearing in mind that the price displayed on the site is including vat/taxes

ronp 09-06-2005 09:00 AM

Might Help
 
I am on an older version (3.51) but maybe it will help. I removed shipping in the minicart by opening shop/customer/minicart.php and simply changed
$MINICART["total_cost"] = $cart["total_cost"]; to
$MINICART["total_cost"] = ($cart["total_cost"] - $cart["shipping_cost"]);

Don't know if this will work in your version, but if not maybe it can give you a heads up in the right direction...

cotc2001 09-06-2005 09:41 AM

Ok i got the x-cart team developer to do it in the end.
If i can find out what he changed i'll post it for others.


All times are GMT -8. The time now is 02:26 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.