Tom Anbinder

Forum Replies Created

Viewing 15 posts - 136 through 150 (of 1,193 total)
  • Author
    Posts
  • in reply to: “Related products” bug #92454
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Yuri,

    I’ve just tested it on our server, but unfortunately couldn’t reproduce the issue, it seems to be working fine here. 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: Settings for price display on shop pages #92452
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Yuri,

    Please update the plugin to the latest v3.1.0. Then go to “WooCommerce > Settings > Product Price by Quantity > Info”, enable the “Replace Price > Shop page” checkbox, and set the “Template” option there to:

    [alg_wc_product_ppq_data field="price" level_num="last" product_id="%product_id%" price_format="From %new_price_single_excl_tax% (%new_price_single_incl_tax% inkl. MwSt.)"]

    I believe it should solve the task. Please give it a try and let me know what you think.

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

    Hi Dhiraj,

    Please update the plugin to the latest v4.3.0. After that, please go to our “Print” settings section and enable the new “Print Tools > Products List” checkbox (it’s at the bottom of the page). Now there should be a new section available – “WooCommerce > Settings > EAN > Print Products”. User interface still needs some improvement, though. For example, I’m planning to add pagination, etc. Please give it a try and let me know what you think.

    P.S. There is another option available since plugin v4.3.0, however, it won’t list variations, so probably not good for you, but just in case – if you add the “Products > Bulk actions > Each product” to “Print > Print buttons > Quantity input” option, and then go to the admin “Products” list, there will be quantity input fields added to each product row.

    in reply to: Settings for price display on shop pages #92450
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Yuri,

    Sorry for the late reply.

    It’s not possible now (our plugin will show the price based on the “Display prices in the shop” setting in “WooCommerce > Settings > Tax”), however, let me try to add it to the plugin. Just to be sure, you are going to use our [alg_wc_product_ppq_data] shortcode, correct?

    in reply to: Compatible with Gutenberg? #91415
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Stefanie,

    Sorry to hear that there are troubles with the plugin.

    Sure, refund is not a problem, however, maybe I can try to help you? The plugin should be compatible with the Gutenberg editor – if you wish, I could log in to your site and check what’s going on (my email is [email protected])? By the way, did you try using our [alg_back_button] shortcode?

    Please let me know if I should proceed with the refund.

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

    Hi Dhiraj,

    Sorry for the delay. It’s almost done – planning to release the new plugin version tomorrow.

    in reply to: Decrease/increase the stock inventory #85923
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Rachele,

    I did reply to you on Friday. Maybe it ended up in spam? Anyway, here is my reply:

    1. Yes, that’s correct. When order stock is decreased, the order is marked as “stock decreased”, and it will not be decreased for the second time (unless you increase it again before that, for example, by setting order status to canceled). This is the default WooCommerce behavior (i.e., this is not done by our plugin).
    2. Yes, when we call the “maybe decrease stock” function (again, this comes from the WooCommerce itself), it will check if the order is not marked as “stock decreased”, and if it’s not – it will decrease stock for all the products in the order.
    3. Not sure if I got this correctly. It’s quite straightforward – for example, if you remove the standard “decrease stock on order completed” trigger, it will not decrease the stock when the order status changes to “completed”. And about “trash an order” – as far as I know, by default in WooCommerce, if you trash some order for which the stock was decreased, it will not increase the stock.

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

    in reply to: Currency rate is not updated automatically #86040
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Ben,

    Glad to hear it’s solved. Please let me know if you’ll need anything else.

    in reply to: Currency rate is not updated automatically #86038
    Tom Anbinder
    Moderator
    Plugin Support

    P.S. Could you please check if WP-Cron is enabled on your site? You can do that by checking the “WordPress cron” row in “WooCommerce > Status > System status > WordPress environment” – there should be a green check mark ().

    in reply to: How do I increase the font size? #85233
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Demetrio,

    From your email, I know that you’ve solved it by yourself, but if anyone else has a similar question:

    1. You can change the font size for all elements at once with our “WooCommerce > Settings > EAN > Print > Font size” option.
    2. If you want to increase the font size for certain elements only, you can add the font-size style to your HTML tags, i.e.:
      <p style="font-size:30px">[alg_wc_ean]</p>
    in reply to: Currency rate is not updated automatically #86037
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Ben,

    Sorry to hear that there are troubles with the plugin.

    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: Decrease/increase the stock inventory #85921
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Rachele,

    Sorry for the delay. Your custom action must pass order ID as an argument. I.e., if you have this in your code:

    do_action( 'some_action', $order_id );

    then you need to set the “Custom triggers” option in our plugin settings to:

    some_action

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

    Tom Anbinder
    Moderator
    Plugin Support

    Hi,

    Sorry for the delay.

    Yes, this is a known problem. Let me try to come up with some solution. Will get back to you soon.

    in reply to: Order status change date #85602
    Tom Anbinder
    Moderator
    Plugin Support

    Hi,

    Sorry for the late reply.

    Order status transition history is stored in order meta with the _alg_wc_order_status_change_history key. So it’s in the wp_postmeta DB table. However, there is one problem – status transitions are stored in an array, i.e., it’s stored in DB as a serialized value. While it’s possible to change serialized values as well, I don’t think it’s the right way to do it. I would suggest using PHP to add a transition to the stored data.

    If you add the PHP snippet below to your site, you will be able to add a transition record with such link:

    https://example.com/?save_status_change&order_id=123456&from=processing&to=completed

    * You need to replace 123456, processing and completed with the actual “order ID”, “from” and “to” values.

    Here is the snippet:

    add_action( 'init', function () {
        if (
            isset( $_GET['save_status_change'], $_GET['order_id'], $_GET['from'], $_GET['to'] ) &&
            current_user_can( 'manage_options' ) &&
            function_exists( 'alg_wc_order_status_rules' )
        ) {
    
            $order_id = wc_clean( $_GET['order_id'] );
            $from     = wc_clean( $_GET['from'] );
            $to       = wc_clean( $_GET['to'] );
    
            alg_wc_order_status_rules()->core->save_status_change( $order_id, $from, $to, false );
    
            echo '<pre>' .
                print_r( get_post_meta( $order_id, '_alg_wc_order_status_change_history', true ), true ) .
            '</pre>';
    
            die();
        }
    } );

    * You need to be logged as admin, and make sure that the “Order Status Rules for WooCommerce” plugin is enabled.

    ** Generally, all is done with this one line:

    alg_wc_order_status_rules()->core->save_status_change( $order_id, $from, $to, false );

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

    in reply to: Decrease/increase the stock inventory #85919
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Rachele,

    Sorry for the late reply.

    Yes, I believe the plugin can do this. There are “Custom triggers” options in the pro version – we can associate any trigger with decrease/increase order stock actions. The exact trigger will depend on your “biofood” plugin.

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

Viewing 15 posts - 136 through 150 (of 1,193 total)