Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2010
    Posts
    84
    Plugin Contributions
    0

    Default Need another freeoptions module to add to shipping

    I am needing to add a shipping module based on one available already in zen cart- freeoptions.

    I use this to offer free shipping to my customers once they reach a certain order total. The way I have freeoptions set up is I only allow the free shipping to appear if the weight is also 13ozs and under. So, basically they get free first class shipping but not free Priority if that is what is needed to ship their package.

    I want to make a change that offers reduced and partially free shipping if they are over 13ozs. I want to offer a flat rate Priority charge of 2.00-2.50 if their cart total is over a certain amount AND weight is over a certain amount, then they are presented with the REDUCED Priority option. If both conditions were true before they were simply presented with our flat-rate Priority option, but we want to instead, in this situation, offer a reduced flat rate Priority option.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Need another freeoptions module to add to zen cart shipping

    Copy the files:
    /includes/modules/shipping/freeoptions.php
    /includes/languages/english/modules/shipping/freeoptions.php

    to the files:
    /includes/modules/shipping/freeoptions2.php
    /includes/languages/english/modules/shipping/freeoptions2.php

    Edit the files:
    /includes/modules/shipping/freeoptions2.php
    /includes/languages/english/modules/shipping/freeoptions2.php

    and change all:
    freeoptions to freeoptions2
    FREEOPTIONS to FREEOPTIONS2

    Edit the code:
    Code:
    // final check for display of Free Options
          if ($this->ck_freeoptions_total or $this->ck_freeoptions_weight or $this->ck_freeoptions_items) {
            $this->enabled = true;
          } else {
            $this->enabled = false;
          }
    to read:
    Code:
    // final check for display of Free Options
          if ($this->ck_freeoptions_total and $this->ck_freeoptions_weight or $this->ck_freeoptions_items) {
            $this->enabled = true;
          } else {
            $this->enabled = false;
          }
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Nov 2010
    Posts
    84
    Plugin Contributions
    0

    Default Re: Need another freeoptions module to add to zen cart shipping

    Thanks Ajeh--I just got through reading your cloning tutorial in another thread and I got it on first try...many, many thanks...I had just come back here to update : )

    For others possibly attempting this...I used Notepad and did the search and replace but you have to be careful to make it case sensitive...it was a snap actually.

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Need another freeoptions module to add to zen cart shipping

    Thanks for the update that you have this working now ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. add another shipping estimator on another page?
    By xcipher in forum Addon Shipping Modules
    Replies: 2
    Last Post: 30 Nov 2010, 05:51 AM
  2. Google Checkout - freeoptions. Need help!
    By nonfinite in forum Addon Payment Modules
    Replies: 9
    Last Post: 30 Dec 2009, 06:49 AM
  3. Freeoptions shipping module
    By Svanis in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 22 Dec 2008, 01:49 AM
  4. Bug in freeoptions shipping module
    By enigma777 in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 2 Dec 2006, 03:49 PM
  5. Freeoptions Module
    By ben_golant in forum Built-in Shipping and Payment Modules
    Replies: 9
    Last Post: 9 Aug 2006, 02:20 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR