Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26
  1. #11
    Join Date
    Mar 2006
    Posts
    477
    Plugin Contributions
    0

    Default Re: need a shipping module please help

    Zen Cart 1.3.6
    Database Patch Level: 1.3.6
    v1.3.5 [2006-12-11 15:40:49] (Version Update 1.3.0.2->1.3.5)
    v1.3.0.2 [2006-12-11 15:40:45] (Version Update 1.3.0.1->1.3.0.2)
    v1.3.0.1 [2006-07-19 15:43:21] (Version Update 1.3.0->1.3.0.1)
    v1.3.0 [2006-07-19 14:22:03] (Version Update 1.2.7->1.3.0)
    v1.2.7 [2006-03-06 12:04:22] (Fresh Installation)

  2. #12
    Join Date
    Mar 2006
    Posts
    477
    Plugin Contributions
    0

    Default Re: need a shipping module please help

    Quote Originally Posted by Ajeh View Post
    What version of Zen Cart are you using?

    Clean install or Upgrade?

    If an upgrade, from what version and how?

    Did you edit the Free Shipping Options freeoptions file with the change?

    This is a Upgraded version with Fantastico...
    yes i changed the areas on that file there was 2 of them in that file i use Dreamweaver to edit the file it was on 2 lines the first line and then the second one was towards the end of the of the file.. After the Second Check area in the file

    I also need this for only within the USA but it seems the Freeoptions is for anywhere in the world how can i change that??

  3. #13
    Join Date
    Mar 2006
    Posts
    477
    Plugin Contributions
    0

    Default Re: need a shipping module please help

    Can you just write a new file for me and i can just download it and put it in my cart?? It would be easier for my that way so i know its right.. What can you do about the international part too we don't want free shipping world wide just within the United states,,

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

    Default Re: need a shipping module please help

    You only need to change line 175 with the code I posted above ...
    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!

  5. #15
    Join Date
    Mar 2006
    Posts
    477
    Plugin Contributions
    0

    Default Re: need a shipping module please help

    What is the program you are useing to edit the PHP file because on my line 175 it is different...

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

    Default Re: need a shipping module please help

    Look in the file:
    /includes/modules/shipping/freeoptions.php

    for the code in this section:
    PHP 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;
          } 
    change the IF statement to read:
    PHP Code:
    if ($this->ck_freeoptions_total and $this->ck_freeoptions_weight or $this->ck_freeoptions_items) { 
    Notice the AND in place of the OR ...
    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!

  7. #17
    Join Date
    Mar 2006
    Posts
    477
    Plugin Contributions
    0

    Default Re: need a shipping module please help

    I changed 2 lines that said that the first one was up higher on the page.. So i don't want to change the first one i just want to change the second one after the final part correct??

    What about limiting it to USA??

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

    Default Re: need a shipping module please help

    Only change it in the 2nd occurance of that IF where the IF is preceeded with the comment so that this code:
    PHP 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;
          } 
    Will now read as this code (in just this one place):
    PHP 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!

  9. #19
    Join Date
    Mar 2006
    Posts
    477
    Plugin Contributions
    0

    Default Re: need a shipping module please help

    Ok now that works but now its giving free shipping world wide how to i regulate it to just the USA

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

    Default Re: need a shipping module please help

    You would need to make a zone for the US only to see this Shipping Module so that anyone outside the US does not ...

    Note: when setting this up there are the States, DC, Armed services and US territories related to the US ...

    You need to decide if the US is "all of the US" or just the states etc.
    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!

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. v152 Coupons not working when payment module is on. Need help Please
    By Fadora Vapor in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 26
    Last Post: 14 Apr 2014, 12:14 AM
  2. need help with an EFT payment module please..
    By Scott_C in forum Addon Payment Modules
    Replies: 4
    Last Post: 11 Feb 2010, 02:15 PM
  3. Canada post Module setting,please need Help
    By zmh in forum General Questions
    Replies: 12
    Last Post: 9 Mar 2008, 04:05 AM
  4. Urgent ... Need Help on Zone Shipping Module, please..
    By kcool in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 5 Oct 2007, 09:41 AM
  5. I need the Worldpay Module Please help !
    By ff7799 in forum Addon Payment Modules
    Replies: 3
    Last Post: 23 Jun 2006, 12:36 AM

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