• Resolved Paul

    (@paulschiretz)


    Hi there,

    I use the TIWishlist with WPC product bundles.

    I know it’s a minor thing but i noticed that you are, producing invalid html.

    Basically in the tinvwl_woo_product_bundle_loop_data function you are outputting:

    <input type="hidden" id="woosb_ids" class="woosb_ids" name="woosb_ids"
    				   value="<?php echo esc_attr( $ids_str ); ?>"
    				   readonly/>

    this is added for each product bundle in the woocommerce loop. So when i validate my html i get a massive amount of duplicate id errors, and i also want to note the readonly is not allowed here also.

    Attribute “readonly” is only allowed when the input type is “date”, “datetime-local”, “email”, “month”, “number”, “password”, “search”, “tel”, “text”, “time”, “url”, or “week”.

    Duplicate ID “woosb_ids”.

    why not just leave the id empty and remove the readonly?

    I know, it’s not a big thing, but it’s very easy to fix…
    I would be very thankful if you could resolve this.

    All the best,
    Paul

    • This topic was modified 3 years, 7 months ago by Paul.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘invalid html with WPC Bundles’ is closed to new replies.