Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

minicart without shipping

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-04-2005, 03:52 AM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default 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)
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #2  
Old 09-04-2005, 06:18 AM
 
hooter hooter is offline
 

X-Adept
  
Join Date: Dec 2004
Posts: 519
 

Default

cotc,

http://forum.x-cart.com/viewtopic.php?t=15120&highlight=shipping
__________________
Blog for X-Cart | Ebay Auction Manager
Reply With Quote
  #3  
Old 09-04-2005, 06:31 AM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

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
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #4  
Old 09-06-2005, 09:00 AM
 
ronp ronp is offline
 

Advanced Member
  
Join Date: Feb 2003
Location: SE US
Posts: 30
 

Default 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...
__________________
----------------------------------------------------
X-Cart 3.5.1
\"Heavily Modified\"
Win2000 Advanced Server/Apache 2.0.54 w/OpenSSL 0.9.7g
PHP 4.4.0/MySQL 4.1.14-nt
Reply With Quote
  #5  
Old 09-06-2005, 09:41 AM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

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.
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:41 AM.

   

 
X-Cart forums © 2001-2020