Tom Anbinder

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 1,190 total)
  • Author
    Posts
  • in reply to: Coupons doubling up on Per Product Tag Discounts #150528
    Tom Anbinder
    Moderator
    Plugin Support

    Update: Both issues were fixed in the plugin v3.7.8.

    in reply to: Coupons doubling up on Per Product Tag Discounts #150140
    Tom Anbinder
    Moderator
    Plugin Support

    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.

    in reply to: Coupons doubling up on Per Product Tag Discounts #150038
    Tom Anbinder
    Moderator
    Plugin Support

    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?

    in reply to: Uncaught TypeError #149452
    Tom Anbinder
    Moderator
    Plugin Support

    Hi, Lisa,

    Happy to help 🙂

    Please let me know if you’ll notice anything else.

    in reply to: Uncaught TypeError #149107
    Tom Anbinder
    Moderator
    Plugin Support

    Hi, Lisa,

    Please update the plugin to the latest v3.5.5 (released today) – the error should be gone now.

    in reply to: Exclude paypal for price offers #147523
    Tom Anbinder
    Moderator
    Plugin Support

    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.

    in reply to: Product URL in email #144702
    Tom Anbinder
    Moderator
    Plugin Support

    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.

    in reply to: High-Performance Order Storage #144099
    Tom Anbinder
    Moderator
    Plugin Support

    Hi, Julian,

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

    in reply to: Custom email for existing users #142848
    Tom Anbinder
    Moderator
    Plugin Support

    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.

    in reply to: Order shipping total but with the tax excluded #142821
    Tom Anbinder
    Moderator
    Plugin Support

    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 the lang 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.

    in reply to: Order shipping total but with the tax excluded #142274
    Tom Anbinder
    Moderator
    Plugin Support

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

    in reply to: Admin Order #141278
    Tom Anbinder
    Moderator
    Plugin Support

    Hi, Benjamin,

    Hopefully, we were able to fix it. Please update the plugin to the latest v3.7.1 and give it a try.

    in reply to: Admin Order #140051
    Tom Anbinder
    Moderator
    Plugin Support

    Hi, Benjamin,

    I’ve just tested it on my server, but it seems to be working fine here – the prices are correctly updated after I click on the “Recalculate” button (in the “Product Price by Quantity” admin meta box). 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])?

    P.S. I can confirm there is an issue when creating a new order (i.e., items are removed), so we have to save the order first (before clicking on the “Recalculate” button). I will be fixing that in the next plugin release, however, it still won’t solve the problem in your case.

    in reply to: Multiple meta values #138719
    Tom Anbinder
    Moderator
    Plugin Support

    Hi, Lisa,

    Happy to hear it’s working 🙂 Let me know if you need anything else. And if you like the plugin, please consider leaving me a rating.

    in reply to: Multiple meta values #138644
    Tom Anbinder
    Moderator
    Plugin Support

    Hi, Lisa,

    Yes, I think this is doable – try enabling the “Meta > Multiple meta values” checkbox and setting the “Meta > Meta value” option to:

    ,0

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

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