Announcement

Collapse
No announcement yet.

How can I have the shipping costs worked out on the product prices including VAT?

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

    How can I have the shipping costs worked out on the product prices including VAT?

    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:

    my @Response = CallShippingPlugIn($pCartList,

    * you should see:

    my @Response = CallShippingPlugIn($pCartList, $nOrderAdjustedSubTotal);

    * replace this line with:

    # 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


    SellerDeck 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.
Working...
X