Title: Enumeration parameter
Last modified: November 30, 2020

---

# Enumeration parameter

 *  Resolved [ilyapokrov](https://wordpress.org/support/users/ilyapokrov/)
 * (@ilyapokrov)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/enumeration-parameter/)
 * Please tell me how to work with the following attribute entry:
    **<param name
   =”Размерный ряд”>35-43</param>**
 * It indicates that the shoes are available in the following sizes – 35, 36, 37,
   38, 39, 40, 41, 42, 43.
 * If you write {param[@name= “Размерный ряд”]}, then 35-43 will be displayed. But
   I need to specify each size so that these attribute values are included in the
   search on the site. Thank you in advance!

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

 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/enumeration-parameter/#post-13752012)
 * Hi [@ilyapokrov](https://wordpress.org/support/users/ilyapokrov/),
 * You’d have to write a PHP function that outputs the full range of numbers with
   the pipe symbol as the delimiter: [https://www.wpallimport.com/documentation/developers/custom-code/inline-php/](https://www.wpallimport.com/documentation/developers/custom-code/inline-php/).
 * Here’s an example function:
 *     ```
       function my_output_range( $numbers ) {
       	$range = explode( '-', $numbers );	
       	$return = array();	
       	for ( $i = $range[0]; $i <= $range[1]; $i++ ) {
       		$return[] = $i;
       	}	
       	return implode( '|', $return );
       }
       ```
   
 *  Thread Starter [ilyapokrov](https://wordpress.org/support/users/ilyapokrov/)
 * (@ilyapokrov)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/enumeration-parameter/#post-13754330)
 * [@wpallimport](https://wordpress.org/support/users/wpallimport/),
    Thanks! It
   helped me.

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

The topic ‘Enumeration parameter’ is closed to new replies.

 * ![](https://ps.w.org/wp-all-import/assets/icon-256x256.png?rev=2570179)
 * [WP All Import – Drag & Drop Import for CSV, XML, Excel & Google Sheets](https://wordpress.org/plugins/wp-all-import/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-all-import/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-all-import/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-all-import/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-all-import/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-all-import/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [ilyapokrov](https://wordpress.org/support/users/ilyapokrov/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/enumeration-parameter/#post-13754330)
 * Status: resolved