WooCommerce Product Multi Layout

WooComerce Products Multi Layouts plugins recently grab attentions from lots of website builders. They find the plugin to diversify the way they display product items beautifully and differently. And the WooCommerce Products Multi layout plugin is crafted with this main goal


Click To View Layout

Usage Demo

Developer guide to Create New Addons

How to Create New Layout


add_filter( 'woo_multi_layout_get_template_list', 'example_callback', 10, 1 );

function example_callback( $array ){
	$array ['newtemplate.php'] = array(
			'label' => __('Grid', 'ED_MULTI_LANG'),
			'thumbnail' => '/assets/admin/images/template-grid.png',
			'template' => 'template-grid.php',
		);
	return $array;	
}


add_filter( 'woo_mulit_layout_template_file', 'choose_custom_file_localtion', 10, 1 );
function choose_custom_file_localtion( $file ){
	if (preg_match("/newtemplate.php/i", $file )) {
		return 'your/file.newtemplate.php';
	}else{
		return $file;	
	}
}

How to Add New element on drag and drop editor

	
add_filter( 'woo_multi_layout_editor_element', 'new_layout_editor_element', 10, 1 );

function new_layout_editor_element( $array ){
	$array ['author'] = array(
				'field_label' => 'Author',
				'field_list' => array(
					'col_name' => array(
						'label' => 'Column Name :',
						'class' => 'ed_element-wrapper for-table',
						'placeholder' => 'Column name',
						'render' => 'editor_input_text'
					),
					'col_width' => array(
						'label' => 'Column width :',
						'class' => 'ed_element-wrapper for-table',
						'placeholder' => 'Column width Ex. 200px or 20%',
						'render' => 'editor_input_text'
					),
					'author_text' => array(
						'label' => 'Product By Text :',
						'class' => 'ed_element-wrapper',
						'placeholder' => 'Product By :',
						'render' => 'editor_input_text'
					)
				 )
			);
	return $array;	
}

    
There is few demo with Developer guide , most all variable & function are editable by wp filter and action .... if you have any more query please add me skype ( e2getway )