Announcement

Collapse
No announcement yet.

How can you get the mini cart display to show prices as per my requirements? For e...

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

    How can you get the mini cart display to show prices as per my requirements? For e...

    How can you get the mini cart display to show prices as per my requirements? For example, it shows the inclusive price even if you choose to show tax exclusive prices on the store pages.

    Edit ActinicOrder.pm (Open with notepad)

    Search for 'sub GenerateCartCookie'
    Scroll down untill you see...

    my $nTotal = $Response[6];

    $Response is an array which contains the following values...

    2 - sub total
    3 - shipping
    4 - tax 1
    5 - tax 2
    6 - total
    7 - tax 1 on shipping (fraction of 4 that is due to shipping)
    8 - tax 2 on shipping (fraction of 5 that is due to shipping)
    9 - handling
    10 - tax 1 on handling (fraction of 4 that is due to handling)
    11 - tax 2 on handling (fraction of 5 that is due to handling)

    Normal reported value is total(6).

    For total excluding tax but including shipping and handling change the above to...

    my $nTotal = $Response[2] + $Response[3];

    For total excluding tax, shipping and handling change the above to...

    my $nTotal = $Response[2];

    To exclude shipping and handling may not be enough, it may also be
    necessary to exclude the tax on shipping and handling in which case...

    $Response[2] + $Response[4] + $Response[5] - $Response[7] - $Response[8] - $Response[10] - $Response[11]

    This should be the cart sub total plus tax on the cart sub total.

    Save and Exit. Update the 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, replace the script you have changed and upload to you site. If you have a test facility, we strongly recommend that you test any changes before you upload them to your live site.
Working...
X