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.
The page I need help with: [log in to see the link]
- The topic ‘Hook doesn’t work’ is closed to new replies.