Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #762949

    Hi,

    I have created a Fullwidtgh SubMenu on my Main Page, and I want to add this Menu to all my Product catagory pages and Single Product Pages. How do I make it appear on all Product categoriy pages and single product pages ? Please Advice.

    Regards,

    Deniz Arsan

    #762992

    Hey kagitvs,
    There isn’t an easy way to do this because the Product catagory pages and Single Product Pages don’t have their own template. But you can try to copy the shortcode for the SubMenu and add it to those pages. Here are the steps:
    Try adding this code at the bottom of functions.php:

    //set builder mode to debug
    add_action('avia_builder_mode', "builder_set_debug");
    function builder_set_debug()
    {
    	return "debug";
    }

    Then try to create a new page, just add the fullwidth submenu, then the shortcode would appear at the bottom. Add this to your Product Pages
    This might be another option: http://kriesi.at/documentation/enfold/custom-woocommerce-shop-overview/

    Best regards,
    Mike

    #763299

    “Then try to create a new page, just add the fullwidth submenu, then the shortcode would appear at the bottom. ” I dont understand thi,s, where do I get the shortcode ? I dont see any shortcode at the bottom ?

    #763492

    Hi,

    Did you add the code Mike posted to functions.php? If you did then you should see an additional box under the Layout Builder window, where you can see the shortcodes. If that is not working then please post admin login details in private so that we can have a closer look.

    Best regards,
    Rikard

    #764369

    OK, I get the code and I pasted the code to the Single Product Page in WooCommerce, but it does not recodnize it as a shortcode. It displays the code as I pasted on the pages, please see the link below. Please advice.

    Regards,

    #764416

    Hi!

    Your shortcode listed is wrong.
    There are 2 shortcodes, one inside the other
    That is not properly and that is why it brakes

    Regards,
    Basilis

    #764422

    ok but this is what is written on the shortcode of the page; After I pasted the code above to the Functions.php, this is what is written on the page I created and I then insterted the Fullwidth menu on the page. Can you please tell me where I am doing wrong ?
    [av_submenu which_menu='' menu='274' position='center' color='main_color' sticky='aviaTBsticky' mobile='disabled']
    [av_submenu_item title='Menu Item 1' link='' linktarget='no' button_style='']
    [av_submenu_item title='Menu Item 2' link='' linktarget='no' button_style='']
    [/av_submenu]

    #764436

    I now wonder if I paste the code in the correct place ?

    #764594

    Hi,

    The codes went out of bounds :D Try to post your code in http://pastebin.com/ and post the link here. :)

    Best regards,
    Nikko

    #764745

    I hope I did it right;

    http://pastebin.com/36XHn8ar

    #765375

    Hi,

    Yes, you posted it right :) It doesn’t process the shortcode because you need to put it inside this function:

    do_shortcode();

    Try using this code instead: http://pastebin.com/hkr9vc8A
    Hope this helps :)

    Best regards,
    Nikko

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.