How to create contact form in WordPress theme without plugins

WooCommerce is a free, powerful WordPress eCommerce plugin. Many of you have installed this plugin and want to customize your theme to compatible with Woocommerce theme. Here are some guidelines collected by Hi Responsive. Hopefully that will help you custom third party WooCommerce theme compatibility.

 

1. Custom Single Product in WooCommerce theme

Look for meta.php on plugins > woocomerce > templates > single-product. And replace everything with this:

<?php
/**
* Single Product Meta
*/

global $post, $product;
?>
<div class="product_meta">

<?php if (($product->is_type('simple') || $product->is_type('variable')) && get_option('woocommerce_enable_sku')=='yes') : ?>
<span itemprop="productID" class="sku"><?php _e('SKU:', 'woocommerce'); ?> <?php echo $product->sku; ?>.</span>
<?php endif; ?>

<p itemprop="price" class="price"><?php echo $product->get_price_html(); ?></p>

<?php echo $product->get_categories( ', ', ' <span class="posted_in">'.__('Category:', 'woocommerce').' ', '.</span>'); ?>

<?php echo $product->get_tags( ', ', ' <span class="tagged_as">'.__('Tags:', 'woocommerce').' ', '.</span>'); ?>

</div>
Share this :

Comments are closed.

Related post

Free Responsive Website templates

ThemeVina is Best site for free sharing and download Wordpress themes, Joomla templates, Responsive website templates and more HTML templates.

All template in Site are free. You can download and install for your site.

Contact us

  • Brand: Theme Vina
  • Email: admin@themevina.com
  • Website: www.themevina.com
  • Address: 367 Tran Hung Dao Street
  • Location: Thai Binh City, Thai Binh, Viet Nam

Newsletter