# WooCommerce templates using Beaver

**URL:** <https://community.wpbeaverbuilder.com/t/woocommerce-templates-using-beaver/3172>\
**Category:** Beaver Builder\
**Created:** [May 11, 2015, 11:18am UTC](https://community.wpbeaverbuilder.com/t/woocommerce-templates-using-beaver/3172 "2015-05-11T11:18:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![elemento](https://community.wpbeaverbuilder.com/letter_avatar_proxy/v4/letter/e/ba9def/32.png) [@elemento](https://community.wpbeaverbuilder.com/u/elemento)\
**Post date:** [May 11, 2015, 11:18am UTC](https://community.wpbeaverbuilder.com/t/woocommerce-templates-using-beaver/3172/1 "2015-05-11T11:18:36Z")

</div>

Using Beaver, I want to use Woocommerce differently to what we do today.

To goal is to be able to build WC templates using Beaver. Templates are no longer templates but normal pages using WC shortcodes or functions.

When creating a product, the default behavior of WooCommerce is to take you to the defined product page template, for example, content-single-product.php for product page.

I wrote shortcodes (or functions, doesn’t matter) that behave as product element templates that display on screen the current product being viewed.

For example: [wc-product-image] that display on screen the image of the current product being viewed. It is a module, for example WCProductGalleryModule that extends FLBuilderModule.

However, in order to achieve this, I need to redirect product detail page to the new post instead of the default template used by WC.

Any idea how do I achieve that?

---

<div class="post-metadata">

**Author:** ![billy](https://community.wpbeaverbuilder.com/user_avatar/community.wpbeaverbuilder.com/billy/32/11_2.png) [@billy](https://community.wpbeaverbuilder.com/u/billy)\
**Post date:** [May 11, 2015, 11:43am UTC](https://community.wpbeaverbuilder.com/t/woocommerce-templates-using-beaver/3172/2 "2015-05-11T11:43:50Z")

</div>

Hey Elemento,

I could be off a bit here, but I don’t think this has anything to do with BB. I think you’ll have to add a WooCommerce function to your functions.php file to complete a redirection. I would recommend taking a look at their documentation on that. Hope that helps, but let me know if I am missing something here.

Best,  
Billy

---

<div class="post-metadata">

**Author:** ![system](https://community.wpbeaverbuilder.com/uploads/default/original/2X/9/9db1b183a7ea1efa26199a2a2b3511d742473dae.png) [@system](https://community.wpbeaverbuilder.com/u/system)\
**Post date:** [April 27, 2019, 10:16pm UTC](https://community.wpbeaverbuilder.com/t/woocommerce-templates-using-beaver/3172/3 "2019-04-27T22:16:29Z")

</div>


