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

Pre-Login Shipping Calculator

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #171  
Old 08-18-2006, 10:20 PM
 
g0t0pless g0t0pless is offline
 

eXpert
  
Join Date: Jul 2003
Posts: 360
 

Default

4.1.X compatible?
__________________
4.1.7
X-Cart Gold
Product Configurator Module
Advanced Order Management Module
RMA Module
Feature Compare Module
Blue Dream theme by 7Dana.com
Reply With Quote
  #172  
Old 09-22-2006, 02:21 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Re: Pre-Login Shipping Calculator

To prevent taxes from being calculated until the user logs in, perform the following (This was done on a 3.5.x store):

Open include/func.php and FIND:

Code:
function func_calculate_taxes($products, $customer_info, $shipping_cost, $provider="") {

AFTER ADD:

Code:
global $current_area;

FIND:

Code:
$return = array("tax_cost" => 0, "tax_gst" => 0, "tax_pst" => 0);

AFTER PUT:

Code:
// WebsiteCM - Don't Show Taxes in the customer area unless we have a customer login if ($current_area == "C" && $customer_info['login'] == "") { return $return; }
Reply With Quote
  #173  
Old 09-29-2006, 10:10 AM
  2coolbaby's Avatar 
2coolbaby 2coolbaby is offline
 

eXpert
  
Join Date: Sep 2004
Location: TN moving to FL
Posts: 265
 

Default Re: Pre-Login Shipping Calculator

I have a slight problem. The code being provided in quotes in this topic, is showing up wrong in my browser. IE:

Click here to change your zip code:

Just shows up as linked text, so if I just paste it into my template it is unlinked text, so my customers cannot click to change their zip.

I am sure the source code is different than what I am seeing in the quote boxes.
If I look at the source code on the forum it shows up as href and http://cart.php?zip_estimate=clear - obviously that is not correct, so some code added here is being changed by the forum.

Can someone possibly email me the code for this line, including the link format? Or post it here with *'s to keep it from being converted to a link by the forum? I would appreciate it much!
__________________
Mary Lee
-------------------
Dinner and a Murder Mystery Games
http://www.dinnerandamurder.com

x-cart version 4.7.5 / Mac OS 10.10.5 and Windows 8/10 sometimes - Ideal Responsive Template
Reply With Quote
  #174  
Old 10-03-2006, 09:09 AM
 
eastman eastman is offline
 

Advanced Member
  
Join Date: Aug 2005
Location: Wyoming
Posts: 74
 

Thumbs up Thanks:

Great mod. Thanks to all who did such excellent work.

Here's what I used:
<a href='https://www.*****.com/store/cart.php?zip_estimate=clear'>Click here to change your zip code</a>
__________________
X-Cart Pro v4.4.3
Reply With Quote
  #175  
Old 10-04-2006, 02:57 PM
  jasonroy's Avatar 
jasonroy jasonroy is offline
 

Senior Member
  
Join Date: Sep 2006
Location: Tualatin, Oregon
Posts: 147
 

Default Re: Pre-Login Shipping Calculator

i couldnt get the "change zip code" thing to show up at all... it just isnt visible at all.
__________________
rjroffroad.com
x-cart 4.1.3
+ez checkout
+remember anonymous carts
Reply With Quote
  #176  
Old 10-05-2006, 05:53 AM
  2coolbaby's Avatar 
2coolbaby 2coolbaby is offline
 

eXpert
  
Join Date: Sep 2004
Location: TN moving to FL
Posts: 265
 

Default Re: Pre-Login Shipping Calculator

I am using USPS & I am using Real Time Calculations. I have 4 different usps methods available in my cart, but since adding this it ALWAYS reverts to Priority and does not allow the customer to choose any other method. Maybe it is not this mod and something in my cart. I am just not sure, but people are unhappy with the lack of ability to choose shipping. Anyone else had this problem?
__________________
Mary Lee
-------------------
Dinner and a Murder Mystery Games
http://www.dinnerandamurder.com

x-cart version 4.7.5 / Mac OS 10.10.5 and Windows 8/10 sometimes - Ideal Responsive Template
Reply With Quote
  #177  
Old 10-20-2006, 08:15 AM
  jasonroy's Avatar 
jasonroy jasonroy is offline
 

Senior Member
  
Join Date: Sep 2006
Location: Tualatin, Oregon
Posts: 147
 

Default Re: Pre-Login Shipping Calculator

Since I bought the WebsiteCM EZ Checkout for 4.1.3 I have not been able to get this to work at all. I ended up just completely removing it.

Has anyone got it to work with 4.1.3 EZ Checkout?
__________________
rjroffroad.com
x-cart 4.1.3
+ez checkout
+remember anonymous carts
Reply With Quote
  #178  
Old 10-31-2006, 06:42 AM
 
jfaust97 jfaust97 is offline
 

Member
  
Join Date: Mar 2005
Posts: 12
 

Default Re: Pre-Login Shipping Calculator

Check out this shipping calculator we had made.

it is on any product, look for the shipping calculator button.

www.budgetgolf.net
__________________
Jeremy
ver. 4.0.11
Reply With Quote
  #179  
Old 10-31-2006, 07:01 AM
  rubberneck's Avatar 
rubberneck rubberneck is offline
 

Senior Member
  
Join Date: Feb 2003
Posts: 161
 

Default Re: Pre-Login Shipping Calculator

jfaust97
Looks great. Are you offering the coding/instructions?
__________________
--
Version 4.0.17 Gold
Version 4.1 Gold
Version 4.4 Gold
Reply With Quote
  #180  
Old 10-31-2006, 07:06 AM
 
jfaust97 jfaust97 is offline
 

Member
  
Join Date: Mar 2005
Posts: 12
 

Default Re: Pre-Login Shipping Calculator

Thanks,

We had this made from the guys at www.finestshops.com

Ask for Anton.

Very reasonable pricing.
__________________
Jeremy
ver. 4.0.11
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



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 06:28 AM.

   

 
X-Cart forums © 2001-2020