Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author WP Swings

    (@wpswings)

    Hi,

    Thanks for sharing your query with us.

    In reference to your query, currently, there are no such hooks available in order to extend the points tab for admin.

    Could you please share your exact requirement, and how you want to use our plugin so that we can assist you accordingly

    Regards,

    Thread Starter snippet24

    (@snippet24)

    Okey main purpose is editing the description text in the my account points tab as well as translating it to spanish, so I was considering hiding current notices/messages in my cart page and instead create another notice that link to the “my account points” tab where the details on how to earn / use points are further explained. I would rather use hooks to modify content instead of gettext filters…
    Update: how can I hide current messages in login and cart page? I ask because since there’s no id nor hook I’m afraid I can’t hide them currently
    https://drive.google.com/file/d/1EMvrs7dM4R-ZV9iU6t_UWphVe0whDj9o/view?usp=sharing

    • This reply was modified 1 year, 11 months ago by snippet24.
    • This reply was modified 1 year, 11 months ago by snippet24.
    • This reply was modified 1 year, 11 months ago by snippet24.
    • This reply was modified 1 year, 11 months ago by snippet24.
    Plugin Author WP Swings

    (@wpswings)

    Hi,
    Thank you for your explanation.

    In reference to your query, please note that for translating the plugin string, please use the Loco translate plugin. Please check from here:
    https://wordpress.org/plugins/loco-translate/

    And for adding the details on “how to earn / use points are further explained” please go to “General settings tab -> Text Settings -> Enter ways to Gain Points”, from here you can enter the text you want to display on front-end.

    In reference to your third query, you can hide the cart message from the below path:

    1. For removing ” Points will not be applied on sale products”
    Please go to: Pro plugin folder -> public folder -> class-points-and-rewards-for-woocommerce-pro-public.php -> check line number: 5132 and 5523

    2. For removing ” PLACE ORDER AND EARN REWARD POINTS IN RETURN”
    Please go to: Org plugin folder -> public folder -> class-points-rewards-for-woocommerce-public.php -> check line number 1381

    3. For removing ” Here is the Discount Rule for Applying your Points to Cart Total”
    Please go to: Org plugin folder -> public folder -> class-points-rewards-for-woocommerce-public.php -> check line number 1362

    Hope this resolves your query. If further, you have any queries, please feel free to connect with us.

    Thanks,

    Thread Starter snippet24

    (@snippet24)

    Hi,

    In reference to your third query, you can hide the cart message from the below path:

    but that means I have to modify the template every time I update the plugin… could you provide hooks for changing that info?

    And for adding the details on “how to earn / use points are further explained” please go to “General settings tab -> Text Settings -> Enter ways to Gain Points”, from here you can enter the text you want to display on front-end.

    Okey but that way I cant set a general paragraph in addition to “ways to earn “points”, with hooks I may be able to do so…

    Plugin Author WP Swings

    (@wpswings)

    Hi,

    Thank you for your response.

    In reference to your query, yes currently you have to do that manually after updating the plugin.

    No, currently, you cannot set the text as a paragraph. But we have noted your point, we will check the possibility for this feature with our team and will try to add this feature in the upcoming version of the plugin.

    Thanks,

    Thread Starter snippet24

    (@snippet24)

    Okey, thank to you 🙂

    Plugin Author WP Swings

    (@wpswings)

    Hi,

    Thank you for your response.

    If in the future you need any help please feel free to connect with us. We will be happy to assist you.

    Thanks,

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘What are the hooks referenced in the description?’ is closed to new replies.