Tom Anbinder

Forum Replies Created

Viewing 15 posts - 151 through 165 (of 1,193 total)
  • Author
    Posts
  • Tom Anbinder
    Moderator
    Plugin Support

    Hi,

    I’ve just replied.

    in reply to: EAN questions #85209
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Dhiraj,

    Let me try to add it to the plugin. Will get back to you as soon as possible.

    in reply to: Plugin issue #88632
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Franklin,

    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: Allow the user to write the product note #87358
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Ash,

    Unfortunately, I don’t think our plugin is suitable for that. I think what you need is a “product addons” plugin. I did a quick search, and here is what I’ve found:

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

    in reply to: Import EAN into product variations #85231
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Mike,

    You can import EANs with the standard WooCommerce product import tool (in “Products > All Products > Import”). Your CSV file should look similar to this (1975, 1976, 1977, and 1978 are all variation IDs):

    ID,EAN
    1975,2000000019758
    1976,2000000019765
    1977,2000000019772
    1978,2000000019789

    * Although you can name the column differently and then map it manually, I suggest naming it EAN so it would be mapped automatically.

    ** When importing, you need to check the “Existing products that match by ID or SKU will be updated” checkbox. And as you can see, you can also use SKU instead of product ID.

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

    in reply to: Padding around the barcodes #85227
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Richard,

    Sorry for the late reply.

    I assume you are referring to our “Print” section, correct? If that’s the case – I would suggest setting the width of the final barcode image with our img_w shortcode attribute, and wrapping it in <div> with style set to text-align:center. I.e., try setting the “Print > Template” option to something like:

    <div style="text-align:center">[alg_wc_ean_barcode img_w="200"]</div>

    Hope this helps. And please let me know if you have any questions.

    in reply to: Fetch the EAN #85229
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Adeel,

    Sorry for the late reply.

    I’m sorry, but I’m not sure if I got the question correctly, could you please elaborate? Do you mean you want to automatically extract EANs from the existing product descriptions?

    As for “… I believe you need the payment first…” – I’m not entirely sure, but it doesn’t look like the Pro plugin version will help with your task.

    in reply to: Price table shortcode #92445
    Tom Anbinder
    Moderator
    Plugin Support

    Hi,

    I just did some testing, but I’m not sure if I can reproduce the issue. I’ve enabled “Per product” settings and added a quantity discount for product A and no discount for product B. Then, in the “Info” section, I’ve enabled the “Single product page” option and set the template there to [alg_wc_product_ppq_table]. Now product A does have a pricing discount table displayed on its product page, and product B doesn’t have it. So it looks ok here? Or did I misunderstand the question?

    P.S. If possible, please share access to your site, so I could log in and check what’s going on (my email is [email protected])?

    in reply to: Is there a way to get it to skip a previous page if… #91412
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Gerard,

    Again sorry for the late reply. That might be a good idea – will try to add it to the plugin. I will get back to you as soon as I can.

    in reply to: Get a barcode using php without using a shortcode? #85225
    Tom Anbinder
    Moderator
    Plugin Support

    Hi,

    To output a barcode image, you can do this:

    $ean = alg_wc_ean()->core->get_ean( $variation_id );
    echo alg_wc_ean()->pro->barcode_generator->get_barcode_img( $ean, array( 'dim' => '2D', 'w' => 2, 'h' => 2 ) );

    P.S. I know you said “without using a shortcode”, but just in case – we can achieve the same with:

    echo do_shortcode( '[alg_wc_ean_barcode_2d product_id="' . $variation_id . '"]' );

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

    in reply to: License question #85223
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Carm,

    Unfortunately, currently, we don’t have lifetime licenses for this plugin.

    in reply to: Is there a way to get it to skip a previous page if… #91410
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Ger,

    Sorry for the late reply. We could easily go two pages back with JS history.go(-2), however, I don’t think I know how to check previous page URL. I believe we can only check current page URL, and depending on that use history.go(-1) vs history.go(-2), but I don’t think that’s what you need?

    Tom Anbinder
    Moderator
    Plugin Support

    Hi,

    Happy to help 🙂 Please let me know if you’ll bump into any issues while testing.

    Tom Anbinder
    Moderator
    Plugin Support

    So I’ve checked, and from my tests, it looks like if you set the custom email’s “Trigger(s)” option to a new order trigger, e.g., “New order (Any status)”, then the email is sent only once, on the initial order. I was testing with the official WooCommerce Subscriptions plugin.

    If you are using some other plugin for subscriptions, it may behave differently, and in this case – I’ve just released a new plugin version (v1.5.2), where I’ve added the alg_wc_custom_emails_is_enabled filter, so now we can prevent email from being sent with a PHP snippet. For example, we could check if it’s a WooCommerce Subscriptions renewal order with:

    add_filter( 'alg_wc_custom_emails_is_enabled', function ( $is_enabled, $email, $object_id ) {
        if (
            'alg_wc_custom' === $email->id && // it's custom email #1
            ( $order = wc_get_order( $object_id ) ) && is_a( $order, 'WC_Order' ) && // it's an order
            ( $subscription_id = get_post_meta( $object_id, '_subscription_renewal', true ) ) // it's a renewal
        ) {
            // Do NOT send email
            return false;
        }
        return $is_enabled;
    }, 10, 3 );

    I hope this helps. Please let me know if you have any questions.

    Tom Anbinder
    Moderator
    Plugin Support

    Hi,

    Sorry for the late reply. Let me test it and get back to you.

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