Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / shipping estimator for not logged in customers

shipping estimator for not logged in customers

Views: 1,138

Results 1 to 12 of 12
23 Jan 2015, 9:38 PM
#1
katco avatar

katco

New Zenner

Join Date:
Nov 2005
Posts:
71
Plugin Contributions:
0

shipping estimator for not logged in customers

Hi, We use both UPS and Store Pickup. But if a customer is not logged in when they use the shipping estimator and they don't fill in their zipcode, it appears as though the only option they will have is store pickup. Some people have assumed that this is the only way they can get their order. I would like for that to show either NOTHING or UPS or something besides saying Store Pickup (Walkin). I have tried changing the sort order but that does not fix it.

Thanks for any help!

23 Jan 2015, 10:01 PM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: shipping estimator for not logged in customers

In the interim to a "fix", might I suggest adding some text to that page identifying that a zipcode (or whatever essential information is necessary) must be entered to show the potential shipping cost?

Words don't fix everything, and there will be those that will look at the box and think that the store doesn't ship because there is no information to begin with, but at least some direction will be there while those with access to the code look to try to help...

23 Jan 2015, 10:21 PM
#3
katco avatar

katco

New Zenner

Join Date:
Nov 2005
Posts:
71
Plugin Contributions:
0

Re: shipping estimator for not logged in customers

Thanks, that is a good idea! I will try that and hope that there is a more permanent fix coming!

23 Jan 2015, 10:57 PM
#4
katco avatar

katco

New Zenner

Join Date:
Nov 2005
Posts:
71
Plugin Contributions:
0

Re: shipping estimator for not logged in customers

Of course I cannot for the life of me figure out where this text goes. Yes, I used my developers tool kit but there is not a match for it. Anybody point me in the right direction please?

23 Jan 2015, 11:05 PM
#5
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: shipping estimator for not logged in customers

katco:

Of course I cannot for the life of me figure out where this text goes. Yes, I used my developers tool kit but there is not a match for it. Anybody point me in the right direction please?

That... I can look up without having the code. :) includes/languages/YOUR_LANGUAGE/YOUR_TEMPLATE/shopping_cart.php

If that file doesn't exist, then copy it from includes/languages/YOUR_LANGUAGE/shopping_cart.php
And paste that file in the first path shown... (Replacing YOUR_TEMPLATE with the folder name for your template.) If the folder doesn't exist, then create it.

The default language the code uses is english, so would substitute english for YOUR_LANGUAGE in most cases.

Around line 12, should find a define for TEXT_INFORMATION that contains shopping_cart information content, which is the page that the estimator is found... Unless have it enabled elsewhere.

23 Jan 2015, 11:14 PM
#6
katco avatar

katco

New Zenner

Join Date:
Nov 2005
Posts:
71
Plugin Contributions:
0

Re: shipping estimator for not logged in customers

Yeah, I even actually looked at that file. But I do not see where I could add the text you suggested that it would show up on the estimator in a way that would make sense.

it seems like I should be able to do it right where it says Pick up (Walk In) on the estimator, but I cannot figure out where that text is coming from.

23 Jan 2015, 11:24 PM
#7
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: shipping estimator for not logged in customers

katco:

Yeah, I even actually looked at that file. But I do not see where I could add the text you suggested that it would show up on the estimator in a way that would make sense.

it seems like I should be able to do it right where it says Pick up (Walk In) on the estimator, but I cannot figure out where that text is coming from.

So the shipping options (shipping modules) provide the text in the dropdown. There are a few ways that could be used. One would be to add to the define that presents estimate shipping cost found in: includes/languages/YOUR_TEMPLATE/english.php
Or includes/languages/YOUR_TEMPLATE/YOUR_LANGUAGE.php
More generically stated.

The define is: CART_SHIPPING_OPTIONS found around line 540 of the above file. (It was 543 in one of my files, 545 in another, so somewhere around there)). But it will be bolded like the text shown there... There's a lot of options at that point, but I also wouldn't be surprised if some that are/have looked at this thread aren't trying to determine a solution. I'm still not where I can look at the actual code to provide a suggestion, just able to look up things in the developer toolkit...

The text displayed about the walkin is going to be found in the shipping subdirectory of the language directory. If you want to modify something there, pick a couple of words in a row that all have the same format and eventually the developers toolkit will. Help you find that section containing the define. Just because words line up left to right doesn't mean they are all adjacent in the code.

23 Jan 2015, 11:28 PM
#8
katco avatar

katco

New Zenner

Join Date:
Nov 2005
Posts:
71
Plugin Contributions:
0

Re: shipping estimator for not logged in customers

It is actually in the pop-up window:

Attachment 14898

I have tried to attach an image of it, I hope this worked!

23 Jan 2015, 11:31 PM
#9
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: shipping estimator for not logged in customers

Rwise I think there is a tpl_shipping_estimator.php file that could have the text added, ideally through a determination of whether to display the info at all, then to display the information through language define.

23 Jan 2015, 11:36 PM
#10
katco avatar

katco

New Zenner

Join Date:
Nov 2005
Posts:
71
Plugin Contributions:
0

Re: shipping estimator for not logged in customers

So, I found it in English.php and put it in there, but it does not show very well, IMO.

Attachment 14899

23 Jan 2015, 11:38 PM
#11
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: shipping estimator for not logged in customers

katco:

It is actually in the pop-up window:

Attachment 14898

I have tried to attach an image of it, I hope this worked!

P, came through: then includes/languages/YOUR_TEMPLATE/YOUR_LANGUAGE.php

Line #563 : define('CART_SHIPPING_QUOTE_CRITERIA', 'Shipping quotes are based on the address information you selected:');

23 Jan 2015, 11:39 PM
#12
katco avatar

katco

New Zenner

Join Date:
Nov 2005
Posts:
71
Plugin Contributions:
0

Re: shipping estimator for not logged in customers

I suppose what I did there is better than nothing, and its in an override so that's good. I guess it will work for now anyway.