|  | @@ 134-136 (lines=3) @@ | 
                                                            
                                    | 131 |  | 	$template = ''; | 
                                                            
                                    | 132 |  |  | 
                                                            
                                    | 133 |  | 	// Look in yourtheme/slug-name.php and yourtheme/woocommerce/slug-name.php | 
                                                            
                                    | 134 |  | 	if ( $name && ! WC_TEMPLATE_DEBUG_MODE ) { | 
                                                            
                                    | 135 |  | 		$template = locate_template( array( "{$slug}-{$name}.php", WC()->template_path() . "{$slug}-{$name}.php" ) ); | 
                                                            
                                    | 136 |  | 	} | 
                                                            
                                    | 137 |  |  | 
                                                            
                                    | 138 |  | 	// Get default slug-name.php | 
                                                            
                                    | 139 |  | 	if ( ! $template && $name && file_exists( WC()->plugin_path() . "/templates/{$slug}-{$name}.php" ) ) { | 
                                                                                
                                |  | @@ 144-146 (lines=3) @@ | 
                                                            
                                    | 141 |  | 	} | 
                                                            
                                    | 142 |  |  | 
                                                            
                                    | 143 |  | 	// If template file doesn't exist, look in yourtheme/slug.php and yourtheme/woocommerce/slug.php | 
                                                            
                                    | 144 |  | 	if ( ! $template && ! WC_TEMPLATE_DEBUG_MODE ) { | 
                                                            
                                    | 145 |  | 		$template = locate_template( array( "{$slug}.php", WC()->template_path() . "{$slug}.php" ) ); | 
                                                            
                                    | 146 |  | 	} | 
                                                            
                                    | 147 |  |  | 
                                                            
                                    | 148 |  | 	// Allow 3rd party plugins to filter template file from their plugin. | 
                                                            
                                    | 149 |  | 	$template = apply_filters( 'wc_get_template_part', $template, $slug, $name ); |