Title: Attributes Export Features
Last modified: June 3, 2020

---

# Attributes Export Features

 *  Resolved [doyuk](https://wordpress.org/support/users/doyuk/)
 * (@doyuk)
 * [6 years ago](https://wordpress.org/support/topic/attributes-export-features/)
 * Hi,
    The default language of my site is English. I use the WPML plugin. I translated
   my site in Turkish, German and French.
 * I configure XML for sites that do not use WordPress.
 * I want to print WordPress Attributes information in one area.
    I have to do this
   using translations by language.
 * [https://monosnap.com/file/iA96XcS3orEzufAhrakrYMWXxW3uIq](https://monosnap.com/file/iA96XcS3orEzufAhrakrYMWXxW3uIq)
   
   [https://monosnap.com/file/uAMwwrUMExBa536fMUSO6o1S9seI07](https://monosnap.com/file/uAMwwrUMExBa536fMUSO6o1S9seI07)
 * There must be a simple way to do this.
    But as far as I can see it is very difficult.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fattributes-export-features%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/attributes-export-features/#post-12971198)
 * Hi [@doyuk](https://wordpress.org/support/users/doyuk/)
 * > I want to print WordPress Attributes information in one area. I have to do 
   > this using translations by language.
 * If you’re looking to print a dynamic list of attributes/values per product in
   this format, you’d have to write a custom PHP function that outputs the attributes
   as you desire: [https://www.wpallimport.com/documentation/export/pass-data-through-php-functions/](https://www.wpallimport.com/documentation/export/pass-data-through-php-functions/).
 * Here’s an example that you can modify as needed:
 *     ```
       function my_output_atts( $id ) {
       	$xml = '';
       	if ( $product = wc_get_product( $id ) ) {
       		$atts = $product->get_attributes();
       		foreach ( $atts as $att => $att_object ) {
       			// parse and output values here
       			// see: https://docs.woocommerce.com/wc-apidocs/class-WC_Product_Attribute.html
       		}
       	}
       	return $xml;
       }
       ```
   
 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/attributes-export-features/#post-13000471)
 * [@doyuk](https://wordpress.org/support/users/doyuk/) I am marking this as resolved
   since we haven’t heard back. You can follow up here with any questions.
 * Anyone else, please start a new topic.

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

The topic ‘Attributes Export Features’ is closed to new replies.

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

 * 2 replies
 * 2 participants
 * Last reply from: [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/attributes-export-features/#post-13000471)
 * Status: resolved