Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23
  1. #21
    Join Date
    Apr 2019
    Posts
    345
    Plugin Contributions
    0

    Default Re: Shipping Surcharge [Support Thread]

    I see. Thanks for your info.

  2. #22
    Join Date
    Jan 2008
    Posts
    149
    Plugin Contributions
    0

    Default Re: Shipping Surcharge [Support Thread]

    Can this module be used to apply a shipping surcharge when items from specific categories are added to the cart? For example, I offer free shipping on orders over $500, but if a customer is buying certain supplies I need to add a $5 surcharge (so the total shipping is $5 instead of free) to offset the higher shipping costs (BUT ONLY WHEN FREE SHIPPING IS ELIGIBLE)--I have other shipping modules calculate correct shipping price when order total is below $500. What would be the best/easiest way to implement this, if it's even possible?

  3. #23
    Join Date
    Aug 2013
    Location
    Perth, WA, AU
    Posts
    279
    Plugin Contributions
    4

    Default Re: Shipping Surcharge [Support Thread]

    Quote Originally Posted by njcyx View Post
    Another issue, but it is not critical to me.

    Under the order-total, there is an option under this surcharge plug-in: Charge a Shipping Surcharge. By default, it is set to true. I checked my checkout page, and the surcharge only applied to the sub-total number. Shipping is not included. But anyway, I don't plan to apply surcharge on the shipping.
    In actual fact I want to surcharge the shipping only - this would be useful - as in the case right now - where fuel costs are going up and you either do your own local deliveries or your courier is passing on a fuel charge so you want to pass this onto your customer.

    To do this change line 114 from -

    PHP Code:
    $shipping_surcharge = ($order->info['subtotal'] * ((float)MODULE_ORDER_TOTAL_SHIPPINGSURCHARGE_AMOUNT/100)); 
    to

    PHP Code:
    $shipping_surcharge = ($order->info['shipping_cost'] * ((float)MODULE_ORDER_TOTAL_SHIPPINGSURCHARGE_AMOUNT/100)); 

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. v157 USPS Shipping Module [Support Thread]
    By lat9 in forum Addon Shipping Modules
    Replies: 446
    Last Post: 27 Mar 2026, 01:52 PM
  2. Shipping Rates in Cart [support thread]
    By Steven300 in forum Addon Shipping Modules
    Replies: 95
    Last Post: 12 May 2023, 02:39 AM
  3. Add Shipping Telephone Support Thread
    By JTheed in forum Addon Admin Tools
    Replies: 31
    Last Post: 4 Sep 2018, 11:14 AM
  4. Free Shipping Rules addon [Support Thread]
    By numinix in forum Addon Shipping Modules
    Replies: 36
    Last Post: 2 Dec 2016, 01:56 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