May 16
Standard WooCommerce functions and tag and classes and names...
first thanks and I hope you find it without looking for the Portuguese thief! Read this thread and know what mistakes you made and what you need to fix.
To make sure the problem is not on our end. We compared the codes with all other popular themes and there were no problems anywhere. We are sure that in version 7.5.1, some things have been done that are not compatible with WordPress and WooCommerce standards.
in the new version of Woodmart 7.5.1, you used unstandard and Unconventional names and classes and HTML tags and etc for single product pages and more...
This has caused the custom code we wrote to not work. And this has caused a lot of trouble.
This is not the case with any other template, and the new version of your template, namely 7.5.1, has become a non-standard template that does not use standard and default WordPress and WooCommerce metas, classes, and style sheets.
I wrote a mini plugin for select automatically variations in a single product page and replacing and updating attributes texts and options with my choices
my code works well with 7.4.3 and before versions of the WoodMart theme with the latest WooCommerce 8.8.2 version and all other themes like Astra, 2024 and etc.
but it does not work with 7.5.1 I think you use unstandardized attribute names and functions in 7.5.1
I Use
selectName + ' td p
.woocommerce-product-attributes-item--
select.attr('name');
.text(selectValues.join
and something like this
Now the question is, what have you changed that my code doesn't work properly only in your version 7.5.1 ver?
Here, I will give you some examples of the previous version and the new version in the form of a picture, you just have to see it and understand. This is assumed to be considered in a variable product.
7.4.3
https://i.imgur.com/j483NTp.png
7.5.1
https://i.imgur.com/PM0ZgfA.png
in this case, for example, in the 7.4.3 ver and before you used a <p> tag for attributes without any class for p tag and used a class for parents td (you did not use two span with classes for th - in ver the 7.5.1) and used just one in the 7.4.3
7.4.3
https://i.imgur.com/AKMqWdh.png
7.5.1
https://i.imgur.com/3zzVkFM.png
in this case, in the 7.4.3 version for th tag, you used a span with the wd-attr-name class, but in the 7.5.1 version, you used two spans! with difference class (wd-attr-name and wd-attr-name-label)
7.4.3
https://i.imgur.com/gnlBBci.png
7.5.1
https://i.imgur.com/FOV2iD5.png
in this case, in the 7.4.3 version, you merge and join and show all attributes item values for an attr-name in just a p tag
but in the 7.5.1 ver, You created a separate span and class, and tag for each of the values, and even separated the commas in a way.
Of course, there are many other things that I don't know about and you know better. Or maybe I didn't explain it very well. But I am sure that I expressed my meaning correctly and I was able to understand where the problem is and you understand my meaning correctly. Just read and take a look at the pictures yourself and also don't use non-standard and unconventional methods and go back to the original.
wish you luck.
Closed
Hello, Thank you for reaching out to us with your question. We appreciate that you use our theme and are happy to help you in any way we can. To ensure that we are able to provide you with the best support possible, we encourage you to create a new topic on our support forum with your question or issue. Our support team actively monitors the forum and will be able to provide you with a prompt and thorough response. To create a new topic on our support forum, please follow these steps: 1. Visit https://xtemos.com/forums/forum/woodmart-premium-template/ and sign in with your account. 2. Click on the “Create New Topic” button and provide a descriptive title and detailed description of your question or issue. 3. Click “Submit” to post your question. Once you have posted your question on the support forum, our team will review it and provide a response as soon as possible. Thank you for your cooperation, and we look forward to hearing from you on the support forum. Best regards