Digital experiences for all disciplines
New Landing › How can we help? › Cardinal › Show cart in header with Header 7 …
New Landing › How can we help? › Cardinal › Show cart in header with Header 7 …
- This topic has 15 replies, 3 voices, and was last updated 9 years by Kyle – SUPPORT.
-
Posted in: Cardinal
-
August 23, 2015 at 2:22 pm #206500
Hi,
I can’t seem to find the way to show my Cart icon in the header, I’m using header 7 and on the rights side I selected the overlay menu but I also need AUX links. In the theme options everything is set correctly. I’m probably missing something …?
If using the cart in Header 7 is not supported in this theme, can you please give me the code so I can add it myself in the child theme?
Thanks a lot
August 24, 2015 at 10:54 am #206665Hi
You’ll need to edit the template file for header 7 in cardinal/template-parts/header/header-7.php
– Kyle
August 24, 2015 at 11:48 am #206691Hi Kyle,
yes I know … but what’s the code to include the cart so that it will appear in the same way as header 1 or 2? The code excists because you guys used it in the other headers. But how do I include it in header 7?
I tried using this but that didn’t do it:
<?php echo $sf_get_cart; ?>
Thanks a lot for your help!
Nicolas
August 24, 2015 at 12:25 pm #206714The cart is one of the aux options for header left/right, you can’t have 2 aux options on one side and currently you’re using the overlay menu. To add the cart aux to the right as well as the menu would require quite a lot of work to the files, which is unfortunately beyond our scope of support.
I’ll see if we can add this in a future update
– Kyle
August 24, 2015 at 12:40 pm #206719mmm ok … this is kind of a huge bummer. I just created the whole site and now wanted to implement the shop and now it’s not possible. I assumed this was included in the theme. Now you can only use 2 headers when you want a shop with this theme.
However, I think it’s easier to use the AUX/CART option on the right side and include the overlay menu myself then in the child theme like this …
<a href="#" class="overlay-menu-link"><span>Menu</span></a>
I hope this will work.That future update will probably not be anytime soon :)?
August 24, 2015 at 12:47 pm #206722I’m not sure I can only pass requests onto the developer for him to consider
– Kyle
August 24, 2015 at 12:53 pm #206724*Update: this doesn’t work. There is no way to display the cart in Header 7. Even setting AUX will not display the cart. It’s simply not possible.
I can add a Cart icon with total items in the child theme header with just the regular Woocommerce code. But this has very limited functionality. Not the functions showed in your demos.
http://docs.woothemes.com/document/show-cart-contents-total/Don’t get me wrong please. I am very happy about this theme, it’s great. But personally I think this should have been supported. This is the reason non-advanced coders buy a theme in the first place.
Thanks
August 24, 2015 at 12:58 pm #206726Sorry my mistake, the cart aux is automatically added to the menu, so any header that use the normal menu will have the cart enabled, so just not the ones with the overlay menu
– Kyle
August 24, 2015 at 9:58 pm #206953For anyone having issues with this, I solved this and I can recommend this plugin, that works perfectly with this theme:
http://codecanyon.net/item/woocommerce-cart-woocart-pro/7992078This is fully css stylable and ajax supported by the way, worth the few bucks and saves you hours of headaches :).
August 25, 2015 at 7:49 am #207029Great, thanks for sharing 🙂
– Kyle
November 27, 2015 at 6:03 pm #231916@Kyle are you still getting notifictions for this thread?
I’m facing a similar problem:
I want to have the cart next to my overlay manu like in the responsive view.
How did you achieve the functionality utilizingthe plugin?
Did you just put 2 shortcodes in one header config, one for the cart on for the menu?Thanks
November 30, 2015 at 9:12 am #232073Hi
The cart will show on the mobile header if you have it enabled in Theme Options > Header Options
– Kyle
November 30, 2015 at 12:04 pm #232111I know ;). But I want to have it there in the screen view as well.
Is there a shortcode for the overlay menu?
In that case I could buy the pluging recommended by @fabrikgrafik
and enter the 2 shortcodes (overlay menu & cart) in the right header config?
(In the other thread I opened you said it would be complicated with CSS and I would need a developer for that,
something I want to avoid)November 30, 2015 at 12:15 pm #232112Are you asking for it on desktop or mobile?
– Kyle
November 30, 2015 at 12:24 pm #232113desktop. I want to see the cart-icon in the same way it’s displayed on mobile
-
Posted in: Cardinal
You must be logged in and have valid license to reply to this topic.