Customizing WooCommerce Plugin

Customizing WooCommerce Plugin

  • May 9, 2018

WooCommerce plugin is a plugin for WordPress to make the WordPress site, an E-commerce site. Many peoples have misunderstood wooCommerce as the platform to make e-commerce site because of its vague nature of handling product, carts, shipping, and payments. This plugin is used by more than 40 million people to run an online business.

Developers also prefer this plugin because it gives many features which help us make our website work on automation. It also supports the API outside of WordPress, customers can give reviews, tax calculations according to customer address. In addition, recommendation of upselling and cross-selling is possible here. Admin can manage the visibility of the product.

The basic page of WooCommerce are:

  1. Cart Page
  2. Checkout Page
  3. Account Page
  4. Shop Page

Customizing WooCommerce Plugin

  1. Duplicate page.php and rename it to woocommerce.php
  2. Create a new folder and name it woocommerce.
  3. Copy all the files and folders from template folder of woocommerce plugin and paste it into the woocommerce folder of the theme file.
  4. Adding some text: Add hook in function.php to change or add the text
  5. Edit or overwrite the same class or function created by woocommerce in CSS for customizing.

Files to work on to customize the page

archive-products..php – shop page

single-product.php-> content-single-product.php – single product page.

Facebook