Home Forums WoodMart support forum How do I remove the commas in between categories on archive page? Reply To: How do I remove the commas in between categories on archive page?

#442908

Hello,

Sorry for the inconvenience but we have checked and confirmed from the Test Site, these commas show when multiple Categories are tagged for a single product. This comma isn’t added through a tag or element which is why it isn’t possible to target it directly through CSS and hide it.

So, you can try hiding it from the Theme file. Please follow up to the following Theme file location:

wp-content/themes/woodmart/inc/integrations/woocommerce/template-tags.php

In this file, on Line Number 1190, you will find the comma added under the single quotes. You will just need to remove that comma added in single quotes and save the file: https://snipboard.io/WjpuUH.jpg

Note: We would recommend you to try this change in your Child Theme because if done in Parent Theme then it can wipe out with the Theme update. If you haven’t set up the Child Theme, you can read the guide here: https://xtemos.com/docs-topic/setup-child-theme/

Best Regards