Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23
  1. #21
    Join Date
    Feb 2011
    Posts
    6
    Plugin Contributions
    0

    Default Re: different shipping for different customers

    I also have the dual pricing module installed and we have several products marked as "Always Free Shipping" but we don't want those to have free shipping when someone is logged in as a wholesale customer. We are using freeshipper for the free shipping and when I modified it to include this:
    if($_SESSION['customer_whole']=='1' && $this->enabled==true)
    {
    $this->enabled = false;
    }

    it still shows the free shipping icon for the product and in the checkout it says, "Sorry, we are not shipping to your region at this time." Any help as to how to enable shipping (using fedexwebservices) for wholesale customers for products marked as free shipping? Thanks in advance for any help you can offer!

  2. #22
    Join Date
    Feb 2011
    Posts
    6
    Plugin Contributions
    0

    Default Re: different shipping for different customers

    I found that I needed to add a line to the fedexwebservices.php to enable it for wholesale users as well. Now it works the way I need it to.

  3. #23
    Join Date
    Sep 2017
    Location
    White City
    Posts
    15
    Plugin Contributions
    0

    Default Re: different shipping for different customers

    I am so confused why I this wont work. I am working with 1.5.5f.

    Group Pricing
    ID Group Name
    1 PO-DEALER
    2 PO-E-TAILER
    3 PO-DISTRIBUTOR
    4 PO-MANUFACTURE

    I am trying to only enable the Freeoptions shipping module for my PO_DEALER in my Group Pricing.
    The disable code below doesn't work for turning off Freeoptions shipping module for all except PO_DEALER.

    Also

    I am trying to only enable the purchaseorders payment module for my PO_DEALER in my Group Pricing.
    The disable code below doesn't work for turning off purchaseorders payment module for all except PO_DEALER.

    ################################################################################ ######################################################################__

    // disable only when entire cart is free shipping
    if (zen_get_shipping_enabled($this->code)) {
    $this->enabled = ((MODULE_SHIPPING_FREEOPTIONS_STATUS == 'True') ? true : false);
    }

    // disables wholesale shipping when you are retail customer
    $this->enabled = ((MODULE_SHIPPING_FREEOPTIONS_STATUS == 'True') ? true : false);
    if($_SESSION['PO_DEALER']=='1' && $this->enabled==true)
    {
    $this->enabled=true;
    }else{
    $this->enabled=false;
    }

    ################################################################################ ################################################################################

    $this->code = 'purchaseorders';
    $this->title = MODULE_PAYMENT_PURCHASEORDER_TEXT_TITLE;
    $this->description = MODULE_PAYMENT_PURCHASEORDER_TEXT_DESCRIPTION;
    $this->sort_order = MODULE_PAYMENT_PURCHASEORDER_SORT_ORDER;
    $this->enabled = ((MODULE_PAYMENT_PURCHASEORDER_STATUS == 'True') ? true : false);

    // disables wholesale shipping when you are retail customer
    $this->enabled = ((MODULE_PAYMENT_PURCHASEORDER_ORDER_STATUS == 'True') ? true : false);
    if($_SESSION['PO_DEALER']=='1' && $this->enabled==true)
    {
    $this->enabled=true;
    }else{
    $this->enabled=false;
    }


    Please can anyone help out. I am guessing it is something simple.
    Thanks

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. v150 Different payment methods for different Customers
    By Tuner in forum Managing Customers and Orders
    Replies: 9
    Last Post: 18 Nov 2012, 04:51 PM
  2. Using different Authorization types for different customers in firstdata?
    By rjkkjr in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 18 May 2011, 07:45 PM
  3. Different prices for different customers
    By uncobeth in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 8 Mar 2011, 07:43 PM
  4. Replies: 8
    Last Post: 3 Sep 2010, 06:29 AM
  5. Replies: 5
    Last Post: 29 Jan 2008, 06:22 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