Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 Tips and Tricks - HALL OF FAME
 Free shipping - Store chooses service .php .asp
Author « Topic »  

dbdave
ECT Moderator

USA
10416 Posts

Posted - 12/11/2018 :  19:58:09  
I had posted this some time back and it was purged from the forum. So I have rewritten it with greater detail.
This is an updater proof solution that is basically designed to give the customer a free shipping option without saying what service will be used. It leaves it up to the store owner to decide what method (lowest cost) will be used to ship the order.
This works well if you offer multiple shipping services and carriers.
In some cases it may encourage the customer to select a faster (paid) shipping service.

The great thing about the ect shopping cart is it's boundless options and configurations for setting up your store. So this setup may not work well for everyone, but it has served my store well and you can likely tweak it to your liking.

What we do here is setup price based shipping to work alongside our USPS and FEDEX services. The price based shipping will serve as our free shipping option.
The setup example below is for free shipping from our US based store to all States except Hawaii and Alaska at a price threshold of $99.00

Let's get started.

Assuming you have multiple shipping options available to your customers, it's best to have them shown as radio choices as the drop down menus might get missed by customers. In your includes, be sure to set (if not set already)

ship options as radios
.asp shippingoptionsasradios=TRUE
.php $shippingoptionsasradios=TRUE;


STEP 1
Setup your price based shipping option
Under the shipping Admin menu, select postal zones.
You will need to setup a few world zone and state zone rules.
NOTE- It's possible you might not see any state zones active and there will be a message
"Your admin settings are set to treat your States as one shipping zone. To split your States into separate shipping zones please click here."
Click there to expand state zones.
See image below


Under United States (Edit rules)
Enter selected as shown below in the image.
The x there says do not make this option available unless the order is over 99.00
Note, the TK Free Shipping is just a name we use. You can name that something else if you like.


Under ROW (rest of world) (edit rules)
Enter selected as shown below in the image.


Under Lower 48 states (edit rules)
Enter selected as shown below in the image.


Under Alaska (rest of world) (edit rules)
Enter selected as shown below in the image.


Hawaii and Others have the same settings as Alaska and in reality that could be one zone named something like Not-free-ship

STEP 2
Now we will seup the free shipping discount.
Under the product Admin menu, select discounts.
Click the button to seup a new discount and enter info as shown in the image below
You can name the discount text anything you like - we have used $99+ Free Shipping Promotion


STEP 3
In your admin "main settings" (Under the Store Admin menu, select main settings.) we need to turn on price based shipping.
This needs to be turned on before you can set the countries and states postal zones (step 4)
Under Use Alternate Shipping rates: set to Show all shipping carriers together.
Then for domestic shipping tick the box to activate price based shipping, keeping any other shipping carriers you have active.
IMPORTANT - For this to work correctly (particularly with the shipping estimator) the price based option should be first on the list. Click the up arrow there to move it to the top - see image below



STEP 4
Assign Countries and States the newly created postal zones.

Under the shipping Admin menu, select countries.
Edit each active country to be sure each is set as shown. United states will need to be set to the newly created world zone United states and all others set to ROW (short for rest of world) Be sure to set FSA for United States


Do the same for States.
Under the shipping Admin menu, select states.
Edit each active state to be sure each is set to it's proper state zone you created in step one. Any that you want to allow free shipping to, should be set to "lower 48 states" and any that you will not allow free shipping to, should be set to one of your other zones. You will also need to set FSA for the states that you allow free shipping to


At this point it should be working. Although there are a few more things we want to address.
When a customer does not qualify for free shipping, there is a message showing where the free shipping option will be.
Likely something like "There are no methods available for your shipping destination."
You can change this message to something that works better. Keep in mind this is the same message that might show when a customer enters an invalid address.
I like that set to the follwing - "Free shipping on orders over $99.00"
This is a languagefile entry that we will add to the includes.asp or includes.php to set that text and protect it from updates.
.asp xxNoMeth="Free shipping on orders over $99.00"
.php $GLOBALS['xxNoMeth']='Free shipping on orders over $99.00';

ECT puts a default image there for the shipping logo but you can change that with this addition to your includes
.asp - shippinglogo="images/mylogo.png"
.php - $shippinglogo="images/mylogo.png";

If you are using the shipping estimator, you will get something like "estimated best rate using price based shipping"
Personally I don't like that message so what we do for that is this addition to includes (takes out the word "using")
.asp - xxBesRaU="Estimated Best Shipping Rate"
.php - $GLOBALS['xxBesRaU']='Estimated Best Shipping Rate';

and with an addition to our css file we hide the service there.
div.estimatorcheckcarrier {display: none;}
And that gives us just "Estimated best shipping rate" there.

Below are screen shots for an order without free shipping and an order with free shipping.





You can take it for a test drive on my .php test site here http://www.floridasurpluswarehouse.com/dev/products.php

If you have issues or questions, please post below and I'll try to help.

Enjoy,
David

Edited by - dbdave on 05/06/2023 07:53:34

Positivek9
Ecommerce Template Guru

USA
4061 Posts

Pre-sales questions only
(More Details...)

Posted - 03/15/2020 :  18:23:00  
Hey David~

I'm working on a site that will have free shipping on all products... my display is different from yours.

Applicable Discounts text is showing above Total Goods.

Shipping $0.00 - Free Shipping showing below Free Shipping $0.00, which seems a tad redundant.

I noticed that your screenshots have neither of these, how did you remove them?

[img]https://www.germanshepherddatabase.org/gsddb3.png[/img]



Julie
Owned & loved by 5 German Shepherds
~ RIP Menace & Peanut ~

dbdave
ECT Moderator

USA
10416 Posts

Posted - 03/15/2020 :  18:31:36  
What version is this on Julie?
It may be that you are on a latest version where some changes have been made that I have not dealt with yet.
I am working on updating the the latest now and if something changed, I should see it soon.

David

Positivek9
Ecommerce Template Guru

USA
4061 Posts

Pre-sales questions only
(More Details...)

Posted - 03/15/2020 :  18:52:22  
Ah, that may it... this one is on the 7.2.0 latest version.....

I've tried hiding those divs but it keeps affecting all of the shipping.

Julie
Owned & loved by 5 German Shepherds
~ RIP Menace & Peanut ~

dbdave
ECT Moderator

USA
10416 Posts

Posted - 03/15/2020 :  19:58:13  
I should see that as I'm working on updating my dev site. I'll post back when I get to that.

David

dbdave
ECT Moderator

USA
10416 Posts

Posted - 03/21/2020 :  11:57:42  
Hi Julie, that new line at the bottom there is just showing what shipping option has been selected.
It is new, but native to the cart.
Typically you would have several choices for shipping, so that new line just shows what's selected.

David
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000