fbpx
Want To Add Extra Images Per Product Variation For Free? Download Now

issue and number of variations

Massimo Russo

Hi there,

thank so much for this free plugin ๐Ÿ™‚

If i can any question for you…

  • Is it possible increase number of variation to be create? Limit 9 is little… so if you have sizes from 38 to 62 (38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62) you have 13 variations…
  • If I create a variations, why ID number (of every variation) increase from bottom to up? Is it possible that ID number increase from up to bottom? It happens that every time I add my variations (ex. 12 = 1 + 9 + 2) when I change size attribute from up to bottom and number ID are: #15936 to #15925, last ID numberย  (15936) been moved under the firs ID nimber (#15925). EVery time I have to move it manually from bottom to top. Could you fix pls?

Thank so much for your help

 

Tanvirul Haque

Hello Massimo Russo,

Thanks for reaching out to us.

Here is a filter hook to increase the limit of clones woo_variation_duplicator_clone_limit

For the second question please see this reproduce video https://www.loom.com/share/53dfdc2d1c0d472ea8c6b46da55f32cb it is the default of WooCommerce itself.

Thanks

Massimo Russo

REally thanks for your answer Mr. Haque ๐Ÿ™‚

 

Sorry… how can I edit functions.php files to add filter hook variations you told me?

I read how to… but I’not sure

after edited my functions.php file in my child theme:

<?php
add_action( 'wp_enqueue_scripts', 'enqueue_parent_theme_style' );
function enqueue_parent_theme_style() {
wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
}

I must add:

add_filter( 'filter_name', 'your_function_name' ); function your_function_name( $variable ) { // Your code return $variable; }

 

I really doin’t know how to ad filter hooks…sorry….

Tanvirul Haque

Hi Massimo,

Could you add me here on Skype? My Skype ID is: shovon.haque2

Please add me and say hi with your ticket ID. I am waiting for you there to quickly squash your issue.

Thank

Massimo Russo

Hi!

thank so much…

My friend Alberto Krebel will contact you! ๐Ÿ™‚

He is my web developer

Tanvirul Haque

Here is the code:

add_filter( 'woo_variation_duplicator_clone_limit', function() {
return 15; // change the number with your desire number
} );

Thanks