Wordpress Theme

How to update Theme for Woocommerce plugin update

5 views May 17, 2017 admin 0


-- Download How to update Theme for Woocommerce plugin update as PDF --


How to update Theme for Woocommerce plugin update

What is woocommerce?

WooCommerce is a free eCommerce plugin that allows you to sell anything, beautifully. Built to integrate seamlessly with WordPress, WooCommerce is the world’s favorite eCommerce solution that gives both store owners and developers complete control.

Why to update Theme for Woocommerce plugin update?

Because to make our theme compatible with woocommerce to support the shop page in our theme with all its feature.

What are the prerequisites? Need wordpress admin credentials of theme to update it.

How to update Theme for Woocommerce plugin update?

1.If there is update for woocommerce plugin.you need to update it by clicking on Update now

2017-05-17_1721

2.Then you need make theme compatible to latest woocommerce update

2017-05-17_1740

3.So to make the theme compatible you need to go to wp-content folder of wordpress in which you have updated woocommerce.

2017-05-17_1725

In wp-content/plugins folder you will see woocommerce folder

2017-05-17_1726

4.In woocommerce folder you will get the templates folder

2017-05-17_1727

5.You need to copy the templates folder and paste in wp-content/themes/theme_name which theme you want to make compatible.

2017-05-17_1744

6.In your woocommerce folder you will get content-product file

2017-05-17_1746

To customize how the product will look and to show favicon in top-left corner of product image .

2017-05-17_1821

Open it in notepad++ and copy the part which is shown in below screenshot from that file and paste it in same file in templates folder

2017-05-17_1747

7.If you want to open the link in next tab when clicked on buy now button

2017-05-17_1825

You need to add target=”_blank” in the anchor tag <a>

In woocommerce/single-product/add-to-cart/external file.

8.If your theme has masonary style then you need to make changes in woocommerce/loop/loop-start file

2017-05-17_1754

You need to copy the content of that file and paste it in templates/loop/loop-start file.

9. After making changes in templates files you need to delete woocommerce folder in theme folder and rename the templates file to woocommerce.

And after completing above steps you will see the update msg is not prompted. If the version change is of more difference then you can run woocommerce data update.

2017-05-17_1757

This is how you can update Theme for Woocommerce plugin update

What can go wrong

1.First update the plugin then copy the templates folder.

2.First make changes in templates folder accordingly from woocommerce folder in theme folder

4.Then only delete woocommerce folder and rename templates folder

5.If theme has masonary style don’t forget to make changes for it

Created By Rahul