Page 1 of 5 123 ... LastLast
Results 1 to 10 of 41
  1. #1
    Join Date
    Jan 2013
    Location
    New Port Richey, Florida
    Posts
    967
    Plugin Contributions
    0

    Default Freightquote.com shipping module

    Anyone using this module for freight quotes in zencart-version 1.51
    How is it working for you.

  2. #2
    Join Date
    Jan 2013
    Location
    New Port Richey, Florida
    Posts
    967
    Plugin Contributions
    0

    Default Re: Freightquote.com shipping module

    i believe this module is the same one that is in the downloads and was written for version 1.37, I downloaded from Frieghtquote.com
    i am running zen-cart version 1.51 and have installed this module. It is working however there are a few issues with it.
    1. wont change from customer provided input. For instance i have default of Residential Checked off, When customer chooses Commercial It Processes but doesn't Change to Commercial. I think because v1.37 had a different database than v1.51
    2.Wont show a rate if weight has a decimal, Has to be rounded to the nearest Lb.
    Does anyone Know how to correct these issues?
    Thankyou
    Jimmie

  3. #3
    Join Date
    Jan 2013
    Location
    New Port Richey, Florida
    Posts
    967
    Plugin Contributions
    0

    Default Re: Freightquote.com shipping module

    3. Also does not show a rate if not logged in

  4. #4
    Join Date
    Jan 2013
    Location
    New Port Richey, Florida
    Posts
    967
    Plugin Contributions
    0

    Default Re: Freightquote.com shipping module

    i need to change this code
    Code:
    $shipping_form .= '<select name="freightquote_delivery_location" onchange="window.location.href=\'' . zen_href_link(FILENAME_CHECKOUT_SHIPPING, 'freightquote_delivery_location=') . '\'+this.value">';
    i have a default choose selected,when they go to shopping cart it shows my default selection (Residence). Right now when a customer chooses another selection (Commercial) it redirects them to FILENAME_CHECKOUT_SHIPPING with (Residence) still selectedand will not change.

    i changed the code to this
    Code:
    $shipping_form .= '<select name="freightquote_delivery_location" onchange="window.location.href=\'' . zen_href_link(FILENAME_SHOPPING_CART, 'freightquote_delivery_location=') . '\'+this.value">';
    and when on shopping page it works as expected.but checkout shipping still doesnt work goes back to FILENAME_SHOPPING_CART, need the proper name to go in here so it works on both pages

  5. #5
    Join Date
    Jan 2013
    Location
    New Port Richey, Florida
    Posts
    967
    Plugin Contributions
    0

    Default Hide module from certain state

    i need to hide FLORIDA from showing, but show to everyone else.(i use another module to handle Florida)
    i added this because i dont want it to show if under 150 to anyone
    Code:
    if (!IS_ADMIN_FLAG) {      
          global $cart;      
          if ($_SESSION['cart']->weight < 150 ) {        
          $this->enabled = false;       
         }     }
    thankyou
    jimmie

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

    Default Re: Hide module from certain state

    Could you give more details?

    What are you trying to hide from FLORIDA?
    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!]
    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. #7
    Join Date
    Jan 2013
    Location
    New Port Richey, Florida
    Posts
    967
    Plugin Contributions
    0

    Default Re: Hide module from certain state

    Don't want shipping module to show when customer wants it shipped to Florida or show if under 150 lbs.

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

    Default Re: Hide module from certain state

    You could try this, for example if you were customizing the Zone Rate zones shipping module you would add the code in RED:
    Code:
          // disable only when entire cart is free shipping
          if (zen_get_shipping_enabled($this->code)) {
            $this->enabled = ((MODULE_SHIPPING_ZONES_STATUS == 'True') ? true : false);
          }
    
          global $total_weight, $order;
          //echo 'zones total_weight: ' . $total_weight . ' Zone: ' . $order->delivery['zone_id'] . '<br>';
          if ($order->delivery['zone_id'] == 18 || $total_weight >= 150) {
            $this->enabled = false;
          }
    
    Where 18 is the zone_id for Florida ...
    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!]
    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. #9
    Join Date
    Jan 2013
    Location
    New Port Richey, Florida
    Posts
    967
    Plugin Contributions
    0

    Default Re: Hide module from certain state

    At work try it later, but does it disable under 150 everywhere else.
    thankyou

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

    Default Re: Hide module from certain state

    Change that to < vs >= as I wrote that backwards ...

    The limit for weight is to block it for everyone ...
    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!]
    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 1 of 5 123 ... LastLast

Similar Threads

  1. v139h Hide COD payment method from certain customers?
    By TroyC in forum General Questions
    Replies: 3
    Last Post: 5 Apr 2013, 04:19 PM
  2. Hide Search box from certain categories
    By pixelpadre in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 29 Aug 2011, 01:49 AM
  3. Hide certain products from a group of users
    By mohammedsk in forum Basic Configuration
    Replies: 4
    Last Post: 29 Dec 2009, 06:31 AM
  4. Hide Certain EZ Pages Links from main page??
    By lmw1 in forum Basic Configuration
    Replies: 0
    Last Post: 6 Oct 2007, 12:18 PM
  5. Hide Table Shipping Module from Certain Customers
    By bearaman in forum General Questions
    Replies: 1
    Last Post: 29 Jun 2007, 05:51 AM

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