# Woocommerce & Blade (Sage 9)

**URL:** https://discourse.roots.io/t/woocommerce-blade-sage-9/8449
**Category:** sage
**Created:** 2017-01-03T03:46:10Z
**Posts:** 27
**Showing post:** 9 of 27

## Post 9 by @Eljas — 2017-01-12T15:09:49Z

@emilsgulbis posted a way to use blade templates for WooCommerce. ([https://github.com/roots/sage/issues/1807](https://github.com/roots/sage/issues/1807) ).

> …you should create 2 files in templates/woocommerce - archive-product.php and single-product.php and add only
> 
> \<?php echo App\Template('woocommerce'); to them. Then in templates/woocommerce add woocommerce.blade.php that contains @extends('layouts.base') @section('content') @php(woocommerce\_content()) @endsection

The only thing I did different was to place `woocommerce.blade.php` file inside _theme/template_ folder instead of _theme/template/woocommerce_.

---

_[View the full topic](https://discourse.roots.io/t/woocommerce-blade-sage-9/8449)._
