• Resolved Narinder Singh

    (@narinderbisht)


    After plugin update. I try to empty the Enter Ways to Gain Points setting option. But it is reset if textarea is empty.
    Kindly check this issue. For the time being, I am fixing it manually.

    Thank you for a great plugin.

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

    (@wpswings)

    Hi,

    Thanks for using our plugin. In reference to your query please note that this value comes by default in the plugin text area.

    If you want to set it as blank then just hit space in the textbox and click on save changes. It will leave empty the section “Enter ways to gain points”.

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

    Thanks,

    Thread Starter Narinder Singh

    (@narinderbisht)

    But if we hit space. This means the value is not empty and it is not working with a single space. We need to enter 2 or more space.

    The box still appear in frontend. Please check the screenshot.
    https://prnt.sc/5-GOJ6xonPnK

    Please check file wps-wpr-points-template.php

    Line number: 76 and 138
    $wps_ways_to_gain_points_value = ! empty( $general_settings[‘wps_wpr_general_ways_to_gain_points’] ) ? $general_settings[‘wps_wpr_general_ways_to_gain_points’] : __( ‘[Refer Points] for Referral Points[Per Currency Spent Points] for Per currency spent points and[Per Currency Spent Price] for per currency spent price’ );

    It will not work to hide the box completely. If possible please provide an action or filter. So developers can modify the template from theme.

    Plugin Author WP Swings

    (@wpswings)

    Thank you for your response

    You can remove the box by removing the below code, and check the line number:
    line number: 138-152, file path:
    points-and-rewards-for-woocommerce\public\partials\wps-wpr-points-template.php

    Please note that, after removing this code if anything goes unwell, we will not be responsible for that.

    Thanks,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Issue with new update version’ is closed to new replies.