Home › Forums › WoodMart support forum › W3C Errors That need to fix
W3C Errors That need to fix
- This topic has 10 replies, 2 voices, and was last updated 3 years ago by Luke Nielsen.
-
AuthorPosts
-
November 2, 2021 at 10:56 am #329159
XristosParticipantHello,
I need to fix 3 errors that appear in W3C https://validator.w3.org/.
I attached 3 pictures with these errors.Best Regards
ChrisAttachments:
You must be logged in to view attached files.November 2, 2021 at 1:05 pm #329194
Luke NielsenKeymasterHello,
We apologize for the inconvenience you are experiencing.
I have confirmed from the development department that these 3 errors will be fixed in our future update.
https://gyazo.com/f4bfa60a477fb61a87172a67f7b899d5
https://gyazo.com/cb4244d1f13b679989f6657024065f69
https://gyazo.com/f9067583e49ec849808959cd5eb11b8d
Kind Regards
November 2, 2021 at 1:35 pm #329206
XristosParticipantHello @Luke Nielsen,
#1. If I will update into WoodMart 6.2 – beta version. The 3 errors will be fixed?
#2. If not then I need (immediately a temporary solution) because the website will be checked by a third-party organization and should be without error.
Thank you.
November 2, 2021 at 4:12 pm #329235
Luke NielsenKeymasterHello,
1. In order to remove error with the “itemprop” attribute go to woodmart\woocommerce\single-product\title.php
https://gyazo.com/cd83c9df991a31b3172c1b1939fe0c3a
In the “title.php” file you need to find the
<h1>
tag and remove the “itemprop=’name’” attribute from there.https://monosnap.com/file/ZozlZhsSqOqA0qw3t0TnCdy2PV4sFf
2. To remove error with the “xmlns:v” attribute, go to woodmart\inc\template-tags\template-tags.php
https://gyazo.com/e099022ebe8081b0f94bf5ce459d7af5
In the “template-tags.php” file you need to find the
woodmart_breadcrumbs
function and inside this function in line 1392 you will see this div class<div class="breadcrumbs" xmlns:v="https://schema.org/">
, remove from there the “xmlns:v=”https://schema.org/”” attribute.https://monosnap.com/file/XZfETIh0WEqakkiltcVGBMhBLXlgd6
3. To remove the error with the “size” attribute, go to woodmart\woocommerce\global\quantity-input.php
https://gyazo.com/bdd18afc7ebf1b1201c1157a4f120106
In the “quantity-input.php” file you need to find the “div” tag with the “quantity” class (
<div class="quantity">
) there you will see the “input” tag with different attributes among which is thesize="4"
attribute, just remove it.https://monosnap.com/file/yAVKea3mUI3XkGM6wzyIqAGlQjEtEs
Kind Regards
November 3, 2021 at 10:13 am #329360
XristosParticipantHello @luke,
I made the changes you wrote to me and they work perfectly.
#1. Because I have more websites with WoodMart theme and probably I will need to do more of those changes in the near future.
Can you tell me how to locate in which .php folder that error code is?
I mean I can locate with the inspector where is that code, but then how do I know in which folder should I go and make the changes? (see picture locate-the-code.jpg)#2 I rescan entire the website and unfortunately, I find 2 more errors.
a. Inside of some products (picture Error 4.png)(checked with https://validator.w3.org/nu/) (example https://e-lectrolysis.gr/shop/sakoules-gia-skoupes/%cf%85%cf%86%ce%b1%cf%83%ce%bc%ce%ac%cf%84%ce%b9%ce%bd%ce%b5%cf%82-%cf%83%ce%b1%ce%ba%ce%bf%cf%8d%ce%bb%ce%b5%cf%82-%ce%bc%ce%b5-%ce%bc%ce%b9%ce%ba%cf%81%ce%bf%cf%8a%ce%bd%ce%b5%cf%82-%ce%b3%ce%b9/
And
https://e-lectrolysis.gr/shop/thermansi-psiksi/anemistires/%ce%b5%cf%80%ce%b9%cf%84%cf%81%ce%b1%cf%80%ce%b5%ce%b6%ce%b9%ce%bf%cf%83-%cf%80%ce%bb%ce%b1%cf%83%cf%84%ce%b9%ce%ba%ce%bf%cf%83-%ce%b1%ce%bd%ce%b5%ce%bc%ce%b9%cf%83%cf%84%ce%b7%cf%81%ce%b1%cf%83/
)
b. Inside categories and subcategories (picture Error-5.jpg) (checked with https://wave.webaim.org/) (example https://e-lectrolysis.gr/product-category/rologia/
And https://e-lectrolysis.gr/product-category/rologia/xeiros/
)Best Regards,
ChrisAttachments:
You must be logged in to view attached files.November 3, 2021 at 4:03 pm #329452
Luke NielsenKeymasterHello,
1. In order to locate in which .php folder that error code, first you need to locate the issue with the inspector then copy a part of code and globally search it in your theme folder via some text editor.
2. Try to check these errors on the default theme just to check whether the issue is with our theme or not.
Kind Regards
November 4, 2021 at 11:21 am #329578
XristosParticipantHello @luke
Thank you for the reply.
#1. I don’t undestand how to (globally search it in your theme folder via some text editor). Did you mean inside the cPanel server files? Or I should use an FTP client? Can you give me more details?
I find and use a plugin (string locator) and fix the Error-5.jpg error.
#2 I need help with the Error-4.png. I can’t solve it and it’s the LAST error. I am so close but I need your help, please!
Inside of some products (picture Error 4.png)(checked with https://validator.w3.org/nu/) (example https://e-lectrolysis.gr/shop/sakoules-gia-skoupes/%cf%85%cf%86%ce%b1%cf%83%ce%bc%ce%ac%cf%84%ce%b9%ce%bd%ce%b5%cf%82-%cf%83%ce%b1%ce%ba%ce%bf%cf%8d%ce%bb%ce%b5%cf%82-%ce%bc%ce%b5-%ce%bc%ce%b9%ce%ba%cf%81%ce%bf%cf%8a%ce%bd%ce%b5%cf%82-%ce%b3%ce%b9/
And
https://e-lectrolysis.gr/shop/thermansi-psiksi/anemistires/%ce%b5%cf%80%ce%b9%cf%84%cf%81%ce%b1%cf%80%ce%b5%ce%b6%ce%b9%ce%bf%cf%83-%cf%80%ce%bb%ce%b1%cf%83%cf%84%ce%b9%ce%ba%ce%bf%cf%83-%ce%b1%ce%bd%ce%b5%ce%bc%ce%b9%cf%83%cf%84%ce%b7%cf%81%ce%b1%cf%83/
)I can’t find where that Attribute data- located.
I appreciate your help.
Best Regards,
ChrisAttachments:
You must be logged in to view attached files.November 5, 2021 at 10:21 am #329761November 5, 2021 at 10:57 am #329775
Luke NielsenKeymasterHello,
1. Unfortunately, I can’t explain it to you because you need to have certain programming skills to detect various problems on your site, just send us your errors and we will fix them in future updates.
2. There is a probability that this problem isn’t related to our theme. Could you please check how it works with the default theme? Because I can’t find this problem on my demo site and maybe this problem was caused by a third party plugin.
Kind Regards
November 9, 2021 at 1:11 pm #330510
XristosParticipantNovember 9, 2021 at 1:49 pm #330524
Luke NielsenKeymasterHello,
We are glad that you managed to fix the issue yourself.
Let us know if there’s anything else we can do for you! You can always reach us at any time.
We wish you all the best
Kind Regards
-
AuthorPosts
The topic ‘W3C Errors That need to fix’ is closed to new replies.
- You must be logged in to create new topics. Login / Register