• Resolved charmp121

    (@charmp121)


    Hello,
    You wrote me this before in a support email. You can do so by using woo_wallet_cashback_amount filter.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter charmp121

    (@charmp121)

    Sorry for the delayed response to this support item. However, I am a novice when it comes to WordPress and specific coding. Can you give me better or more detailed instructions on how to use the cashback_amoount filter? Any help in this matter would be greatly appreciated.

    Thank you.

    Thread Starter charmp121

    (@charmp121)

    Tried to figure out the filter myself but do not know the specifics of hooks and filters. Here is what I came up with to offer 2 different cashback amounts based on the persons group membership.

    add_filter( ‘woo_wallet_cashback_amount’, ‘change_woo_wallet1’ );
    function change_woo_wallet1() {
    echo do_shortcode (‘[groups_member group=”Registered”]’);
    $cashback_amount=2;
    echo do_shortcode (‘ [/groups_member] ‘);
    echo do_shortcode (‘[groups_member group=”Elite”]’);
    $cashback_amount=4;
    echo do_shortcode (‘ [/groups_member] ‘);
    }

    The only thing I could find is group membership shortcodes so I tried to implement it into the code. Not sure if it will work. Any help or suggestions on your end would be appreciated.
    Thank you.

    Plugin Author Subrata Mal

    (@subratamal)

    @charmp121

    Which plugin are you using for group membership?

    Thread Starter charmp121

    (@charmp121)

    I am using itthinx grous plugin with the woocommerce addon. Here are the links for them…

    1. https://www.ads-software.com/plugins/groups/
    Groups on my site creates the initial group for those users who are registered on my site – “registered”. They should get 2% rewards cartwise.
    Then I created a new subscription group which one needs to buy a digital product to qualify. That group is called “Elite”. They should get 4% rewards cartwise.

    The other additional plugin is groups woocommerce here is the link. https://www.itthinx.com/shop/groups-woocommerce/
    Not completely sure how these 2 plugins join together. I just need to assign different rewards to different groups.
    Also, non registered users (guest) are not earning any rewards until they register and login.
    Please review and advise.
    Any help is much appreciated. Thank you.

    Thread Starter charmp121

    (@charmp121)

    Any update or help on this matter would be greatly appreciated.

    Thanks.

    Plugin Author Subrata Mal

    (@subratamal)

    @charmp121,

    This can be done by some custom coding. Please reach out to us at [email protected] for extended support because support here is limited.

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Follow up from before’ is closed to new replies.