Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #596872

    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

    • This topic was modified 8 years, 8 months ago by smartretail.
    #598237

    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

    #601799

    Thank you Ismael! It worked as a charm.

    Regards.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Cart Dropdown Preview not displaying in Secondary Menu’ is closed to new replies.