in Wordpress Themes by hilvy (120 points)
Hello forum,

i've made an template with TT for wordpress and want to use it for an webshop environment.
Now i want to use the plugin Woocommerce Menu Cart, but this plugin is not working in TT.
This is because the navigation menu is not using the wp_nav_menu function.
The next line i found in the header.php of the theme.
<?php echo templatetoaster_theme_nav_menu('ttr_','primary','menu',True,True,False,False);?>

Here i changed templatetoaster_theme_nav_menu into wp_nav_menu.
This changed my navigation menu and the Woocommerce Menu Cart plugin is visible.

The problem that i have is that i've to change the class also, but that is where i get lost.
I did found a soluton for another known template builder but did not give me the correct soluton, but turned me into the right way.
https://wordpress.org/support/topic/wp- ... ?replies=7

Maybe someone can help me to get the class correct. From the topic above i know that i have to change the class into menu_class.....

Thanks, Hilvy

8 Answers

by gfxwebpay (420 points)
I too am wanting to use the Woocommerce Menu Cart but it does not work with TT template. Anyone can help, support, dev team? Thanks.
by pitufa_rm (400 points)
hello, now the solution I found is to replace the default menu theme for the max mega menu (https://wordpress.org/plugins/megamenu/) . The new version allows to incorporate a menu by shrotcode and to add within the template .

regards
by gfxwebpay (420 points)
hello, now the solution I found is to replace the default menu theme for the max mega menu (https://wordpress.org/plugins/megamenu/) . The new version allows to incorporate a menu by shrotcode and to add within the template .

regards



So this menu plugin will show the Woocommerce Menu Cart plugin?
by pitufa_rm (400 points)
hello, now the solution I found is to replace the default menu theme for the max mega menu (https://wordpress.org/plugins/megamenu/) . The new version allows to incorporate a menu by shrotcode and to add within the template .

regards



So this menu plugin will show the Woocommerce Menu Cart plugin?


Yes it is, You can use it as a widget within the MegaMenu or in its original position to the left in the menu

remember to change padding from the menu theme of the menu options to place the menu in the right position of the template

bye 8-)

captura1.jpg

captura2.jpg
by gfxwebpay (420 points)
hello, now the solution I found is to replace the default menu theme for the max mega menu (https://wordpress.org/plugins/megamenu/) . The new version allows to incorporate a menu by shrotcode and to add within the template .

regards



So this menu plugin will show the Woocommerce Menu Cart plugin?


Yes it is, You can use it as a widget within the MegaMenu or in its original position to the left in the menu
captura1.jpg
remember to change padding from the menu theme of the menu options to place the menu in the right position of the templatecaptura2.jpg

bye 8-)


Awesome thank you :). Until TT devs actually fixes the compatibility issues, this is the next best thing.
by pitufa_rm (400 points)
Awesome thank you :). Until TT devs actually fixes the compatibility issues, this is the next best thing.


:D :D :D :D :D 8-)
by gfxwebpay (420 points)
hello, now the solution I found is to replace the default menu theme for the max mega menu (https://wordpress.org/plugins/megamenu/) . The new version allows to incorporate a menu by shrotcode and to add within the template .

regards



So this menu plugin will show the Woocommerce Menu Cart plugin?


Yes it is, You can use it as a widget within the MegaMenu or in its original position to the left in the menu
captura1.jpg
remember to change padding from the menu theme of the menu options to place the menu in the right position of the templatecaptura2.jpg

bye 8-)


Heya ok I finally started the website and came down to the menu cart. I installed the Mega Menu plugin, enabled it etc., changed padding, picked the Mega Menu under the Woocommerce Menu Cart settings but it still isn't showing up (pretty sure I'm just not doing it right). Can you walk me step by step as to how you added the Mega Menu to your template and the Woocommerce Menu Cart to it? Thanks!
by pitufa_rm (400 points)
Hello, you have to look at the head this line:
<?php echo templatetoaster_theme_nav_menu('ttr_','primary','menu',True,True,False,False);?>

and replace it with this
<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
by gfxwebpay (420 points)
Thank you, working perfectly :). I knew I was overlooking something.
Interested in localizing/Translating TemplateToaster Software in your native language in exchange of a Pro License ? Contact Us
...