Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Missing Breadcrumbs #1134508

    Hi Victoria,

    That did create space for them to show, but they still are not showing.

    Looking at the code we used to bring in the full-width menu again, it looks like the title is called in but not the breadcrumbs. Or does title being in both? Here’s the code

    add_filter('avf_title_args', 'avf_title_args_mod', 10, 2); // edit default title
    function avf_title_args_mod($args,$id)
    {
    	ob_start();
    	echo '<div id="sub_menu1" class="av-submenu-container main_color container_wrap sidebar_right" style="z-index: 301; top: auto; position: absolute;"><div class="container av-menu-mobile-disabled">';
    	wp_nav_menu( array('menu' => 'test submenu', 'menu_class' => 'av-subnav-menu av-submenu-pos-center'));
    	echo '</div></div>';
    	
    	$menu = ob_get_clean();
    
    	$args['html'] = "{$menu}<div class='{class} title_container'><div class='container'><{heading} class='main-title entry-title'>{title}</{heading}></div></div>";
        return $args;   
    }

    For a short-term solution we added a call for the breadcrumbs in the single-product.php to get them to appear in the content area of the single product pages. We still would like to get the breadcrumbs in the header to work.

    in reply to: Displaying Upsells, Not Related Products #793430

    Update:
    I uploaded a backed-up version of my functions.php today and re-added the code in the original post.
    Nothing happened. So I tried a few things and what worked:
    if I remove all the upsells on a product, save, then re-add them and it works.

    Thank you Victoria and John for following up. You can mark this closed/solve. :)

    in reply to: Displaying Upsells, Not Related Products #793172

    Hi Victoria!

    Oh my! I was camping this weekend (no phone service). Just got back and saw your message.
    I logged into the host and removed all the code related the upsells in the functions.php file.
    The site is back online now.

    in reply to: Displaying Upsells, Not Related Products #792405

    Hello Victoria,

    I added the code snipped provided by Ismael in this post to the child theme’s functions.php
    https://kriesi.at/support/topic/you-may-also-like-or-related-products/

    No errors. No change on the product page. Related products are still showing even when upsells have been added to products.

    Thanks for your assistance!

Viewing 4 posts - 1 through 4 (of 4 total)