Inherit Builder for customizing plugin pages

I am using iThemes Exchange and it is recommended I add page.php and product.php in order to enable Exchange pages to be fully customizable.

Please let me know if the recommended codes below will work or do I have to make edits for Beaver:

Page.PHP
function render_content() {
if ( have_posts() ) {
while ( have_posts() ) : the_post();
the_content();
endwhile;
} else {
do_action( ‘builder_template_show_not_found’ );
}
}
add_action( ‘builder_layout_engine_render_content’, ‘render_content’ );
do_action( ‘builder_layout_engine_render’, basename( FILE ) );

Product.php
function render_content() {
it_exchange_get_template_part( ‘content’, ‘product’ );
}
add_action( ‘builder_layout_engine_render_content’, ‘render_content’ );
do_action( ‘builder_layout_engine_render’, basename( FILE ) );

Hey Alyce,

This is a bit beyond my particular skill set, but have you given the above a shot yet? It may be best to try beforehand and if you have any issues, just let us know and we can take a look.

Best,
Billy