• Hello, taisho
    Nice plugin ! Thank you for your development.
    I find some bug. I want to help you to fix it and do your plugin better.

    I have russian translated for plugin “qty-increment-buttons”.
    In that case, when I chose in admin page some options of plugins it saved with russian translate.
    59 : ‘qib_archive_display’ => [ ‘val’ => __( ‘None’, ‘qty-increment-buttons-for-woocommerce’ ),

    But in function qty_increment_buttons()
    You do not use translated version.
    // Handle archive display options.
    if ( $args[‘archive_display’] == ‘None’ ) return;
    if ( $args[‘archive_display’] == ‘Shop’ && is_product_category() ) return;
    if ( $args[‘archive_display’] == ‘Category’ && is_shop() ) return;

    So in my Case it was like ‘None’ = ‘Ни где’

    if you refactor
    //if ( $args[‘archive_display’] == ‘None’ )
    // if ( $args[‘archive_display’] == __( ‘None’, ‘qty-increment-buttons-for-woocommerce’ )

    It will be nice

  • The topic ‘See new bug’ is closed to new replies.