Forum Replies Created
-
AuthorPosts
-
Hi, Dorian,
Sure, happy to help 🙂
Hi, Dorian,
As our plugin will process any shortcode, you can add and use your own custom shortcodes in the custom emails. For example, to add a
[signature]
shortcode, add this to your child theme’s functions.php file:add_shortcode( 'signature', function ( $atts, $content = '' ) { return 'My signature'; } );
Please give it a try and let me know what you think.
Hi Dorian,
Please update the plugin to the latest v1.7.2. Now there is a new option – “Copy settings” – at the bottom of each custom email’s settings page. Please give it a try and let me know what you think.
Hi Dorian,
Thank you for pointing it out. We’ve just added the description of the
[if]
shortcode to the plugin docs. Please take a look and let me know if you have any questions.As for the
[clear]
shortcode – it simply outputs an empty paragraph:<p></p>
.Hi Dorian,
Please update the plugin to the latest v1.7.1 and let me know if it’s working correctly now.
Hi Vera,
To be entirely sure, I would need to take a look at the code of your modifications, but I’m afraid yes – when the Pro version is activated, it disables and replaces all the functions of the free version. In other words, when the Pro version is activated, the free version can be deactivated, it’s no longer needed.
I hope this helps. Please let me know if you’ll have any questions.
Hi,
Please update the plugin to v1.3.2 – the plugin is now “High-Performance Order Storage (HPOS)” compatible.
Hi,
Please update the plugin to the latest v1.7.0. There I’ve added two options to translate emails:
Option 1 – Now there is a new option in the custom email’s settings – “Require WPML language”. In this case, you would need to configure different custom emails for each language and set the corresponding values in the “Require WPML language” option for each email.
Option 2 – You can use the new shortcode that I’ve added –
[translate]
– directly in the email’s settings. This way, you would need to configure only one custom email and translate the content, subject, etc., directly in the settings, e.g.:[translate lang="EN" lang_text="Subject for EN" not_lang_text="Subject for other languages"]
or:
[translate lang="EN"]Subject for EN[/translate][translate lang="DE"]Subject for DE[/translate][translate not_lang="EN,DE"]Subject for other languages[/translate]
P.S. You’ve mentioned that “… order details still shows in the wrong language…” – are you using the
[order_details]
shortcode to output the order details? If that’s the case – I’ve just tested – the shortcode’s content should be translated automatically, as the shortcode retrieves the content directly from the WooCommerce order details template.P.P.S. Regarding “… specific product as required…” – I’ve just tested the “Require products” option – it seems to be working fine here. If possible, please share access to your site, so I could log in and check what’s going on.
Hi Janis,
Please try adding this to the “HTML content” option:
[order_func func="get_customer_note"]
Please give it a try and let me know what you think.
Hi,
Could you please let me know which plugin you are using for the multi-language? Is it WPML?
As for the customer’s full name, please try this:
[order_func func="get_billing_first_name"] [order_func func="get_billing_last_name"]
P.S. Please let me know if you have a (staging) multi-language site where I can test the code – it would make things easier for me. My email is [email protected].
Hi,
Sorry for the late reply.
> 1- … is that the best solution…
Short answer: yes, I believe our plugin is suitable for your task. And no, it won’t give a heavy load on the server.
Long answer: Our plugin has two different algorithms. One is used when the rule’s “Time trigger” option is set to “0”. In this case, we use the same action as in your snippet. And if you set the “Time trigger” to a value higher than zero, the plugin will use crons to periodically check orders. The cron interval is set in the plugin’s “Advanced > Periodical Processing Options” settings section, so if you’d need to minimize the server load, you would set it to, e.g., “Once weekly” (by default, it’s set to “Once hourly”). And in your case, you can probably disable the “Periodical Processing Options > Use WP cron” option altogether, as you don’t need to check orders periodically.
> 2- do you have life time license ?
Unfortunately no, we don’t offer lifetime licenses for this plugin.
I hope this helps. Please let me know if you have any questions.
Hi Adebola,
Could you please let me know which WooCommerce PayPal payment gateway plugin you are using? There is a number of “compatibility” checkboxes in “WooCommerce > Settings > Payment Gateway Currency > Advanced” – please check if the checkbox for your PayPal gateway plugin is enabled there.
If that doesn’t help – would it be possible to share access to your site, so I could log in and check what’s going on (my email is [email protected])?
Hi again, Karel,
I think I was able to create a pop-up table. I’m going to add it to the plugin in one of the next versions. Meanwhile, if you are ok with adding a small PHP snippet, you can achieve it with the following:
/** * Wrap the product price in <div> (start). */ add_action( 'woocommerce_single_product_summary', function () { echo '<div class="alg_wc_product_ppq_popup">' . do_shortcode( '[alg_wc_product_ppq_table]' ); }, 9 ); /** * Wrap the product price in <div> (end). */ add_action( 'woocommerce_single_product_summary', function () { echo '</div>'; }, 11 ); /** * CSS. * * @see https://www.w3schools.com/css/css_tooltip.asp */ add_action( 'wp_head', function () { ?><style> .alg_wc_product_ppq_popup { position: relative; display: inline-block; } .alg_wc_product_ppq_popup .alg_wc_product_ppq_table { visibility: hidden; position: absolute; z-index: 1; width: 300px; top: 100%; left: 50%; margin-left: -150px; border: 1px solid black; } .alg_wc_product_ppq_popup:hover .alg_wc_product_ppq_table { visibility: visible; } </style><?php } );
-
AuthorPosts