Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13
  1. #11
    Join Date
    Aug 2008
    Posts
    448
    Plugin Contributions
    0

    Default Re: Hiding Shipping Rate

    thanks joseph,
    unfortunately the $0.00 rate still shows in shipping estimator and where the customer selects their shipping method. It works on the payment page and confirm order page though

  2. #12
    Join Date
    Aug 2008
    Posts
    448
    Plugin Contributions
    0

    Default Re: Hiding Shipping Rate

    Quote Originally Posted by Ajeh View Post
    Let's say I was using the Item Rate item shipping module ...

    You would see the code:
    PHP Code:
          $this->quotes = array('id' => $this->code,
                                
    'module' => MODULE_SHIPPING_ITEM_TEXT_TITLE,
                                
    'methods' => array(array('id' => $this->code,
                                                         
    'title' => MODULE_SHIPPING_ITEM_TEXT_WAY,
                                                         
    'cost' => (MODULE_SHIPPING_ITEM_COST $item_total_count) + MODULE_SHIPPING_ITEM_HANDLING))); 
    That builds the output for this ...

    You can alter that based on certain conditions to display something else ...
    Linda I found the part that I'm going to change, but I'm not sure how to change it. Here is the part for the table I'm using:

    Code:
    $this->quotes['methods'][0] = array( 'id' => $method,
                                               'title' => zen_get_configuration_key_value('MODULE_SHIPPING_STATICLIST_OPT_' . $method),
                                               'cost'  => zen_get_configuration_key_value('MODULE_SHIPPING_STATICLIST_COST_' . $method) + $fee );
    can I just replace:
    'cost' => zen_get_configuration_key_value('MODULE_SHIPPING_STATICLIST_COST_' . $method) + $fee );

    with :
    'cost' => 'TBD');

    I'm not sure if cost is a string or an integer type and I'm not sure how to do assigning with PHP code. Is this doable?

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

    Default Re: Hiding Shipping Rate

    You'd really need to try that ... I think that is going to be grabbed and converted but I am not positive as I don't have this module to fool with ...
    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 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 2
    Last Post: 12 Feb 2013, 01:23 AM
  2. Rate Table Shipping plus Flat Rate Shipping
    By JRayfield in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 28 Dec 2008, 12:23 AM
  3. Flat Rate shipping challenge - need a separate rate for a few heavier items
    By Nigel Lew in forum Built-in Shipping and Payment Modules
    Replies: 9
    Last Post: 27 Jun 2008, 10:07 PM
  4. Help with hiding table rate?
    By Nixak in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 22 Dec 2007, 03:02 PM
  5. Flat rate shipping-one rate euro, one rate international
    By schwimwastaken in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 11 Oct 2006, 04:59 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