Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author maxidevs

    (@maxidevs)

    This means that the verification of sequrity nonces has failed. Nonces are used to protect forms from certain types of misuse, malicious or otherwise.

    Plugin Author maxidevs

    (@maxidevs)

    Hello!
    After checking your site, I saw that most of the products on your site are external products (correct me if this is not the case). If so, then I have a question: how (manually or automatically), at what point (оn pageload or in the background at certain intervals) and how often the price of the products is updated?
    The fact is that every time the price of a product is updated, the plugin makes an additional request to the database to check if there are any subscribers tracking the price of this product, and if there are any, then the plugin will check whether the price has been reduced to the level tracked by the subscriber, if this is true, then the plugin makes updates databases to queue a notification to a subscriber.
    Thus, in order to answer your question, I need to know how the prices of products are updated. By the fact that this is the most likely moment that can provoke additional load on the server.

    Plugin Author maxidevs

    (@maxidevs)

    Hello!
    This error message can be displayed in such cases:

    • some form fields are not filled;
    • security nonce validation failed;
    • Google reCaptcha is enabled in the plugin settings, but incorrect or outdated Google reCaptcha developper keys are used;
    • Google reCAPTCHA is enabled in the plugin settings, but we could not get a response from google servers to check the captcha;
    • Google reCAPTCHA is enabled in plugin settings, but captcha verification failed;
    Plugin Author maxidevs

    (@maxidevs)

    Hello

    Just a little thing I am not sure about, when the name on the product page visible is the Submit button label instead of the Form title. Is this normal?

    Yes it is intended to be like that.

    Something more important, I just noticed that all emails sent by the alert are going right to junk mails. Anyway I can work on this?

    Well, this is actually usual thing for shared server installs. WordPress has several plugins for sending email via external SMTP services, and our plugin should probably work with them (but this is untested).

    Is the plugin without the wp_mail() function ?

    The plugin uses the built-in woocommerce method to send emails which has some hooks inside… if some other plugin does not overwrite $mail_callback variable inside that method with a filter then wp_mail() is used.
    That is why the answer depends on what other plugins are used on the site.

    Plugin Author maxidevs

    (@maxidevs)

    For now, the shortcode does not work if product_id is not specified … I agree that this is very inconvenient, especially in this case.

    In the next version, support for using the shortcode without the product_id parameter will be added. At the moment, as a workaround, you can add the following snippet in functions.php of your child theme:

    
    add_filter( 'shortcode_atts_mdwcpt_form', function( $out ) {
    	if ( empty( $out['product_id'] ) && is_singular( 'product' ) && is_main_query() ) {
    		$out['product_id'] = get_the_id();
    	}
    	return $out;
    });
    

    With this code snippet shortcode should work on single product pages without product_id specified. Just [mdwcpt_form] should be enough.

    • This reply was modified 4 years, 7 months ago by maxidevs.
    Plugin Author maxidevs

    (@maxidevs)

    You have to put there id of the product.

    I tested the shortcode with Elementor, and the only problem is that when you are in edit mode, the result of the shortcode is not previewed automatically, but when you save your edits and go to the page, the shortcode works as expected.
    This is because of the way plugin loaded is currently not compatible with Elementor preview. Perhaps support for this will be added in future releases.

    Plugin Author maxidevs

    (@maxidevs)

    Hello,

    I just double tested shortcode on my setup and could not reproduce your issue. Could you describe in more detail where exactly you are inserting the shortcode and what other plugins are used?

    Plugin Author maxidevs

    (@maxidevs)

    Thanks for reporting this! This bug occurs when the generated unsubscribe token contains the ^ character, which is removed from the url by the esc _url() function before sending the email to the subscriber. This will be fixed in the next update, which will be uploaded in a few days. As a temporary fix, you can replace line 271 in wp-content/plugins/mdwcpt/inc/class-mdwcpt-admin.php with this line: $pass = wp_generate_password( 12, false ); and line 239 in wp-content/plugins/mdwcpt/inc/class-mdwcpt-background-emailer.php with this line: $data['pass'] = wp_generate_password( 12, false );

    Plugin Author maxidevs

    (@maxidevs)

    Glad you liked the plugin!
    In the current version of the plugin, translation of this text string is used only if the browser of the current user does not support the javascript “reportValidity” method, but if the “reportValidity” method is supported by the browser, then the error message (and ui) that is built into the browser is used (HTML5 built-in validation).

    Plugin Author maxidevs

    (@maxidevs)

    Hello!
    Unfortunately in the current version of the plugin there is no way to add a “Subscribe to Newsletter opt in box”. To fix this, we will add few hooks in the next version of the plugin.
    What exactly do you mean by Mailchimp integration?

    Plugin Author maxidevs

    (@maxidevs)

    Can you try adding the following code to the functions.php of your child theme:

    add_action( 'shutdown', function() {
        if ( function_exists( 'MDWCPT' ) && MDWCPT()->get( 'emailer' ) ) {
            MDWCPT()->get( 'emailer' )->maybe_launch();
        }
    });

    And then check if the status changed to “Sent”.

    Plugin Author maxidevs

    (@maxidevs)

    Hello. Our plugin does not use WP CRON to send emails. Instead, the plugin uses a slightly adapted version of the class that WOOCOMMERCE uses to send transactional emails in the background using ajax. Are you testing the plugin on a live site?

    Plugin Author maxidevs

    (@maxidevs)

    You are welcome!

    Plugin Author maxidevs

    (@maxidevs)

    Then the workaround is to simply leave all the fields empty in the section mentioned above. This will force the plugin to use the default strings instead of pulling them from the database. But before that update the plugin to version 0.1.2 released yesterday, in earlier versions it will not work due to bug. The same should be done in the Emails section in order to be able to translate content and headers of the emails.

    Plugin Author maxidevs

    (@maxidevs)

    Hello!
    All form labels can be translated via the plugin settings interface. To do this, open the WordPress dashboard and navigate to the Woocommerce -> Settings -> Price Tracking tab -> Form labels section and fill in all the fields available in this section.
    Let me know if there are any issues with this!

Viewing 15 replies - 1 through 15 (of 15 total)