Title: make ppom developer friendly
Last modified: August 6, 2019

---

# make ppom developer friendly

 *  Resolved [love4work](https://wordpress.org/support/users/love4work/)
 * (@love4work)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/make-ppom-developer-friendly/)
 * Hi,
 * First off, great plugin!
    I’ve got some issues with making a complete custom 
   design for my client because the templating must be done in your plugin folder
   and this is not a great developer experience as you might know.
 * Could you consider making this code change to ppom_load_template in the near 
   future?:
 *     ```
       function ppom_load_template($file_name, $variables=array('')){
   
       	if( is_array($variables))
           extract( $variables );
   
           $file_path = apply_filters('ppom_load_template', PPOM_PATH . '/templates/'.$file_name, $file_name, $variables);
   
           if( file_exists($file_path))
               include ($file_path);
           else
               die('File not found'.$file_path);
       }
       ```
   
 * This way we can hook into the ‘ppom_load_template’ ourselves and place the custom
   files where ever we want.
 * Thanks for looking into this!

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

 *  [N-Media](https://wordpress.org/support/users/nmedia/)
 * (@nmedia)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/make-ppom-developer-friendly/#post-11810982)
 * Hi [@love4work](https://wordpress.org/support/users/love4work/),
 * thanks for the suggestion, we have added this filter in our coming version 18.4.
   And we also adding some cool changes in PPOM for developers to override each 
   input template via themes. So design can be handled as per the theme.
 * Thanks.
 *  Thread Starter [love4work](https://wordpress.org/support/users/love4work/)
 * (@love4work)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/make-ppom-developer-friendly/#post-11811558)
 * Hi [@nmedia](https://wordpress.org/support/users/nmedia/),
 * This is great news, thanks!
 *  Thread Starter [love4work](https://wordpress.org/support/users/love4work/)
 * (@love4work)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/make-ppom-developer-friendly/#post-11812096)
 * Hi [@nmedia](https://wordpress.org/support/users/nmedia/)
 * I’ve downloaded this 18.4 beta but it appears to not have the filter.
    Could 
   you please make the beta version with this feature, so I can test this as well?
   many thanks.
 *  [N-Media](https://wordpress.org/support/users/nmedia/)
 * (@nmedia)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/make-ppom-developer-friendly/#post-11814919)
 * Hi,
 * Sure, you cand download it from [https://theproductionarea.net/wp-content/uploads/2019/08/nm-woocommerce-personalized-product.zip](https://theproductionarea.net/wp-content/uploads/2019/08/nm-woocommerce-personalized-product.zip)

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

The topic ‘make ppom developer friendly’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-product-addon/assets/icon-256x256.gif?rev=3186763)
 * [PPOM - Product Addons & Custom Fields for WooCommerce](https://wordpress.org/plugins/woocommerce-product-addon/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-product-addon/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-product-addon/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-product-addon/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-product-addon/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-product-addon/reviews/)

## Tags

 * [custom](https://wordpress.org/support/topic-tag/custom/)
 * [template](https://wordpress.org/support/topic-tag/template/)

 * 4 replies
 * 2 participants
 * Last reply from: [N-Media](https://wordpress.org/support/users/nmedia/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/make-ppom-developer-friendly/#post-11814919)
 * Status: resolved