Tom Anbinder

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 1,165 total)
  • Author
    Posts
  • in reply to: Is the plugin compatible with Woocommerce Subscriptions? #135437
    blankTom Anbinder
    Moderator
    Plugin Support

    Hi, Tuomas,

    I’ve just tested it on my server – it seems to be working fine here, the renewal order is automatically updated from “Pending payment” to “Completed”. Could you please try running the “Run all rules now” tool (in “WooCommerce > Settings > Order Status Rules > Tools”) and let me know if the renewals are still “pending”?

    in reply to: Test emails not sending automatically #135103
    blankTom Anbinder
    Moderator
    Plugin Support

    Hi, Jesse,

    Sorry for not getting back to you sooner.

    Could you please enable the “Debug” checkbox in “WooCommerce > Settings > Custom Emails > General > Advanced Options”, trigger automatic email, and then check today’s log in “WooCommerce > Status > Logs” (the log will start with custom-emails-for-woocommerce-...). What does it say?

    P.S. If this won’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])?

    in reply to: custom trigger #133973
    blankTom Anbinder
    Moderator
    Plugin Support

    Update: Since the plugin v2.8.0, it’s now possible to achieve the same without the snippet – with the new “Require order status” (and “Exclude order status”) option (in “WooCommerce > Settings > Emails > Custom email #X > Order Options”).

    in reply to: Plugin not working #133961
    blankTom Anbinder
    Moderator
    Plugin Support

    Hi, @weatherly-boehmer,

    how to disable the default WooCommerce receipt from sending a copy at the same time that our custom receipt goes out.

    Since the plugin v2.7.3, it’s now possible to disable the default emails with the “Stop emails” option (in “WooCommerce > Settings > Emails > Custom email #X > Advanced Options”).

    Hi, @getmilk-team,

    default triggers are not sending the emails. only when I manually trigger from the order.

    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])?

    in reply to: High performance order storage compatibility #133817
    blankTom Anbinder
    Moderator
    Plugin Support

    Hi, Juan,

    Please update the plugin to the latest v2.2.0 – it is now “High-Performance Order Storage (HPOS)” compatible.

    Please let me know if you need anything else. And if you like the plugin, please consider leaving me a rating.

    in reply to: Valid EAN, but flagged as Duplicated #131761
    blankTom Anbinder
    Moderator
    Plugin Support

    Hi,

    I think you have to submit different EANs for different variations. On the Google Merchant Center Help GTIN page, it says:

    Use the correct GTIN for each product, including variants. Each product and variant of a product (different colors or sizes) has its own GTIN, so make sure to submit the correct value.

    I hope this helps.

    in reply to: Custom CSS / Styling #131217
    blankTom Anbinder
    Moderator
    Plugin Support

    Hi, Thore,

    Sorry for not getting back to you sooner.

    How can I override those colors?

    Since the plugin v2.7.1, you can set additional styling with the new “Email style” options (in “WooCommerce > Settings > Emails > Custom email #X > Email Data”).

    Or can I use a filter / hook to add custom styling to my email?

    Yes, you can use the alg_wc_custom_emails_content filter:

    add_filter( 'alg_wc_custom_emails_content', function ( $content, $email, $order, $user, $product ) {
        if ( 1 == $email->alg_wc_ce_id ) { // for the "Custom email #1"
            $content = '<style> .my-class { color: orange; } </style>' . $content;
        }
        return $content;
    }, 10, 5 );

    Please give it a try and let me know what you think.

    in reply to: custom trigger #131194
    blankTom Anbinder
    Moderator
    Plugin Support

    Hi,

    where should i add the snippet, just in theme functions file?

    Yes, you can put it in your child theme’s functions.php file.

    is it posible to also connect the filter to one specific mail?

    Yes, you can use the $email->alg_wc_ce_id property, like this:

    add_filter( 'alg_wc_custom_emails_do_send_order_email', function ( $do_send, $email, $order ) {
        if ( 1 == $email->alg_wc_ce_id ) { // for the "Custom email #1"
            return $order->has_status( 'on-hold' );
        }
        return $do_send;
    }, 10, 3 );
    in reply to: URGENT! Scheduled Emails not working #131024
    blankTom Anbinder
    Moderator
    Plugin Support

    Hi,

    Please check if WP Cron is enabled on your site. You can do that in “WooCommerce > Status > System status > WordPress cron”.

    If WP Cron is disabled, please try one of these two solutions:

    • enable WP cron – check if you have define( 'DISABLE_WP_CRON', true ); in your wp-config.php file, or
    • switch the “Scheduler” option from “WP Cron” to “Action Scheduler” (in “WooCommerce > Settings > Custom Emails > General > Scheduler”). The option is available since the plugin v2.7.0.
    in reply to: custom trigger #130593
    blankTom Anbinder
    Moderator
    Plugin Support

    Hi,

    Please try this:

    Select “Subscriptions: Subscription status updated to” in “Enabled triggers groups” in “WooCommerce > Settings > Custom Emails > General > Advanced Options”.

    Then go to “WooCommerce > Settings > Emails > Custom email”, set “Triggers” to “Subscription status updated to On Hold”, and “Delay” to “1 hour”.

    Now, to ensure that the email is sent only if the subscription is still “on hold”, we need to add this snippet:

    add_filter( 'alg_wc_custom_emails_do_send_order_email', function ( $do_send, $email, $order ) {
        return $order->has_status( 'on-hold' );
    }, 10, 3 );

    Please give it a try and let me know what you think.

    in reply to: URGENT! Scheduled Emails not working #130588
    blankTom Anbinder
    Moderator
    Plugin Support

    Hi,

    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])?

    in reply to: Error when using the if option #130450
    blankTom Anbinder
    Moderator
    Plugin Support

    Hi, Christiaan,

    You can neste shortcodes, but not with the same name, so one of the solutions would be to create an alias for the [if] shortcode with a PHP snippet, e.g., [my_if]:

    add_shortcode( 'my_if', function ( $atts, $content = '' ) {
        if ( function_exists( 'alg_wc_custom_emails' ) && isset( alg_wc_custom_emails()->core->shortcodes ) ) {
            return alg_wc_custom_emails()->core->shortcodes->if( $atts, $content );
        }
    } );

    Then you can do this:

    [if][my_if]...[/my_if][/if]

    Please give it a try and let me know what you think.

    in reply to: How to make additional urls buttons appear on product page? #130296
    blankTom Anbinder
    Moderator
    Plugin Support

    Hi,

    Sorry for not getting back to you sooner.

    Please check if you’ve enabled the “Single” checkbox in “WooCommerce > Settings > Advanced External Products > Multiple Product URLs”.

    Also, as you correctly noted, the product’s main/default “Product URL” field must be set as well.

    Please let me know if that helps.

    in reply to: How to translate from price qty pcs? #128895
    blankTom Anbinder
    Moderator
    Plugin Support

    Hi, Patryk,

    As I understand, you are referring to the “Info > Discount Pricing Table > Single product page” option (in “WooCommerce > Settings > Product Price by Quantity”), correct? If that’s the case, you need to add the heading_format attribute to the shortcode, i.e., update the “Template” option there from the default:

    [alg_wc_product_ppq_table]

    to:

    [alg_wc_product_ppq_table heading_format="from %level_min_qty% pcs."]

    * Here you can replace “from” and “pcs.” with your translations.

    Please give it a try and let me know what you think.

    in reply to: Set offers option by price #127928
    blankTom Anbinder
    Moderator
    Plugin Support

    Hi,

    Please update the plugin to the latest v2.4.0.

    It’s now possible to exclude products by price with the “Exclude > Above/Below price” options (in “WooCommerce > Settings > Price Offers > General”).

    Also, now you can select “Exclude categories” (vs. “Require categories”) for the “Per product category” option (in “WooCommerce > Settings > Price Offers > General > Selected Products Options”).

    Please give it a try and let me know what you think.

Viewing 15 posts - 1 through 15 (of 1,165 total)