Announcement

Collapse
No announcement yet.

Percentage of Order to Charity Display

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

    Percentage of Order to Charity Display

    I'm currently in discussion with the NSPCC to become a recognised partner of their charity. What I envisage is that for each order received a fixed percentage would be donated to the NSPCC e.g. 5% of each order.

    Is there anyway that I could display to my customers after they have completed their order that X amount will be donated to the NSPCC e.g.

    Thank you for your order, of which 3.00 will be donated to the NSPCC.

    Best Regards

    Elfyn
    iBabyShop.co.uk

    #2
    There is - but it would need a Javascript calculation in Act_Order04.html on the following variable...

    NETQUOTEVAR:ACTINICORDERTOTAL

    This is the variable which will turn into the Actinic order total with no formatting, and in pence.

    Comment


      #3
      Something like
      Code:
      Thank you for your order, of which 
      <script language=JavaScript>
      <!-- example is for 3%
      document.write( (NETQUOTEVAR:ACTINICORDERTOTAL / 100 * 3).toFixed(2) );
      //-->
      </script>
       will be donated to the NSPCC.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Hi,

        I’m looking to achieve something similar with V9 multi-site. Ideally what I would like to happen is the customer enter a code and then the cart to display “£4.66 - 5% of this order has been donated to specified charity”

        Any help or way of achieving this much appreciated

        Theoretically it doesn’t need to display the percentage amount just the 5% donation message, but it would be an added bonus if anyone could suggest how to do both!

        Thanks in advance for any thoughts
        Lucy

        Comment

        Working...
        X