Title: Additional Attributes
Last modified: December 4, 2017

---

# Additional Attributes

 *  Resolved [ecksofa](https://wordpress.org/support/users/ecksofa/)
 * (@ecksofa)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/additional-attributes-2/)
 * Is it possible to add additional attributes?
    The AWS-API/ProductAdvertisingApi
   offer a lot more attributes ([AWS](http://docs.aws.amazon.com/AWSECommerceService/latest/DG/RG_ItemAttributes.html))?
 * I dont mind if i need to edit the mustache or php files. Just dont want to dig
   through all of them.
    -  This topic was modified 8 years, 5 months ago by [ecksofa](https://wordpress.org/support/users/ecksofa/).
    -  This topic was modified 8 years, 5 months ago by [ecksofa](https://wordpress.org/support/users/ecksofa/).
    -  This topic was modified 8 years, 5 months ago by [ecksofa](https://wordpress.org/support/users/ecksofa/).

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

 *  Thread Starter [ecksofa](https://wordpress.org/support/users/ecksofa/)
 * (@ecksofa)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/additional-attributes-2/#post-9749690)
 * Ok i found the file. It is all in the aalb_xml_helper.php.
    But i am not sure
   if i am allowed to modify it without violating the [conditions of use](https://s3.amazonaws.com/aalb-public-resources/documents/AssociatesLinkBuilder-ConditionsOfUse-2017-01-17.pdf).
   Can anyone confirm this?
 *  Thread Starter [ecksofa](https://wordpress.org/support/users/ecksofa/)
 * (@ecksofa)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/additional-attributes-2/#post-9764107)
 * Got it running in the end
    [http://www.lebenslanggesund.de/](http://www.lebenslanggesund.de/)/
   demo
 *  [superninchen](https://wordpress.org/support/users/superninchen/)
 * (@superninchen)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/additional-attributes-2/#post-9764483)
 * May I ask which attributes you modified/added? What’s the benefit of it all?
 * Don’t get me wrong, this is no criticism. I am genuinely interested in “tuning”
   my ads and links, too. 🙂
 * Cheers,
    Sascha
 *  Thread Starter [ecksofa](https://wordpress.org/support/users/ecksofa/)
 * (@ecksofa)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/additional-attributes-2/#post-9765987)
 * You can display any attribute listed here [http://docs.aws.amazon.com/AWSECommerceService/latest/DG/RG_ItemAttributes.html](http://docs.aws.amazon.com/AWSECommerceService/latest/DG/RG_ItemAttributes.html)
 * a lot more than the plugin is offering like genre for musik and movies, additional
   product features, color sizes and much more. I need it for another project ([https://www.eck-sofa.de/](https://www.eck-sofa.de/)
   to filter for the color of the corner couch
 *  [superninchen](https://wordpress.org/support/users/superninchen/)
 * (@superninchen)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/additional-attributes-2/#post-9765996)
 * Thanks mate, I’ll look into it. (Y)
 *  [superninchen](https://wordpress.org/support/users/superninchen/)
 * (@superninchen)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/additional-attributes-2/#post-9768416)
 * Okay [@ecksofa](https://wordpress.org/support/users/ecksofa/), I’ve gone through
   the list of possible attributes and find this very interesting.
 * Can you give me a short code example how you incorporated your “custom attributes”
   into your shortcodes? That’d be grrrreat! 😉
 * Cheers,
    Sascha
 *  Thread Starter [ecksofa](https://wordpress.org/support/users/ecksofa/)
 * (@ecksofa)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/additional-attributes-2/#post-9768479)
 * U need to edit aalb_xml_helper.php to make the property available. There a method
   add_custom_nodes:
 *     ```
       $aalb_node->ASIN = isset( $item->ASIN ) ? $item->ASIN : null;
                   $aalb_node->Title = isset( $item->ItemAttributes->Title ) ? $item->ItemAttributes->Title : null;
                   $aalb_node->DetailPageURL = isset( $item->DetailPageURL ) ? $item->DetailPageURL : null;
                   $aalb_node->LargeImageURL = isset( $item->LargeImage->URL ) ? $item->LargeImage->URL : null;
                   $aalb_node->MediumImageURL = isset( $item->MediumImage->URL ) ? $item->MediumImage->URL : null;
                   $aalb_node->SmallImageURL = isset( $item->SmallImageURL->URL ) ? $item->SmallImage->URL : null;
   
       $aalb_node->Publisher = isset( $item->ItemAttributes->Publisher ) ? $item->ItemAttributes->Publisher : null;
   
       //new properties
       if ( ! empty( $item->ItemAttributes->Feature[0] ) ) {
        $aalb_node = $this->add_xml_node( $aalb_node, 'Feature0', $item->ItemAttributes->Feature[0] );
       			}
       ```
   
    -  This reply was modified 8 years, 5 months ago by [ecksofa](https://wordpress.org/support/users/ecksofa/).
 *  [superninchen](https://wordpress.org/support/users/superninchen/)
 * (@superninchen)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/additional-attributes-2/#post-9768505)
 * Ah, very nice. Thank you! 😀
 *  Plugin Author [Amazon Associates Link Builder](https://wordpress.org/support/users/amazonlinkbuilder/)
 * (@amazonlinkbuilder)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/additional-attributes-2/#post-9905964)
 * Dear [@ecksofa](https://wordpress.org/support/users/ecksofa/),
 * There is no issue in modifying the file. The only problem is that you have to
   modify the same on every update provided by the plugin.
 * By the way, we released v1.5.3 of the plugin yeserday that fixed few bugs present
   in previous versions and you can also “Geo-targeted links” that enable Amazon
   Associates to create content customized for and better monetize their international
   traffic. More details [here](https://amazon-affiliate.eu/en/about-the-programme/amazon-associates-link-builder/).

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

The topic ‘Additional Attributes’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/amazon-associates-link-builder_fec375.
   svg)
 * [Amazon Associates Link Builder](https://wordpress.org/plugins/amazon-associates-link-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amazon-associates-link-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amazon-associates-link-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/amazon-associates-link-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amazon-associates-link-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amazon-associates-link-builder/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [Amazon Associates Link Builder](https://wordpress.org/support/users/amazonlinkbuilder/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/additional-attributes-2/#post-9905964)
 * Status: resolved