• Resolved clarissabtg

    (@clarissabtg)


    Hello! Thanks for your plugin, it has been working perfectly. My wholesale store has a minimum quantity for each variation of my products (5). I would like some help to keep the default value of the quantity field in the table always this value for each variation. If possible, I would also like it not to add values lower than this to the cart. Thank you so much!

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author WPXtension

    (@wpxteam)

    Hi,

    I hope you are doing well today. Do you want to change the minimum quantity value to 5 for each variation?

    Hope to hear from you soon.

    Best Regards

    Plugin Author WPXtension

    (@wpxteam)

    Hi,

    I hope you are doing well today.

    Since it’s been a while since we last heard back from you, I’m going to mark this topic resolved.

    Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.

    Best Regards

    cacu

    (@cacu)

    Buenas, estoy usando el plugin, está buenísimo pero necesitaría configurar las cantidades mínimas de cada producto.

    Aguardo sus comentarios

    muchas gracias

    Plugin Author WPXtension

    (@wpxteam)

    Hi @cacu

    You can try the following snippet inside your current theme’s functions.php file-

    add_filter( 'pvtfw_qtyargs_min_value', function( $qty, $single_variation ){
    $qty = 3; // Set your desired quantity value here
    return $qty;
    }, 10, 2 );

    Or, you can use a plugin called Code Snippets to add the above code.

    Note: It is recommended to apply the snippet using the Code Snippets plugin or inside your child theme’s functions.php file. Otherwise, any data loss can be happened after updating the theme, if you add it inside your parent theme’s functions.php file.

    Best Regards

    Perfecto! el código funciona a la perfección!!!

    Dejo acá el código que puse para que el incremento de productos vaya de 10 e 10 como mínimo y sumo el que ustedes me pasaron.

    add_filter(‘woocommerce_quantity_input_min’, function(){
    return 10;
    });

    add_filter(‘pvtfw_qtyargs_input_value’, function(){
    return 10;
    });

    add_filter(‘woocommerce_quantity_input_step’, function(){
    return 10;
    });

    add_filter( ‘pvtfw_qtyargs_min_value’, function( $qty, $single_variation ){
    $qty = 10; // Set your desired quantity value here
    return $qty;
    }, 10, 2 );

    Muchas gracias y muy bueno el plugin! super recomendable

    Plugin Author WPXtension

    (@wpxteam)

    Hi @cacu

    Glad to know it helped.

    If you found our plugin & support helpful, please share your love here- https://wordpress.org/support/plugin/product-variant-table-for-woocommerce/reviews/

    It will inspire us a lot.

    Best Regards

    Hola de nuevo, vuelvo sobre una consulta más.

    Cuando me encuentro en el carrito una vez que puse finalizar compra, y cuando tengo la posibilidad de sumar cantidad del producto me vuelve a sumar de 1 en 1, en la instancia carrito, hay alguna solución a eso?

    muchas gracias nuevamente

    Plugin Author WPXtension

    (@wpxteam)

    Hi,

    Unfortunately, we have no control over the Cart Page. 😞

    It is a feature of WooCommerce default. I hope this will clear up your confusion.

    By the way, if you found our plugin helpful, please share your words for us here- https://wordpress.org/support/plugin/product-variant-table-for-woocommerce/reviews/

    Best Regards

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.