Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    May 2005
    Location
    Australia
    Posts
    334
    Plugin Contributions
    2

    Default Re: Store Pickup for Friends only

    Yea, see i don't know how to do this ...

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

    Default Re: Store Pickup for Friends only

    In order to tell you all that you have to do, I would have to sit down and write the code to manage this for you ...

    As I say, it can be done ... it just takes customization to the code to manage the conditions where a given Group Discount group controls the shipping module(s) ...
    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!

  3. #3
    Join Date
    May 2005
    Location
    Australia
    Posts
    334
    Plugin Contributions
    2

    Default Re: Store Pickup for Friends only

    Quote Originally Posted by Ajeh View Post
    In order to tell you all that you have to do, I would have to sit down and write the code to manage this for you ...

    As I say, it can be done ... it just takes customization to the code to manage the conditions where a given Group Discount group controls the shipping module(s) ...
    Do you know of any other mod that has this ability so that i can use it as a base...

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

    Default Re: Store Pickup for Friends only

    Look at the shipping modules ...

    You will see that there is a function that controls them via the $this->enabled example on the file:
    /includes/modules/shipping/item.php
    PHP Code:
          // disable only when entire cart is free shipping
          
    if (zen_get_shipping_enabled($this->code)) {
            
    $this->enabled = ((MODULE_SHIPPING_ITEM_STATUS == 'True') ? true false);
          } 
    If you did a search in the Tools ... Developer's Tool Kit ... in the bottom input box for:
    function zen_get_shipping_enabled
    Select Catalog/Admin ... Click Search ...

    You would find two files with this function ...

    The one in the Admin just returns true so that the module loads properly in the Modules ... Shipping ...

    The one in the Catalog checks for various conditions and returns true or false when the shipping module should be displayed ...

    If you were to write a function to manage the $this->enabled for the storepickup.php to look up the customer's group_id then you could make a similar function to enable/disable the shipping module ...
    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!

  5. #5
    Join Date
    May 2005
    Location
    Australia
    Posts
    334
    Plugin Contributions
    2

    Default Re: Store Pickup for Friends only

    [quote] /home/delights/public_html/store/includes/functions/functions_general.php [quote]

    and

    /home/delights/public_html/store/admin/includes/functions/general.php
    They are the two returns,

    /home/delights/public_html/store/includes/functions/functions_general.php
    This is the one that i am guessing i want.
    Last edited by Darkwander; 1 Nov 2006 at 01:38 PM.

 

 

Similar Threads

  1. Multiple store pickup locations and only for certain items
    By divalyn in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 30 Mar 2009, 07:53 PM
  2. Store Pickup only?
    By HDG in forum General Questions
    Replies: 3
    Last Post: 19 Dec 2008, 06:14 AM
  3. In store pickup only?
    By linuxw00t in forum General Questions
    Replies: 1
    Last Post: 27 Feb 2007, 01:48 AM
  4. In-store pickup only for some item
    By pglatz in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 11 Jun 2006, 10:54 PM

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