Title: Hook doesn&#8217;t work
Last modified: December 21, 2020

---

# Hook doesn’t work

 *  [stelikas](https://wordpress.org/support/users/stelikas/)
 * (@stelikas)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/hook-doesnt-work/)
 * I bought the plugin because it referred that it will display the attributes of
   a product in the cart, although it doesn’t display the attributes of a simple
   product only variable products which was not clear. Anyway, i talked with the
   support and they gave me a hook i can use to display all attributes.
 * add_action( ‘xt_woofc_after_product_attributes’, ‘theme_prefix_xt_woofc_after_product_attributes’,
   10, 2);
 * function theme_prefix_xt_woofc_after_product_attributes ($cart_item, $cart_item_key){
   
   $item_data = $cart_item_key[‘data’]; $attributes = $item_data->get_attributes();
   echo($attributes); }
 * The hook doesn’t work, i’ve been trying to get reach of the support for 1 week
   now with no response, i hope i get an answer here.
    -  This topic was modified 5 years, 5 months ago by [stelikas](https://wordpress.org/support/users/stelikas/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhook-doesnt-work%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [XplodedThemes](https://wordpress.org/support/users/xplodedthemes/)
 * (@xplodedthemes)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/hook-doesnt-work/#post-13818031)
 * Hi Stelikas,
 * I did reply to you, also attached a fixed version of the plugin, however it seems
   that you haven’t received my email. It probably got blocked because of the attached
   zip file.
 * I will resend you the message and a link to the plugin via email in a couple 
   of minutes

Viewing 1 replies (of 1 total)

The topic ‘Hook doesn’t work’ is closed to new replies.

 * ![](https://ps.w.org/woo-floating-cart-lite/assets/icon-256x256.png?rev=2184098)
 * [XT Floating Cart for WooCommerce](https://wordpress.org/plugins/woo-floating-cart-lite/)
 * [Support Threads](https://wordpress.org/support/plugin/woo-floating-cart-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-floating-cart-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-floating-cart-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-floating-cart-lite/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [XplodedThemes](https://wordpress.org/support/users/xplodedthemes/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/hook-doesnt-work/#post-13818031)
 * Status: not resolved