Support » Plugin: WooCommerce » [Plugin: WooCommerce] Customising the shop base page

  • Resolved pandaj

    (@pandaj)


    What’s the easiest way to customise the shop base page? I can’t find a template file for it and need to change a few things such a widget displaying that shouldn’t, removing the dropdown sort option and the general style.

    It’d be nice to change it so that the title isn’t the ‘Site Title – Tagline’.

    Thanks

Viewing 3 replies - 16 through 18 (of 18 total)
  • I’m having an issue with trying to customize the the Shop Base Page on my site.

    I’ve saved the archive-product.php into my template folder:

    /wp-content/themes/Dorothy/woocommerce/archive-product.php

    But it doesn’t seem to be taking any of the changes I’m making. This is especially strange because I am able to edit the individual product pages already, so I know this should work, for some reason it just isn’t.

    Is there some other file I need to working with? I’m also using the Yoast SEO plugin in case that might be creating some issue.

    @mdellinger I had the same issue as you. For some reason I could not change the shop base page until I decided to take measures into my own hands.

    In archive-product.php I commented out these two lines:

    do_action(‘woocommerce_before_main_content’)
    do_action(‘woocommerce_after_main_content’)

    I then added the div id’s and class wrappers I wanted since I have a custom theme in place. I added the divs straight to this page and it worked just as I wanted it too.

    When you comment these lines out you will lose the breadcrumb because it is hooked into the “woocommerce_before_main_content” hook but you can add that if you want. I left mine out.

    I tried following these instructions and was still unable to edit the Shop base template (archive-product.php).

    I tried tfink12’s method of commenting out `do_action(‘woocommerce_before_main_content’)
    do_action(‘woocommerce_after_main_content’)`
    but still nothing.

    As a last ditch attempt I copied all my necessary files (the new woocommerce folder, + any files/folders that I had previously edited to create my own theme) from my old template folder into the twentyTwelve template folder and it worked straight away.

    Hope this helps someone!

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘[Plugin: WooCommerce] Customising the shop base page’ is closed to new replies.