Results 1 to 10 of 11

Thread: "Coupon Code" Plugin Improvement

Threaded View

  1. #6
    Master
    Join Date
    Apr 2012
    Location
    Germany
    Posts
    421

    Coupon Code and Discount in Transactions table

    Hallo Alexandre Ono and all who need this feature,

    I have decided to insert this feature in the transactions table.
    It makes more sense as a separate table.

    This feature will show you used coupon code inclusive the discount of a transaction.
    The discount is shown in brackets as A or P.
    P = discount in percent
    A = discount amount


    Please note this feature will only work with installed coupon plugin!

    Now here comes the solution.

    Part 1

    Login into the Admin Panel and go to Common -> Database
    Paste the follow SQL query

    Code:
    Only registered members can view the code.
    and press the button "Go".

    Part 2

    NOTICE: Please back up all files before change!

    Download and extract the files2change.zip.
    The folder structure in the zip file is the same as @ your ftp root.
    You must only replace the files in the folders via ftp in their folder in the root directory.

    Thats all.

    Now you can see coupon code including discount in the transactions table. See picture...

    newtransaction.jpg

    transaction.png

    INFO! I modified only paypal and 2co payment gateway for this feature.
    Every who wants this feature also for other paymant gateways report it here in this thread and i will help you.

    Best regards
    Steffen
    Last edited by Steffen Buschkemper; June 5, 2013 at 04:08 AM.