Support » Plugin: XT Floating Cart for WooCommerce » Hook doesn’t 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 3 years, 3 months ago by stelikas.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author XplodedThemes

    (@xplodedthemes)

    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.