how to override woocommerce/loop/loop-start.php

I am newbie to wordpress and woocommerce. I have to change

<ul class="products"> to <div class="myclass">. 

For that I just coppied plugins/woocommerce/loop/loop-start.php in mytheme/woocommerce/loop/loop-start.php and changed the file loop-start.php accordingly. But this change does not apply to shop page of my theme. Any help will be appriciated.

Read More

Thanks in advance,

Aisha

Related posts

Leave a Reply

2 comments

  1. Just tested Below solutions for you, It worked.

    Copy loop-shop.php file from

    wp-contentpluginswoocommercetemplatesloop-shop.php

    and past it on your theme at

    yourthemewoocommerceloop-shop.php

    Find with <ul class="products"> code </ul> and replaced with <div class="myclass"> code </div>

  2. Since WooCommerce 2.0.0 a loop-start.php file was introduced. This file will need to be changed in order to update your class in the product loop.

    wp-contentpluginswoocommercetemplateslooploop-start.php
    

    and past it on your theme at

    yourthemewoocommercelooploop-start.php