Home › Forums › WoodMart support forum › Swatch Problem
Swatch Problem
- This topic has 18 replies, 2 voices, and was last updated 3 years, 8 months ago by
Elise Noromit.
-
AuthorPosts
-
January 10, 2021 at 7:33 pm #257167
hoomanParticipanthi
swatch with image on all products its ok. but in 3 products i have problem. swatch only-text.
please help meJanuary 10, 2021 at 8:31 pm #257168
hoomanParticipantthis link for home page:
January 10, 2021 at 10:01 pm #257187
Elise NoromitMemberHello,
Please make sure they are not custom attributes and the global attributes you have added to the products have the images as per this instruction: https://xtemos.com/docs/woodmart/variable-products-swatches/
Best Regards
February 26, 2021 at 11:51 am #269481
hoomanParticipantHello. I checked several times. Everything is correct. But there is a problem. Please check.
Attachments:
You must be logged in to view attached files.February 26, 2021 at 8:26 pm #269625
Elise NoromitMemberHello,
All the attributes and attribute items slugs should be only in Latin letters. https://gyazo.com/8d78a34f2b3fee7a6f6cd023ed50dfd4
Make sure all the attribute items have image color and enabled swatches. https://gyazo.com/6b66c1b2e2e55c591dbf6ab2c65e2827
Please check this instruction: https://xtemos.com/docs/woodmart/variable-products-swatches/
Best Regards
March 7, 2021 at 12:09 pm #271595
hoomanParticipantHi
I change all slugs to Latin. But there is a problem yet. Please check.March 7, 2021 at 7:26 pm #271659
Elise NoromitMemberHello,
You need to recreate all the attributes and items that did not have Latin slug ttps://gyazo.com/2427d34798696d254da62c8ee1a5b6d8
Best Regards
March 30, 2021 at 1:07 am #277418
hoomanParticipantHi,
I can’t rebuild items that did not have Latin slug because when we rebuild, all the products will have problems. Is there any way I can manually change the database?March 30, 2021 at 1:02 pm #277589
Elise NoromitMemberHello,
I am afraid it is not possible. You can search the tables of Woocommerce in DB and try, however, the most effective way is to recreate the attributes.
Best Regards
May 20, 2021 at 4:51 pm #294124
hoomanParticipantHi
May 21, 2021 at 3:27 pm #294447
Elise NoromitMemberHello,
Make sure you have configured the attributes to be as the swatches on the product where you see the drop-downs.
If one product works well and another do not it means you have configured the attributes in a different way. If the function does not work properly it would not work on all the products.
The credentials you provided earlier are not valid now I cannot check and to show you.
Best Regards
June 8, 2021 at 1:03 pm #298411
hoomanParticipantHello
I checked several times. There is no problem with non-Latin letters and there is no problem with product management. For example, compare the two. There is no difference in the settings, but one of them is broken:June 8, 2021 at 1:15 pm #298426
hoomanParticipantI think the problem is not on my side. Because everything is ok in the product list section.
Attachments:
You must be logged in to view attached files.June 8, 2021 at 9:21 pm #298485
Elise NoromitMemberHello,
Please provide your site admin access to the private area.
Please confirm the permit for us to deactivate the plugins not related to the theme and switch to the parent theme for the while of checking what may take up to 15 minutes. Please make the full backup of your site.
Best Regards
June 12, 2021 at 4:34 pm #299399
hoomanParticipantHello
I have disabled all unnecessary plugins. I also changed the WordPress admin language to English.June 13, 2021 at 8:20 am #299434
Elise NoromitMemberHello,
You will have to delete all the attributes that have Arabic let’s in slug. Attribute slug must be in Latin letters only. https://xtemos.com/forums/topic/swatch-problem/
Best Regards
June 13, 2021 at 1:18 pm #299468
hoomanParticipantHello
Do you mean I have to delete an attribute and then rebuild it? Or just change the attribute’s slug to Latin?
I can not delete the attribute because many products inherit from that feature.June 13, 2021 at 2:52 pm #299470
hoomanParticipantI found the bug.
The problem is not the non-Latin letters. The problem occurs when the variables are more than 30. All products with less than 30 variables are okay. But there is a problem with products that have more than 20 variables.This problem was also reported last year:
https://xtemos.com/forums/topic/use-images-from-product-variations-limits/Problem fixed with add the following PHP code snippet to the child theme functions.php:
function custom_wc_ajax_variation_threshold( $qty, $product ) { return 150; } add_filter( 'woocommerce_ajax_variation_threshold', 'custom_wc_ajax_variation_threshold', 10, 2 );
I expected you to send me the correct answer as soon as this problem has been reported before. But unfortunately it took me a long time to fix the problem.
Thanks anywayJune 13, 2021 at 8:08 pm #299505
Elise NoromitMemberHello,
We are glad you have solved the issue.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register