Forum Replies Created
-
AuthorPosts
-
Hi,
In our plugin, we use the TCPDF library; there, the
TCPDF2DBarcode
class includes theQRcode
class. So we are doing theclass_exists( 'TCPDF2DBarcode' )
check to ensure that no other plugin has included this class already. If the “WooCommerce Ultimate Gift Card” plugin would do the same, then there should be no issues. Also, there is a possibility that they use theQRcode
class directly, i.e., not as a part of the TCPDF library – to be sure, I would need to check their plugin code. Could you please send me their plugin (my email is [email protected])?Hi,
Sorry for not getting back to you sooner.
I believe this should be fixed in the “WooCommerce Ultimate Gift Card” plugin. They should check if the
TCPDF2DBarcode
class already exists (as we do in our plugin), something like this:if ( ! class_exists( 'TCPDF2DBarcode' ) ) { require_once 'path/to/tcpdf_barcodes_2d.php'; }
I wanted to find the exact line in the “WooCommerce Ultimate Gift Card” plugin code, but as I understand, the
QRcode
is a premium feature there, right?Hi, Philipp,
Sorry for not getting back to you sooner.
Please update the plugin to the latest v4.3.6. Then go to “WPFactory > EU VAT > Compatibility > PDF Invoices & Packing Slips for WooCommerce” and set the “Prefix” option there.
Please give it a try and let me know what you think.
And if you like the plugin, please consider leaving us a rating.
Update: Both issues were fixed in the plugin v3.7.8.
Hi, Susan,
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])? Please let me know if sharing an account is not an option, and I will continue solving it remotely.
Hi, Susan,
Could you please try enabling the “Other cart discounts > Apply wholesale discount only if no other cart discounts were applied” checkbox in “WooCommerce > Settings > Product Price by Quantity > General” and let me know if that helps?
Hi, Lisa,
Happy to help 🙂
Please let me know if you’ll notice anything else.
Hi, Lisa,
Please update the plugin to the latest v3.5.5 (released today) – the error should be gone now.
Hi, Eike,
Please update the plugin to the latest v2.9.8.
Then, you will find new “Payment gateways” options in “WooCommerce > Settings > Price Offers > General > Advanced Options”.
Please give it a try and let me know what you think.
And if you like the plugin, please consider leaving me a rating.
Hi, Eike,
Wasn’t possible, but I have just added it to the plugin. Please update the plugin to the latest v2.9.2. Now you can use the
%product_url%
placeholder in all plugin’s emails, e.g.:<a href="%product_url%">%product_title%</a>
Please give it a try and let me know what you think.
And if you like the plugin, please consider leaving me a rating.
Hi, Julian,
Please update the plugin to the latest v1.7.0 – it is now “High-Performance Order Storage (HPOS)” compatible.
Hi,
Sorry for not getting back to you sooner.
Do you mean you want to run this once, i.e., go through all your currently existing users and send an email if the user has two or more orders?
If that’s the case, please add this PHP snippet to your site:
/** * Sends custom emails to the users. * * @see https://example.com/wp-admin/?my_wpfactory_send_user_emails */ add_action( 'admin_init', function () { if ( isset( $_GET['my_wpfactory_send_user_emails'] ) && current_user_can( 'manage_woocommerce' ) && function_exists( 'alg_wc_ce_send_email' ) ) { // Custom vars $custom_email_id = 1; // Custom email #1 $min_order_count = 2; // Set up user emails add_filter( 'alg_wc_custom_emails_is_user_email', '__return_true' ); // Users loop $users = get_users( array( 'role__in' => array( 'customer' ) ) ); foreach ( $users as $user ) { if ( ( $customer = new WC_Customer( $user->ID ) ) && $customer->get_order_count() >= $min_order_count ) { alg_wc_ce_send_email( $custom_email_id, $user->ID ); } } // The end die(); } } );
After that, you can run the snippet with this URL:
https://example.com/wp-admin/?my_wpfactory_send_user_emails
The snippet will send the “Custom email #1” (you can change that by updating the
$custom_email_id
value in the snippet) to each user with two or more orders (see the$min_order_count
).In the email settings (in “WooCommerce > Settings > Emails > Custom email #X”), leave the “Recipients” field empty – the plugin will automatically use the user’s email.
Also, you can use our
[user_prop]
shortcode in the content, e.g.:Hi, [user_prop key="display_name"],
Please give it a try and let me know what you think.
Hi,
Please update the plugin to the latest v2.1.3. Then try our new
[order_shipping_total_incl_tax]
shortcode, e.g.:[order_shipping_total_incl_tax format="price" before="Shipping (incl. tax): "]
I’ve also added an alias for the
[order_shipping_total]
shortcode –[order_shipping_total_excl_tax]
– to make it more clear.Regarding the
[order_total_in_words]
shortcode – unfortunately, we have to add each language individually, and now only two are implemented – English and Lithuanian. You can change it with thelang
attribute, e.g.:[order_total_in_words lang="EN"] [order_total_in_words lang="LT"]
Which language do you need? I can try to add it to the plugin. As for the currency – the plugin will automatically retrieve the order’s currency for the whole part. However, it will always show cents
¢
for the decimal part. Do you need something else instead of the cents?Please let me know what you think.
P.S. If you like the plugin, please consider leaving me a rating.
Hi,
This is Tom from the development team. Happy to hear you liked the plugin 🙂
Regarding the issue – I’ve just tested it on my server – it looks like the
[order_shipping_total]
shortcode displays the amount excluding tax, i.e., what you need. If that’s not the case – would it be possible to log in to your site and take a look (my email is [email protected])?Hi, Benjamin,
Hopefully, we were able to fix it. Please update the plugin to the latest v3.7.1 and give it a try.
-
AuthorPosts