Tom Anbinder

Forum Replies Created

Viewing 15 posts - 376 through 390 (of 942 total)
  • Author
    Posts
  • in reply to: Create UPC code for all products on WooCommerce automatically #85002
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Marc,

    Oh, ok, that’s much easier. Please update the plugin to the latest v2.2.5. Now there is new “Generate EAN for all products” tool (in “WooCommerce > Settings > EAN > Tools”). Check the box, and save changes to run the tool. Please give it a try and let me know what you think.

    in reply to: Create UPC code for all products on WooCommerce automatically #85000
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Marc,

    Unfortunately, no – you’ll have to enter your EANs manually. It’s a very interesting idea though, and I would be glad to implement it in the plugin. I did some searching and found a couple of services (e.g. https://www.ean-search.org/, https://www.barcodelookup.com/) which offer to do EAN lookup by product name, however, all of them are paid, and also I’m not really sure if those services are really reliable, i.e. they will be able to find the correct EAN by product name. Maybe you have any other ideas/thoughts about this?

    Tom Anbinder
    Moderator
    Plugin Support

    Hi Mirek,

    I’m definitely not, but thank you 😉

    Yes, please let me know how did the testing go.

    Tom Anbinder
    Moderator
    Plugin Support

    Hi Mirek,

    As promised, we’ve just released a new plugin version 2.0.0, where I’ve added “Order meta” options to each rule’s settings (e.g. in “WooCommerce > Settings > Order Status Rules > Rule #1”). You need to set meta key and meta value there. They will be required for the rule to be executed on an order.

    Also, I’ve added alg_wc_order_status_rules_do_apply_rule filter. You probably won’t need it, but just in case, here is an example:

    if ( ! function_exists( 'my_alg_wc_order_status_rules_do_apply_rule' ) ) {
        add_filter( 'alg_wc_order_status_rules_do_apply_rule', 'my_alg_wc_order_status_rules_do_apply_rule', 10, 4 );
        function my_alg_wc_order_status_rules_do_apply_rule( $do_apply, $order, $rule_num, $args ) {
            if ( $do_apply && 1 == $rule_num && 'my_required_meta_value' !== get_post_meta( $order->get_id(), '_my_awesome_meta_key', true ) ) {
                return false;
            }
            return $do_apply;
        }
    }
    

    Please give it a try and let me know if something is not working as expected, or if you have any questions.

    And if you like the plugin, please consider leaving me a rating here or here.

    in reply to: How can I give my course for free using the coupon URL? #92557
    Tom Anbinder
    Moderator
    Plugin Support

    Hi,

    Yes, that’s possible. I can now think of two options:

    1. Create a “Fixed product discount” type coupon (with the coupon amount equal to the product’s price), and enable the “Add products to cart” checkbox in our plugin settings (in “WooCommerce > Settings > URL Coupons > General”). Then your customers will be able to use links like:

    http://example.com/?alg_apply_coupon=your_coupon_code

    2. Create a “Percentage discount” coupon (with coupon amount set to 100), and use add-to-cart URL param. Then your customers will be able to use links like:

    http://example.com/?add-to-cart=123&alg_apply_coupon=your_coupon_code

    * You can also customize the alg_apply_coupon URL param name in “WooCommerce > Settings > URL Coupons > General > URL coupons key”.

    Hope that helps. Please let me know if you have any questions.

    Tom Anbinder
    Moderator
    Plugin Support

    Hi Mirek,

    I could definitely add a hook, but maybe I could do more? This custom field – is it order’s? Or maybe order product’s or customer’s?

    in reply to: Barcode image on single product page not showing #84998
    Tom Anbinder
    Moderator
    Plugin Support

    If anyone else is interested – it looks like the problem was that an old version of our EAN plugin was installed on the site. And that old version didn’t work well with PHP v8.0. Updating EAN plugin to the latest version solved the issue.

    in reply to: Barcode image on single product page not showing #84997
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Bruno,

    I’ve just tested it on my server with Storefront v3.8.1, WooCommerce v5.6.0, and WordPress v5.8 – both 1D and 2D barcodes seem to be displaying normally on single product pages here. Would it be possible to log in to your site to 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: Question #91656
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Vitor,

    We’ve just released a new plugin v1.6.3, where I’ve added new “Fields ID” option to “WooCommerce > Settings > Custom Checkout Fields > General > Advanced Options”. By default the option is set to alg_wc_checkout_field. It’s used in all fields as the middle part of ID, wrapped in field section and number, e.g. _billing_alg_wc_checkout_field_1. That is, if you set it to e.g. my_awesome_field, then your fields will have IDs like _billing_my_awesome_field_1, _shipping_my_awesome_field_2, etc. Please give it a try and let me know if that’s good enough.

    Tom Anbinder
    Moderator
    Plugin Support

    Fixed in the plugin v1.6.3.

    in reply to: User Roles visibility is no longer working with update to 1.6.2 #91662
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Kevin,

    I’ve tested it on my server, and yes, I can confirm – there is a bug in the latest plugin version, really sorry about that. I’ve just sent you fixed version via separate email. Will be releasing it to the public tomorrow. Again, really sorry for the bug, and thanks for reporting.

    in reply to: Question #91655
    Tom Anbinder
    Moderator
    Plugin Support

    Ok, got it. Let me try to implement it. Will get back to you asap.

    in reply to: Question #91653
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Vitor,

    Not sure if I got it correctly. Do you mean change what is now e.g. _billing_alg_wc_checkout_field_1 to some custom ID?

    in reply to: Free version upgrade #91651
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Yvonne,

    Simply install the Pro version – your initial field’s settings will remain. And you can deactivate the free version then.

    Hope that helps. Please let me know if you have any questions.

    in reply to: It is showing “(optional)” for the required field #91649
    Tom Anbinder
    Moderator
    Plugin Support

    If anyone else is interested – this was a bug related to our “Visibility Options > Countries” options. And it’s now fixed in the plugin v1.6.2.

Viewing 15 posts - 376 through 390 (of 942 total)