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

issues with your plugin

Hello,

This is a second time when I am writing about issue related to your plugin.

Last time this issue wasn’t solved because we had some other things to take care of first.

This is what I see when I select to show color variations on category pages:

View post on imgur.com

Alignment is right.

And these are my settings:

View post on imgur.com

Theme- Flatsome.

It would be excellent if you could guide me how to fix these issues with alignment.

I also am not comfortable disclosing login details because we are buying ads and every minor change might lead to some other error. So I prefer a consultation first 🙂

Thank you!

Tanvirul Haque

Hi Martynas,

Can you please give us a temporary admin access to your site? We’ll try to investigate the issue for you.

You can add new users by going to Users > Add New set the user and password for us, set the role to admin and set the info here.

And add your site URL, login username, and password in the site login area. Follow this guideline: https://www.useloom.com/share/27c1f2ac633c4060b2da883d946107d7

Hope to hear from you soon!

Thanks

I think it helped, but something happened and website started working really slow…

I just check woocommerce status for fatal errors and this is what I found:
2021-04-27T07:41:49+00:00 CRITICAL Uncaught ArgumentCountError: Too few arguments to function wvs_wpml_translate_options(), 1 passed in /var/www/dominileather.com/htdocs/wp-content/plugins/woo-variation-swatches-pro/includes/functions.php on line 81 and exactly 2 expected in /var/www/dominileather.com/htdocs/wp-content/plugins/woo-variation-swatches-pro/includes/functions.php:107
Stack trace:
#0 /var/www/dominileather.com/htdocs/wp-content/plugins/woo-variation-swatches-pro/includes/functions.php(81): wvs_wpml_translate_options()
#1 /var/www/dominileather.com/htdocs/wp-includes/class-wp-hook.php(292): Woo_Variation_Swatches_Pro->{closure}()
#2 /var/www/dominileather.com/htdocs/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#3 /var/www/dominileather.com/htdocs/wp-includes/plugin.php(484): WP_Hook->do_action()
#4 /var/www/dominileather.com/htdocs/wp-content/plugins/sitepress-multilingual-cms/inc/post-translation/wpml-post-duplication.class.php(149): do_action()
#5 /var/www/dominileather.com/htdocs/wp-content/plugins/sitepress-multi in /var/www/dominileather.com/htdocs/wp-content/plugins/woo-variation-swatches-pro/includes/functions.php on line 107

2021-04-27T08:26:51+00:00 CRITICAL Uncaught ArgumentCountError: Too few arguments to function wvs_wpml_translate_options(), 1 passed in /var/www/dominileather.com/htdocs/wp-content/plugins/woo-variation-swatches-pro/includes/functions.php on line 81 and exactly 2 expected in /var/www/dominileather.com/htdocs/wp-content/plugins/woo-variation-swatches-pro/includes/functions.php:107
Stack trace:
#0 /var/www/dominileather.com/htdocs/wp-content/plugins/woo-variation-swatches-pro/includes/functions.php(81): wvs_wpml_translate_options()
#1 /var/www/dominileather.com/htdocs/wp-includes/class-wp-hook.php(292): Woo_Variation_Swatches_Pro->{closure}()
#2 /var/www/dominileather.com/htdocs/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#3 /var/www/dominileather.com/htdocs/wp-includes/plugin.php(484): WP_Hook->do_action()
#4 /var/www/dominileather.com/htdocs/wp-content/plugins/sitepress-multilingual-cms/inc/post-translation/wpml-post-duplication.class.php(149): do_action()
#5 /var/www/dominileather.com/htdocs/wp-content/plugins/sitepress-multi in /var/www/dominileather.com/htdocs/wp-content/plugins/woo-variation-swatches-pro/includes/functions.php on line 107

What does it mean?

I think I know what else did you do- you added pagination in categories.

I am showing 200 products per page and was working perfect with wp rocket lazy load, while you changed it to 10 products per page which is not acceptable for me.

 

Yeah there is definitely something wrong.

I disabled Show swatches on archive / shop page on Dominileather.com, but left it at https://staging2.smartlaptopstands.com/ so that you could debug it.

Please go to the homepage and try to click on for women category, it will take ages until it will load up, same thing happened with Dominileather.com. I disabled Show swatches on archive / shop page and it went back to normal.

 

I would like to enable Show swatches on archive / shop page  on our site, just it would be awesome to have it working without performance losses… I am on a strong host:

View post on imgur.com

So it can’t be related to server 🙁

Tanvirul Haque

Hello Martynas Baniulis,

You added pagination in categories. I am showing 200 products per page ….. you changed it to 10 products per page which is not acceptable for me.

I added pagination for testing purpose, so you can skip that. But when you want to show more than 200 variable product with variations at a time on a page then in generally it will affect the performance. So we highly recommend you to enable the flatsome product load more feature and don’t try to show more that 12 products at a time. https://prnt.sc/126ryy6

About the error code I have replied to your another ticket #85038 please continue the conversation there about the error code issue.

Kindly let me know is the swatches alignment issue resolved or not by my given code.

Thanks

Ok, that make sense 🙂 Thank you!

Is it possible to win some performance with caching? I am using wp rocket 🙂

P. S. regarding the other issue, I am moving our conversation there.

Tanvirul Haque

Hello Martynas Baniulis,

I can’t see any color filter on your shop page, could you give me a page URL as an example where the filter is showing so that I can run the investigation on that.

Thanks

Tanvirul Haque

Hello Martynas Baniulis,

Please put the following CSS code inside your theme customizer CSS section and let me is it working for you or not:

.widget_layered_nav .wvs-widget-layered-nav-list {
display: flex;
flex-wrap: wrap;
}
.widget_layered_nav .wvs-widget-layered-nav-list li {
border: none;
}
.widget_layered_nav .wvs-widget-layered-nav-list li .count, .widget_layered_nav .wvs-widget-layered-nav-list li .text {
display: none !important;
border: none;
}
.widget_layered_nav .wvs-widget-layered-nav-list li a {
padding: 0;
}

Thanks