This is my woocommerce page , screenshot>> http://prntscr.com/jegqcp
The woocommerce page is the same menu as the cart menu (where cart is supposed to be shown
i have set this code in functions.php
function custom_blog_menu( $args ) {
if ( is_woocommerce() ) {
$args[‘theme_location’] = ‘Store Menu’;
$args[‘menu’] = ‘Store Menu’;
}
return $args;
}
and this code in wpheader.php in the x-child theme
<?php // ============================================================================= // VIEWS/ETHOS/WP-HEADER.PHP // ----------------------------------------------------------------------------- // Header output for Ethos. // ============================================================================= ?> <?php x_get_view( 'global', '_header' ); ?> <?php x_get_view( 'global', '_slider-above' ); ?> <?php x_get_view( 'ethos', '_post', 'carousel' ); ?> <?php x_get_view( 'global', '_topbar' ); ?> <?php x_get_view( 'global', '_navbar' ); ?> <div id="custom-fixed-menu">
<?php if (x_is_shop()) : ?>
<?php ubermenu( '5776' , array( 'theme_location' => 'secondary-menu' ) ); ?>
<?php else : ?>
<?php ubermenu( '5776' , array( 'theme_location' => 'secondary-menu' ) ); ?>
<?php endif; ?>
</div>
<?php x_get_view( 'ethos', '_breadcrumbs' ); ?>
<?php x_get_view( 'global', '_slider-below' ); ?>
<?php x_get_view( 'ethos', '_landmark-header' ); ?>
i dont know how its related, but do you have anyidea how can i show cart menu on the side where it shows the same menu?