This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

WooCommerce Custom Shop

  • Creator
    Topic
  • #24350
    Matthew MacMillan
    Participant

    Hi All,

    I have to customize the shop page for the WooCommerce plugin on my site. I’ve done the normal things to customize Woo templates (copy the woocommerce.templates>etc to a woocommerce directory in my child theme directory and proceed).

    None of my changes are actually showing. So as I’m looking around to see if I’ve done something wrong, I also know that Jumpstart does have a few overrides to WC in place. Is there something different I should be doing to customize WooCommerce on Jumpstart? A different methodology? Or should I keep looking for something I’ve done wrong?

    Matt

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #24351
    Jason Bobich
    Keymaster

    Hi Matt,

    Your method will work for most WC template files, however we have overridden just a few of them, for important reasons to functionality of the theme.

    Specifically what template files are you trying to edit from your child theme that you’re having trouble with?

    #24352
    Matthew MacMillan
    Participant

    In the end, I’ll be mostly addressing the shop page and the way products are displayed on there.

    I need to make the shop display in list view by default, then I’ll be rearranging the products themselves and adding a few wrapper divs. So I think the files I’ll be working on will be:
    archive-product.php
    content-product.php
    and then a number of hooks for the product views

    Sound like safe territory?

    The toughest part is going to be the default list view, I think. No idea how to pull that one off, but I’ll figure it out.

    #24353
    Jason Bobich
    Keymaster

    Neither of those template files are touched by the theme; so you should be able to copy them to your child theme in the normal way.

    There are options on your theme options page for changing the default view style of your shop and product archives.

    But keep in mind the “list” view is not a part of default WooCommerce. So there’s no template file from WooCommerce that can simply be copied.

    See the file /framework/compat/woocommerce/templates/content-list.php in the theme — You’d use the filter “themeblvd_woocommerce_list_template” to filter in an absolute path on your server to a version of this file in your child theme.

    #24361
    Matthew MacMillan
    Participant

    Wow, I hadn’t known JS had such close integration with Woo. I love that.

    Thanks for the intel, Jason. This is everything I need and more.

    As always, you rock.

    Matt

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.