Home Forums Plugins WooCommerce Notification two feature requests

two feature requests

  • Author
    Posts
  • #175765

    AURA Plugins
    Participant

    hi,

    great work on the plugin. I have four feature requests (very simple ones):

    1. add ability to get order payment method used in order to show it in front end with shortcode / do actions.
    $payment_title = $order->get_payment_method_title();

    2. add ability to get coupon code(s) used in order to show them in front end with shortcode / do actions with coupons.

    // Get an instance of WC_Order object
    $order = wc_get_order( $order_id );
    // Coupons used in the order LOOP (as they can be multiple)
    foreach( $order->get_used_coupons() as $coupon_code ){
        // if coupon code contains kvr, then set payment method to KVRAudio.com
    }

    3. for privacy reasons, change last name to initial letter followed by dot, ie: “Jani K. purchased asdfasdf…”

    4. add google analytics source tracking for banner clicks to follow up how many customers came through the notification.

    here is why: showing visitors the payment method raises trust. also, when you target _blank a href to payment method provider, you gain even more trust. (see my screenshot i made with custom shortcode)

    I added styling to verified <span> element to show the checkmark icon and url to verified by FastSpring is black. I might add the url icon to it. This also applies if customer uses PayPal on checkout showing verified by PayPal.

    Now, if coupon code is used during checkout, I would like to display 3rd party sales site as verified source.
    Our store uses coupons which you can redeem if sold on 3rd party site to get instant download permissions.

    This way order is not verified by any real source, but our site. If coupon has the 3rd party predefined text like ‘kvr-asdfasdf-asdfasdf’, then we would like to show verified by KVRAudio.com.

    I hope you could add these features, at least the feature number 1, 3 and 4.

    Maybe add custom action hook to filter and modify data per real order information?

    I have now done this in my local environment but I am sure more users would find this interesting and trigger more sales for you.

    Attachments:
    You must be logged in to view attached files.

You must be logged in to see replies to this topic. Click here to login or register