maxidevs
Forum Replies Created
-
Forum: Plugins
In reply to: [MD Price Tracker for WooCommerce] doesn’t workThis means that the verification of sequrity nonces has failed. Nonces are used to protect forms from certain types of misuse, malicious or otherwise.
Forum: Plugins
In reply to: [MD Price Tracker for WooCommerce] Server intensive for large sitesHello!
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.Forum: Plugins
In reply to: [MD Price Tracker for WooCommerce] doesn’t workHello!
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;
Forum: Plugins
In reply to: [MD Price Tracker for WooCommerce] Shortcode integrationHello
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.Forum: Plugins
In reply to: [MD Price Tracker for WooCommerce] Shortcode integrationFor 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.
Forum: Plugins
In reply to: [MD Price Tracker for WooCommerce] Shortcode integrationYou 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.Forum: Plugins
In reply to: [MD Price Tracker for WooCommerce] Shortcode integrationHello,
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?
Forum: Plugins
In reply to: [MD Price Tracker for WooCommerce] Unsubscribe errorThanks for reporting this! This bug occurs when the generated unsubscribe token contains the
^
character, which is removed from the url by theesc _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 );
Forum: Plugins
In reply to: [MD Price Tracker for WooCommerce] No translation of invalid price messageGlad 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).Forum: Plugins
In reply to: [MD Price Tracker for WooCommerce] Adding Subscribe to Newsletter Opt In BoxHello!
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?Forum: Plugins
In reply to: [MD Price Tracker for WooCommerce] Queued to sentCan 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”.
Forum: Plugins
In reply to: [MD Price Tracker for WooCommerce] Queued to sentHello. 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?
Forum: Plugins
In reply to: [MD Price Tracker for WooCommerce] Text translateYou are welcome!
Forum: Plugins
In reply to: [MD Price Tracker for WooCommerce] Text translateThen 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.
Forum: Plugins
In reply to: [MD Price Tracker for WooCommerce] Text translateHello!
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!