alexdimirop
Forum Replies Created
-
Forum: Plugins
In reply to: [Variation Swatches for WooCommerce by CartFlows] Variations greyed outThank you for your response. Recently I migrated my site to another domain and so I got these errors I didn’t notice. I troubleshooted the issue and solved it at the end. Now it works fine.
Thank for your help.
- This reply was modified 1 year, 4 months ago by alexdimirop.
Forum: Plugins
In reply to: [Kadence WooCommerce Email Designer] Email Customizer doesn’t workHi, thank you for your response.
3 topics before mine there is another user reporting the exact same issue.
My theme is Hello elementor (a very basic theme) and untill recently all worked fine.
Have you checked for conflicts with recent wordpress updates or elementor?
This is how it appears if I copy/paste the code above to functions.php:
https://alex-blog-bucket.s3.eu-central-1.amazonaws.com/Screenshot+2022-11-02+094826.jpgThis is on the frontend:
https://alex-blog-bucket.s3.eu-central-1.amazonaws.com/Screenshot+2022-11-02+094922.jpgI changed the
‘’
and it works fine.The problem with the theme is that I (and everyone) who don’t use a child theme and use plugins like code snippets their only option is to use in main theme’s function.php and to update it every time. Because adding it to code snippets doesn’t seem to work.
That is why I made a suggestion that you may consider it to give it as an option in plugins interface.
It finally worked!
But it had a problem. When I copied the exact code from this post to function.php it didn’t work and on the frontend I saw a message:
Warning: Use of undefined constant ‘woocommerce_ajax_variation_threshold’ – assumed ‘‘woocommerce_ajax_variation_threshold’’
(this will throw an Error in a future version of PHP)Also on the function.php, seeing it on servers code editor, it didn’t appear orange as all the other strings appear but white. So I changed the
‘’
in the two strings in the code you provided to''
(I think it was also possible with""
) and it worked!I am not sure if that is a typo or a language settings issue but when I changed it, it worked.
Although adding it to code snippets still does not work and so every time the theme updates I’ll have to probably redo the whole process.So it will be a great option if you can make it easier to increase variations through plugins interface.
But problem solved and thank you for your support!
- This reply was modified 2 years, 4 months ago by alexdimirop.
Yes of course I’ll do, thank you for your support.
It’s just another problem that I posted earlier and still haven’t found a solution and my project depends on it because I can’t make the swatches work for all my products.
Other than that it’s really a great product.
Ok, thank you for your response.
I thought attributes ordering it was just for how will appear when you edit the product attributes in backend and that it was possible to do it indipendently for the frontend based on the order you add variations to each product.
Thanks that’s how I’ll do it.
Also to mention that I already use a plugin that increases max variations and I have set it to 500. The variations work normally when I disable variation swatches but if I enable it limits to 200.
I don’t use a child theme but i have code snippets installed.
I made a new snippet with the code above and I changed it to return 400 and set it to run everywhere; I also cleared the cache, but it doesn’t work. Am I doing something wrong?
Hi, thank you for your response.
How could I add this function? I used code snippets to add it but it doesn’t seem to work. Is there another way?
It turns out that it has a max of 200 variations. If you add more it does not work. Is there a way to fix that?
Forum: Plugins
In reply to: [Variation Swatches for WooCommerce] Variations greyed out in one productNo, I’ll find a solution, thank you.
Also to mention, the link to the page with that problem is:
https://www.lookforus.co.uk/product/stanley-stella-organic-unisex-creator-iconic-vegan-t-shirt-george-the-crow/Forum: Plugins
In reply to: [Variation Swatches for WooCommerce] Variations greyed out in one productYou are right, I am sorry for that.
The two plugins have the exact same name.
Thank you
Forum: Plugins
In reply to: [Variation Swatches for WooCommerce] Variations greyed out in one productAlso if I disable the plugin the page works normally,
Forum: Plugins
In reply to: [Variation Swatches for WooCommerce] Variations greyed out in one productHi, thank you for your response.
I recorded a video with the problem, in which together with the page that has the problem II also show another page in which it works normally.
The page is:
https://www.lookforus.co.uk/product/stanley-stella-organic-unisex-creator-iconic-vegan-t-shirt-george-the-crow/