Forums / Addon Shipping Modules / Discount express shipping once free ground has kicked in?

Discount express shipping once free ground has kicked in?

Started by scott_c on 19 May 2011, 7:32 AM · Views: 948

Results 1 to 2 of 2
19 May 2011, 7:32 AM
#1
scott_c avatar

scott_c

Zen Follower

Join Date:
Dec 2009
Posts:
236
Plugin Contributions:
0

Discount express shipping once free ground has kicked in?

Hi all, Im using the freeoptions shipping module to offer the customer free ground shipping once their cart is over a certain amount.

It works great, and it also shows the express shipping options in case a customer wants the order fast.

What Im wanting to do is to discount the express shipping if the free options module has kicked in.

In other words; customer qualifies for free ground shipping, and the express shipping modules deduct their calculated shipping rate by 50% to offer subsidised express shipping.

I imagine that i might need to edit the page; tpl_checkout_shipping_default.php (or even the header file of that page) and possibly the tpl_module_shipping_estimator.php

Anyone have an idea one what part of the code to look at?

I need to find where the shipping totals are calculated and written out, and then i imagine i need to put an if statement around it saying;

if the free options module has qualfied
deduct express shipping options by 50% of their total

Sounds easy in theory. :smile:

Donation made. Enjoy those donuts! :-)

26 May 2011, 2:11 AM
#2
scott_c avatar

scott_c

Zen Follower

Join Date:
Dec 2009
Posts:
236
Plugin Contributions:
0

Re: Discount express shipping once free ground has kicked in?

anyone? :smile:

Donation made. Enjoy those donuts! :-)