Forums / Addon Sideboxes / Free Shipping Qualifier SideBox and Shopping Cart Module V2.0 [Support Thread]

Free Shipping Qualifier SideBox and Shopping Cart Module V2.0 [Support Thread]

Views: 12,525

Results 1 to 20 of 30
20 Feb 2011, 6:26 AM
#1
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Free Shipping Qualifier SideBox and Shopping Cart Module V2.0 [Support Thread]

I have submitted the mod Free Shipping Qualifier SideBox Module V2.0.

It is based on the Free Shipping Qualifier SideBox Module V1.x

This mod allows you to show free shipping information

  1. in your shopping cart side box - AND -
  2. on your shopping cart page

prompting your customers to add a bit more to their cart in order to qualify for Free Shipping.

The Shopping Cart page and/or the Shopping Cart Sidebox displays something like:

"Add $XX.XX to your cart to qualify for Free Shipping" OR "Your order qualifies for Free Shipping!" OR "Free Shipping for orders of $XX.XX or more."

The Free Shipping calculation is based on the cart's sub-total BEFORE discounts. This means that the deduction of any discount vouchers, redeemed reward points, Better Together discounts etc will not affect Free Shipping to be granted. This way it is unlikely that you get irate messages from upset customers. Be careful though that you don't discount too much - it can be costly!!

This mod can be adapted for multiple languages. Please read the appropriate section in the readme.html file about how to achieve this.

DOWNLOAD: http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=394

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

4 Mar 2011, 6:59 PM
#2
sonic avatar

sonic

New Zenner

Join Date:
Mar 2006
Location:
Toronto, Ontario
Posts:
10
Plugin Contributions:
0

Re: Free Shipping Qualifier SideBox and Shopping Cart Module V2.0 [Support Thread]

I am experiencing a small problem with this add-on which is probably related to something that I have done.
In the Shopping Cart Sidebox, I see the following when the cart is empty...

Your cart is empty.
TEXT_ALERT_FREE_SHIPPING$150.00TEXT_ALERT_OR_MORE

However if I add something under $150.00, I see the following...

1ea.- DP-65 GLOBAL
--------------------------------------------------------------------------------
$72.00

You only need to add $78.00 to your order to qualify for Free Shipping to Canadian destinations!

If I then discard this item from the cart, and refresh the page, then I see the proper text as follows...
Your cart is empty.
Free Shipping for orders of $150.00 or more to Canadian destinations!

I see the same results using Internet Explorer and the latest Firefox.
I have installed the 3 files and modified the stylesheet.css as per the readme (for release 2).
I have also set the Modules > Order Total > Shipping, and Modules > Shipping as per the readme.

The temp URL is http://www.sonicscience.com/store139
It is a Zen-Cart v1.3.9h store with a few addons such as Sale Ending, CSS Flyout Menu, Add Customers from Admin, Contest System, and a couple of modified "Blank Sidebox" addons that are currently disabled for testing.

Database is 1.3.9g
PHP 5.1.6, MySQL 5.0.77

I have a few other issues that I don't think are related such as the CSS menus appearing under the flash graphics.

Any suggestions would be greatly appreciated.

Thank you,

5 Mar 2011, 12:01 AM
#3
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Free Shipping Qualifier SideBox and Shopping Cart Module V2.0 [Support Thread]

sonic:

I am experiencing a small problem with this add-on which is probably related to something that I have done.
In the Shopping Cart Sidebox, I see the following when the cart is empty...

Your cart is empty.
TEXT_ALERT_FREE_SHIPPING$150.00TEXT_ALERT_OR_MORE

However if I add something under $150.00, I see the following...

It appears that the definitions for TEXT_ALERT_FREE_SHIPPING and TEXT_ALERT_OR_MORE are not loading.

You may want to add the language defines

// edit these defines to work with your Free Shipping Qualifier add-on
define('TEXT_ALERT_IN_CART', 'You only need to add ');
define('TEXT_ALERT_QUALIFY', ' to your order to qualify for Free Shipping to Canadian destinations!');
define('TEXT_ALERT_NOW_QUALIFIED', 'Your order qualifies for Free Shipping to Canadian destinations! ');
define('TEXT_ALERT_FREE_SHIPPING', 'Free Shipping for orders of ');
define('TEXT_ALERT_OR_MORE', '  or more to Canadian destinations!');

to your includes/languages/YOUR_TEMPLATE/english.php file instead of adding them to your includes/languages/english/YOUR_TEMPLATE/shopping_cart.php file as recommended in the Readme of the package.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

5 Mar 2011, 2:28 PM
#4
sonic avatar

sonic

New Zenner

Join Date:
Mar 2006
Location:
Toronto, Ontario
Posts:
10
Plugin Contributions:
0

Re: Free Shipping Qualifier SideBox and Shopping Cart Module V2.0 [Support Thread]

Thank you very much Frank, that solved the problem. Donation is on the way to you.

8 Mar 2011, 8:50 PM
#5
yaniby avatar

yaniby

New Zenner

Join Date:
Mar 2011
Posts:
4
Plugin Contributions:
0

Re: Free Shipping Qualifier SideBox and Shopping Cart Module V2.0 [Support Thread]

Frank,

Thanks so much for a very useful mod.
I've use part of your code and added it to the tpl_header.php and then turned the shopping_cart box off.
you can see it at http://www.drjillsfootpads.com/index.php
Again thank you so much for a great job done!
http://www.zen-cart.com/forum/images/smilies/clap.gif

8 Mar 2011, 9:46 PM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Free Shipping Qualifier SideBox and Shopping Cart Module V2.0 [Support Thread]

instead of adding them to your includes/languages/english/YOUR_TEMPLATE/shopping_cart.php file as recommended in the Readme of the package.I would recommend using (in the package) a new file in /includes/languages/english/extra_definitions/ so users do not have to edit anything to get base functionality. If they want to customize the text, they will of course have to edit a language file.

/includes/languages/english/extra_definitions/free_shipping_sidebox_definitions.php
or something.

8 Mar 2011, 10:41 PM
#7
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Free Shipping Qualifier SideBox and Shopping Cart Module V2.0 [Support Thread]

gjh42:

I would recommend using (in the package) a new file in /includes/languages/english/extra_definitions/ so users do not have to edit anything to get base functionality. If they want to customize the text, they will of course have to edit a language file.

/includes/languages/english/extra_definitions/free_shipping_sidebox_definitions.php
or something.

Thanks Glenn, v2.1 has been submitted a few days ago (awaiting approval) and it takes care of that.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

14 Mar 2011, 8:58 AM
#9
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Free Shipping Qualifier SideBox and Shopping Cart Module V2.0 [Support Thread]

Version 2.1 is now available for **download**.

Changes:

The language defines have been moved from

includes/languages/english/YOUR_TEMPLATE/shopping_cart.php

to a new file

includes/languages/english/extra_definitions/YOUR_TEMPLATE/free_shipping_qualifier_defines.php

Enjoy

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

5 Apr 2011, 10:40 PM
#10
smoke133 avatar

smoke133

Zen Follower

Join Date:
Jul 2007
Location:
Roseville, Michigan
Posts:
188
Plugin Contributions:
0

Re: Free Shipping Qualifier SideBox and Shopping Cart Module V2.0 [Support Thread]

I got this module working. My question is, is there anyway to get this module to work with the Free Shipping Rules module? The way it is set up now is in order for it to show how much more you need to add to your cart to qualify for free shipping, you have to have the "Allow Free Shipping" option on. The problem with this is that it overrides all other shipping option if your order is over the total set for the free shipping. When they go to checkout, it does not give them other shipping options then. Just the free shipping.

https://www.jhelectronics.com
Using Zencart 1.3.9h

5 Apr 2011, 11:10 PM
#11
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Free Shipping Qualifier SideBox and Shopping Cart Module V2.0 [Support Thread]

If the FREE SHIPPING module is active and shown to the customer during checkout, all other modules automatically disappear. That is standard ZC logic. You either offer Free Shipping or you don't (based on certain pre-determined criteria).

To enable free shipping for customers and at the same time offer other shipping options to customers, you need to use the Free Shipping Options module instead.

The Free Shipping Options module allows you to specify different conditions for a customer to qualify for free shipping. For example, when the total order exceeds a certain amount or weight, or when the total number of items bought is above a certain threshold value.

This 'Free Shipping Qualifier SideBox and Shopping Cart Module' has not been tested to work with the built-in Free Shipping Options module.

You may want to do some testing yourself and post your findings here.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

3 Jul 2011, 5:33 AM
#12
runlikeagirl avatar

runlikeagirl

New Zenner

Join Date:
Jun 2011
Posts:
14
Plugin Contributions:
0

Re: Free Shipping Qualifier SideBox and Shopping Cart Module V2.0 [Support Thread]

smoke133:

I got this module working. My question is, is there anyway to get this module to work with the Free Shipping Rules module? The way it is set up now is in order for it to show how much more you need to add to your cart to qualify for free shipping, you have to have the "Allow Free Shipping" option on. The problem with this is that it overrides all other shipping option if your order is over the total set for the free shipping. When they go to checkout, it does not give them other shipping options then. Just the free shipping.

You said it! Did you work on this problem?

I thought it was a great addition to my cart when I got the module to work but then after playing with it I decided to drop it because it does not give the choice to select other shipping methods or carriers.

Example: What if the user qualifies for FREE shipping but couldn't care less? What if he wants is to have his stuff shipped UPS overnight?

What did you end up doing smoke133?

3 Jul 2011, 11:20 AM
#13
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Free Shipping Qualifier SideBox and Shopping Cart Module V2.0 [Support Thread]

runlikeagirl:

You said it! Did you work on this problem?

I thought it was a great addition to my cart when I got the module to work but then after playing with it I decided to drop it because it does not give the choice to select other shipping methods or carriers.

Example: What if the user qualifies for FREE shipping but couldn't care less? What if he wants is to have his stuff shipped UPS overnight?

What did you end up doing smoke133?

This mod has not been tested with the Free Shipping Rules module (by Numinix - designed for ZC version 1.3.8a) nor was it designed to seamlessly work with the Free Shipping Rules module.

As we are now up to ZC version 1.3.9h (which this mod is tested on) and the Free Shipping Rules module is based on 1.3.8a, it may take some effort (and considerable time) to merge the 2 mods and test the resulting logic to the effect that it can be submitted as a (merged) update.

Sadly, time is something I am bit short of at the moment ...

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

18 Nov 2011, 1:37 AM
#14
youlookgreat avatar

youlookgreat

New Zenner

Join Date:
Jun 2010
Posts:
25
Plugin Contributions:
0

Re: Free Shipping Qualifier SideBox and Shopping Cart Module V2.0 [Support Thread]

I came across this post while trying to find a solution to the Free Shipping Qualifier mod not working in my shopping cart due to using the freeoptions module and not the ot_shipping & freeshipper modules. I found a solution that worked for me and wanted to share.

My store version 1.3.9h… in my ot_shipping module I set my free shipping dollar amount to what I wanted and set the Allow Free Shipping to false. I kept my freeoptions settings the way they were. Opened the tpl_shopping_cart_default.php file and found the line that contains

if (MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING == 'true')

I changed the true to false. Worked fine once that was changed. I do not have the freeshipper module installed.

19 Nov 2011, 9:14 AM
#15
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Free Shipping Qualifier SideBox and Shopping Cart Module V2.0 [Support Thread]

YouLookGreat:

I came across this post while trying to find a solution to the Free Shipping Qualifier mod not working in my shopping cart due to using the freeoptions module and not the ot_shipping & freeshipper modules. I found a solution that worked for me and wanted to share.

My store version 1.3.9h… in my ot_shipping module I set my free shipping dollar amount to what I wanted and set the Allow Free Shipping to false. I kept my freeoptions settings the way they were. Opened the tpl_shopping_cart_default.php file and found the line that contains

if (MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING == 'true')

> 
> I changed the true to false.  Worked fine once that was changed. I do not have the freeshipper module installed.

Thanks for sharing this. It may help others :yes:

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

8 Jan 2012, 3:04 PM
#16
terrill_taylor avatar

terrill_taylor

New Zenner

Join Date:
Aug 2006
Posts:
96
Plugin Contributions:
0

Re: Free Shipping Qualifier SideBox and Shopping Cart Module V2.0 [Support Thread]

Hi,

Is there any way to have the text not show up if free shipping is not available based on zone? So we don't offer free shipping to customers outside of the US, but the text indicating "add X more dollars" is still visible for those customers.

Thanks.

9 Jan 2012, 2:15 AM
#17
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Free Shipping Qualifier SideBox and Shopping Cart Module V2.0 [Support Thread]

Terrill_Taylor:

Hi,

Is there any way to have the text not show up if free shipping is not available based on zone? So we don't offer free shipping to customers outside of the US, but the text indicating "add X more dollars" is still visible for those customers.

Thanks.

In Admin > Modules > Shipping Modules > Free Shipping Options set Shipping Zone to USA.

Set Total >= Free Shipping when Total >= (your free $$ amount)

This ensures that free shipping is only available to USA destinations.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

9 Jan 2012, 2:32 AM
#18
terrill_taylor avatar

terrill_taylor

New Zenner

Join Date:
Aug 2006
Posts:
96
Plugin Contributions:
0

Re: Free Shipping Qualifier SideBox and Shopping Cart Module V2.0 [Support Thread]

Thanks for your reply. I'm almost certain that is how it was set. I ran a test where I logged in as a user from outside the US, the text indicating that X dollars was needed to qualify for free shipping was still visible even though the option for free shipping was not available at the shipping selection page.

10 Feb 2012, 9:46 AM
#19
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Free Shipping Qualifier SideBox and Shopping Cart Module V2.0 [Support Thread]

Just tested this mod on a ZC 1.5 install and can report that it works perfectly without modification.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

20 Feb 2012, 5:13 AM
#20
catach avatar

catach

Zen Follower

Join Date:
Oct 2005
Posts:
101
Plugin Contributions:
0

Re: Free Shipping Qualifier SideBox and Shopping Cart Module V2.0 [Support Thread]

Hello
As this is designed to work with OT_Shipping and applies to the whole site being set to free shipping, can it be changed to work with the Shipping module "Free shipping options" by just changing instances of your modified files where:
MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING is used to:
MODULE_SHIPPING_FREEOPTIONS

The example that YouLookGreat used works only if the complete site is free shipping.

I have only 1 category set up for free shipping using the shipping free options module and am looking for a way to make it clear for the customer what needs to be done.
Any thoughts would be appreciated
John