Woocommerce. What file is the display of



  • Hello. Would you please tell me what HTML file the product table display code? So, go into the category, see the merchandise grid, there's a picture, a price, and how do you get a picture of this whole category? Let me add something else to every product.



  • A template is used to display a group of goods archive-product.php♪ He's in the file of the topic: themes/theme-name/archive-product.php or themes/theme-name/woocommerce/archive-product.php♪ If there is no such template in the topic to be used, a default template is used which is in the plastic folder: plugins/woocommerce/templates/archive-product.php

    Each individual product is the responsibility of the template content-product.php♪ To call him in the file. archive-product.php function wc_get_template_part( 'content', 'product' );♪ File of the template content-product.php It is also searched for the first time in the folder of the topic, and if it has not been found, the default template in the plastic folder is used.

    If you change, you need to do this for the file that's in the file with the subject. If it's a file. content-product.php No, no, no, no, no, no, no, no, no, no, no, no, no.




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2