Announcement

Collapse
No announcement yet.

Have Free Delivery over £50 on Site - Not Working Correctly-help!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Have Free Delivery over £50 on Site - Not Working Correctly-help!

    We had setup through the business settings on actinic v7
    for free delivery for the cost of goods over £50 inc VAT.

    Had thought it was working correctly until someone e-mailed us when trying to order two products on the same order, where the total cost of the goods came to £50.03 inc VAT

    I have attached a screenshot of shopping basket which shows the basket content and prices which supports the above.

    Now on the site if you carry on to the next page for the checkout, it is adding the delivery costs to the total even though the total including vat is over £50.00

    Have tried this on just one product that is over £50.00 and it works, but if you order two seperate items like the above its not working correctly.

    Have attached also the screenshot from our business settings for our setup of the free £50.00

    Am guessing something isnt quite right with this?

    Can anyone help me out.
    Attached Files

    #2
    Shipping is worked out on the Ex VAT cost of products in the basket so as your example subtotal is less than £50 then shipping costs are added. If you want to have your shipping worked out on the VAT inclusive prices then you need to make the following script change:

    - browse to your site folder and locate the 'ActinicOrder.pm' file (take a backup)
    - open the file with a text editor such as notepad
    - search for:

    Code:
    my @Response = CallShippingPlugIn($pCartList,
    - you should see:

    Code:
    my @Response = CallShippingPlugIn($pCartList, $nOrderAdjustedSubTotal);
    - replace this line with:

    Code:
    # my @Response = CallShippingPlugIn($pCartList, $nOrderAdjustedSubTotal);
    
    my $nShipBasis = $nOrderAdjustedSubTotal + $nOrderAdjustedSubTotalTax1 + $nOrderAdjustedSubTotalTax2;
    
    my @Response = CallShippingPlugIn($pCartList, $nShipBasis);
    - search again for 'CallShippingPlugIn($pCartList' and make the same change as above

    - close and save the file
    - update your site

    Actinic is not able to provide any detailed support for script changes made. If you find that there is a problem, an original copy of the script can be found within the 'Original' folder in your installation. Copy this into your site folder or restore your backup.
    ********************
    Tracey
    SellerDeck

    Comment


      #3
      Hi Tracey.

      Thanks for that it works a treat now, having tested it on the same two products as on my example

      Thanks so much for your help.

      Comment

      Working...
      X