How can we improve WooCommerce?

woocommerce_content

There is function "woocommerce_content" in /includes/wc-template-functions.php

My question is, why this function is generating output by itself?
This should use the same "achive-product.php" template.

I know "archive-product.php" is the main template with header and footer but we can split this template.

My suggestion is:
The part which "woocommerce_content" function use should be moved to another file "content-archive-product.php" and this template part should be used in both places.

It will really help if someone want to override the archive template and using "woocommerce_content" function too.

Thanks,
Aatif

2 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Aatif FarooqAatif Farooq shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Aatif FarooqAatif Farooq commented  ·   ·  Flag as inappropriate

        It took me hours to find out why archive-template.php is NOT being overloaded by adding file in the theme.

      Feedback and Knowledge Base