Support » Plugin: WooCommerce » remove commas between product tags

  • Resolved Ali



    i was wondering how to remove commas between product tags. I’m using oceanwp theme.

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Niels Lange


    Hello @golali,

    To remove the commas between the product tags, you’d have to overwrite the corresponding templates. On you can find information on how to overwrite templates.

    Thread Starter Ali


    Thank you for the prompt response. I guess the comma between tags comes from meta.php and more specifically, this part:

    <?php echo wc_get_product_tag_list( $product->get_id(), ‘, ‘, ‘<span class=”tagged_as”>’ . _n( ‘Tag:’, ‘Tags:’, count( $product->get_tag_ids() ), ‘woocommerce’ ) . ‘ ‘, ‘</span>’ ); ?>

    however, I’m not able to find the comma I need to delete from the snippet as I’m not good with coding. any help?

    Plugin Support Joey – a11n


    Hi @golali – some working knowledge of code will be required, as you’ll need to override the corresponding template in your child theme. Since this requires site access, that’s not something I’m able to provide in the forums.

    If you need help getting those templates overridden and can’t figure out how to do so from our documentation, we highly recommend contacting one of the services on our customizations page:

    – Joey

    Thread Starter Ali


    thanks anyways

    Plugin Support Missy a11n


    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to go ahead and mark this thread as resolved. If you have any other questions please feel free to start a new thread.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘remove commas between product tags’ is closed to new replies.