By defaults, Woocommerce cart dropdown displays inside the Main Menu.
I managed to display it inside the Secondary Menu (avia_meta_header) modifying the wp-content/themes/enfold/config-woocommerce/config.php file:
Old (line 1522):
add_action( $position, ‘avia_woocommerce_cart_dropdown’, 10);
New (line 1522):
add_action(‘avia_meta_header’, ‘avia_woocommerce_cart_dropdown’, 10);
But now it is not displaying the list of products preview inside the dropdown. How can I make it display again but with the new option inside the Secondary Menu (avia_header_meta)?
Image with the OLD action:
https://gyazo.com/26b925721b53c6e32041f8a3bf2abc64
Image with the NEW action:
https://gyazo.com/9e30f3274b005ca5de9985faac1c51df
Hey smartretail!
Thank you for using Enfold.
This is a minor css issue. Please add this in the Quick CSS field:
#top .sub_menu li .cart_list {
display: block;
left: auto;
top: auto;
width: 100%;
position: relative;
border: 0;
box-shadow: none;
}
Regards,
Ismael
Thank you Ismael! It worked as a charm.
Regards.