Announcement

Collapse
No announcement yet.

amending cart total re discounts

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

    amending cart total re discounts

    Hopefully someone can point me in the right direction....

    I want to amend the cart pages so that if someone uses a coupon the adjustment shows in the cart but is not applied to the sub/totals.

    This is because people are only paying a deposit and the balance is displayed elsewhere in the cart but the discount will come off the balance, not the price to pay now.

    Im thinking this is orderscript.pl but any clues please?

    version 8 shop
    seo company: web development - online marketing - actinic ecommerce

    #2
    Kevin,

    Apologies for this not having a response for this length of time. I will have to run this past development for you.

    Kind regards,
    Bruce King
    SellerDeck

    Comment


      #3
      ActinicOrder::SummarizeOrder is your friend. Especially see the lines
      Code:
      	$nAdjustedProductSubTotal = $nProductSubTotal + $nProductAdjustments;
      	ArrayAdd(\@aAdjustedProductSubTotalTax, \@aProductSubTotalTax);
      	ArrayAdd(\@aAdjustedProductSubTotalTax, \@aProductAdjustmentsTax);
      for product level adjustments and some lines below for order level adjustments. But you must be careful modifying this bit as your tax calculation may easily go wrong.

      I hope this helps.
      Zoltan
      Actinic Software
      www.actinic.co.uk

      Comment


        #4
        Ok many thanks - will give this a go.

        rgds, Kevin
        seo company: web development - online marketing - actinic ecommerce

        Comment

        Working...
        X