View Single Post
  #2  
Old 06-27-2012, 10:22 AM
 
keystone keystone is offline
 

X-Adept
  
Join Date: Jul 2006
Location: USA
Posts: 787
 

Default Re: w3c validation question

I also have an error caused by this line of code in /common_files/customer/main/product_prices.tpl

Code:
<div id="wl-prices"{if not $product_wholesale} style="display: none;"{/if}>

the validator doesn't like that
Code:
id="wl-prices"
is repeated on a page with multiple variants because id is supposed to be unique. If I change the line to
Code:
class="wl-prices"

it validates fine but I don't know if that will break functionality or not. Anyone know if changing that is wrong?
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3
mods:
reCaptcha
running on UNIX

www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2
mods:
reCaptcha
cdseo pro
running on UNIX
Reply With Quote