Title: MathF's Replies | WordPress.org

---

# MathF

  [  ](https://wordpress.org/support/users/mathf/)

 *   [Profile](https://wordpress.org/support/users/mathf/)
 *   [Topics Started](https://wordpress.org/support/users/mathf/topics/)
 *   [Replies Created](https://wordpress.org/support/users/mathf/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/mathf/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/mathf/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/mathf/engagements/)
 *   [Favorites](https://wordpress.org/support/users/mathf/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] How to add/create Woocommerce Custom Product Type "template"](https://wordpress.org/support/topic/how-to-addcreate-woocommerce-custom-product-type-template/)
 *  Thread Starter [MathF](https://wordpress.org/support/users/mathf/)
 * (@mathf)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/how-to-addcreate-woocommerce-custom-product-type-template/#post-7346634)
 * First off before i continue i do have to say i’m making a plugin and not a theme(
   as these things seem to be vastly different).
 * I already created that function as you said (had found that before but it doesn’t
   really change anything or i’m doing something wrong)
 *     ```
       function woocommerce_mytype_add_to_cart() {
               wc_get_template( WP_PLUGIN_DIR.'/mypluginname/templates/mytype.php' );
       }
       ```
   
 * I also have my template, but don’t I miss a certain hook or… that lets woocommerce
   know that it should load my template instead of the standard product template
   
   Also mytype’s extends WC_Product and not WC_Simple_Product (don’t know if it 
   matters for this)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] How to add/create Woocommerce Custom Product Type "template"](https://wordpress.org/support/topic/how-to-addcreate-woocommerce-custom-product-type-template/)
 *  Thread Starter [MathF](https://wordpress.org/support/users/mathf/)
 * (@mathf)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/how-to-addcreate-woocommerce-custom-product-type-template/#post-7346630)
 * [@mike](https://wordpress.org/support/users/mike/) Jolley first of thanks for
   your response but could provide a small code/plugin example that i could go off
   from (so i can understand it better) as the explanation you’ve given me is rather
   minimal and i’m by far an expert 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Custom bulk action in woocommerce products](https://wordpress.org/support/topic/custom-bulk-action-in-woocommerce-products/)
 *  Thread Starter [MathF](https://wordpress.org/support/users/mathf/)
 * (@mathf)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/custom-bulk-action-in-woocommerce-products/#post-7099268)
 * Did not see that the $wp_list_table = _get_list_table(‘WP_Posts_List_Table’);
   Did work

Viewing 3 replies - 1 through 3 (of 3 total)