Forums / Built-in Shipping and Payment Modules / free shipping to retail clients only

free shipping to retail clients only

Locked

Started by mb1 on 15 Nov 2009, 2:56 PM · Views: 725

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
15 Nov 2009, 2:56 PM
#1
mb1 avatar

mb1

Totally Zenned

Join Date:
Jun 2006
Posts:
565
Plugin Contributions:
0

free shipping to retail clients only

file i'd like to change /root/includes/modules/shipping/ freeoptions.php

I would like to restrict all groups from having this option come up in the checkout process, except regular registered customers

https://www.gorillagear.ca = zencart v1.3.9h with 40+ mods

15 Nov 2009, 3:16 PM
#2
mb1 avatar

mb1

Totally Zenned

Join Date:
Jun 2006
Posts:
565
Plugin Contributions:
0

Re: free shipping to retail clients only

if (verify_customer_group_bigspender()) { 
     $content .= '<a class="category-links" href="' . zen_href_link(FILENAME_BIGSPENDER_PROMO) . '">' . CATEGORIES_BOX_HEADING_BIGSPENDER_PROMO. '</a>' .  '<br />' ."\n";
  }

ok i found this piece of code (which only lets certain people view a link in a sidebox) that swguy had created for me a while back the same people in the big spenders group (which are registered members minus all other groups) are the ones i want to offer free shipping to after spending a certain amount

how would i modify that piece of code to work the way i would like?

thank you for any help that can be provided

https://www.gorillagear.ca = zencart v1.3.9h with 40+ mods