If I look at the output, each product have a few attributes like refreshwithtemplate, productid and itemprop. Along with these there are some metatags and any of this doesn't validate.
What is it used for, and can it be deleted ?
It could be a solution swithching to HTML5 and prefix all the attributes with "data-" and do a little housecleaning.
But I don't know if there any of the attributes that are vital for the functionality.
Actually I modified the document to HTML5 and use the data- attribute on http://www.lightair.dk/shop/ionflow/ to fix the validation issues and haven't noticed it should affect the functionality.. on the frontpage I can see that I have missed to change it for the product boxes I added later.
At the linked page I only had a few validation problems with Facebook and with HTML5, some of the old styling on elements should be moved to css instead, like border attribute on e.g. table elements..
I am not sure excactly how refreshwithtemplate and productid is used, but itemprop, itemscope and itemtype are for semantics markup: see more on http://schema.org
Thanks for notifying us about this and thanks for the answer Bjarne. The refreshwithtemplate and productid is used in the javascript code for the starter kit to easy update the UI when you change the variant in the dropdown for a product.
Bad output
Hey Guys
Link: http://validator.w3.org/check?uri=http://starterkit.teacommerce.net/frontpage/
If I look at the output, each product have a few attributes like refreshwithtemplate, productid and itemprop. Along with these there are some metatags and any of this doesn't validate.
What is it used for, and can it be deleted ?
It could be a solution swithching to HTML5 and prefix all the attributes with "data-" and do a little housecleaning.
But I don't know if there any of the attributes that are vital for the functionality.
Hi Sebastian
Actually I modified the document to HTML5 and use the data- attribute on http://www.lightair.dk/shop/ionflow/ to fix the validation issues and haven't noticed it should affect the functionality.. on the frontpage I can see that I have missed to change it for the product boxes I added later.
At the linked page I only had a few validation problems with Facebook and with HTML5, some of the old styling on elements should be moved to css instead, like border attribute on e.g. table elements..
I am not sure excactly how refreshwithtemplate and productid is used, but itemprop, itemscope and itemtype are for semantics markup: see more on http://schema.org
/Bjarne
Hi Sebastian and Bjarne
Thanks for notifying us about this and thanks for the answer Bjarne. The refreshwithtemplate and productid is used in the javascript code for the starter kit to easy update the UI when you change the variant in the dropdown for a product.
Kind regards
Anders
is working on a reply...