Using [alg_product_id] shortcode in element ID

Forums Product XML Feeds for WooCommerce Using [alg_product_id] shortcode in element ID

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #105567
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Aidas,

    Sorry for a late reply. Yes, you can. To do that, you need to replace quotes " with HTML symbol code " (as in WordPress shortcodes are not allowed in HTML attributes), so:

    <item id=&quot;[alg_product_id]&quot;>

    And it will produce “normal” quotes in resulting XML, e.g.:

    <item id="123">

    Hope that helps.

    #105568
    J Verk
    Guest

    Why isn’t this working with a custom attribute name?

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.