• Hi, Ive installed the free plugin and been trying to get the referral link to appear but I cant seem to get it to appear on the account page. Im using Astra theme. It doesnt seem to be a common problem people are having so Im a little perplexed. Any help getting it going would be great so I can test the free version before ordering the premium version. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Goran87

    (@goran87)

    Sorry for the late reply here.

    I can be one of 2 things, referral links have the woocommerce-message class added to it and some themes can hide it, so under public/class-gens-raf-public.php, line 270, remove “woocommerce-message” class and see if that helps. If it does not, that means the standard woocommerce action for my account page is missing. That is the class-gens-raf.php line 187, I am using woocommerce_before_my_account actions, you should check what your theme has on my account page, and use that one.

    Thread Starter knob

    (@knob)

    Thanks Goran.

    “woocommerce-message” class was the problem. It was display:none in css. I have now set the class to be more specific for its purpose.

    Thread Starter knob

    (@knob)

    Im sure you probably know but just a heads up that woocommerce_before_my_account was deprecated.

    /**
    * My Account dashboard.
    *
    * @since 2.6.0
    */
    do_action( ‘woocommerce_account_dashboard’ );

    /**
    * Deprecated woocommerce_before_my_account action.
    *
    * @deprecated 2.6.0
    */
    do_action( ‘woocommerce_before_my_account’ );

    Thread Starter knob

    (@knob)

    looks like class-gens-raf.php line 187 is using woocommerce_account_content instead. i guess that does the same thing. actually looks like that puts the referral link after the content of every my-account/dashboard page

    • This reply was modified 6 years, 3 months ago by knob.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘no links or info showing on user account page’ is closed to new replies.