Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9197023
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T21:58:51+00:00 2026-06-17T21:58:51+00:00

I am validating my store in http://validator.w3.org/ and i have some errors. Looks like

  • 0

I am validating my store in http://validator.w3.org/ and i have some errors.

Looks like that products from feature slider and new products listing on the homepage have identical ids.

Here is an example of the error:

Line 601, Column 93: ID “product-price-16” already defined

<span class="regular-price" id="product-price-16">

An “id” is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).

Line 288, Column 93: ID “product-price-16” first defined here

<span class="regular-price" id="product-price-16">`

Is it possible to define IDs of products from feature slider with an prefix?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T21:58:52+00:00Added an answer on June 17, 2026 at 9:58 pm

    Product price display is updated by JavaScript using these IDs, and causing a JavaScript error can result in broken JavaScript form handling, namely, add to cart. The template which is rendering these is used in a number of places. You will want to set a different template for the price in the feature slider rather than edit the catalog/product/price.phtml template.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While validating my CSS on http://jigsaw.w3.org/css-validator/ I am getting following errors: 1.Property zoom doesn't
I am validating my store in W3 validator and I am gettin some errors
I have an XML document that looks like this: <?xml version=1.0 encoding=UTF-8?> <xs:msgdata xmlns:xs=http://www.myCompany.com
I'd like to hear which schema.org itemtype others would recommend using or have used
I have a form that I am validating via captcha. I have an if
I have some content that is generated by the Drupal CMS that contains strings
Recently I rebuilt some forms so they would accept International Domains like http://例子.测试 I
I have a product management page that contains a textarea in which some html
I'm writing some XML in PHP that is not validating because the closing greater
I want to delete some nodes from menu xml that is being stored in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.