Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #473371

    Hello there, I am using the All In One Rich Snippets plugin and for a single product page using woocommerce and the enfold theme. When I go to google structure data tool I get these errors for this product page. http://lowpriceecigs.com/shop/x-ohm-mech-mod

    OverView
    http://screencast.com/t/tbTD9Xdf86

    Unspecified Type
    http://screencast.com/t/6cQ4toeoB

    Products
    http://screencast.com/t/tOuoTQpj

    Breadcrumbs
    http://screencast.com/t/eH6QU7BYulKW

    Can you please let me know if these errors will prevent rich snippets from showing up on google serps.

    #473732

    Hey Austin!

    Go into your cache plugin’s setting and deactivate caching. Does this error happen when you deactivate all your plugins as well?

    Cheers!
    Andy

    #474063

    Ok so I got everything working except the breadcrumb number 5 which is the breadcrumb of the actual product itself.

    Its telling me, “A value for the title field is required.”
    as well as, ” A value for the url field is required.”

    All I can tell is that breadcrumbs 1-4 which are the categories, are clickable links. The breadcrumb 5 is not a clickable link.

    #474861

    Hi!

    can you show us the breadcrumb in question? I think we might need admin access and you can post login details here as private reply. Our support for 3rd party plugins is limited, so please contact the plugin’s author about the issue with rich snippet plugin.

    Best regards,
    Andy

    #477972

    Hey Andy, is there a way to remove the last breadcrumb the “page title” breadcrumb from the breadcrumbs? Googles changes to the new Data Testing tool is not allowing the last breadcrumb to work. Forums are talking about updating class-breadcrumbs.php because of the changes by Google. Is this going to be fixed in the next update? thanks

    #478584

    Hi!

    You add this in the functions.php file if you want to remove the last item in the breadcrumb:

    add_filter( 'avia_breadcrumbs_trail', 'mmx_remove_element_from_trail', 50, 2 );
    function mmx_remove_element_from_trail( $trail, $args ) {
    	
    	if ( is_singular('product') ) {
    		unset($trail['trail_end']);
    	}
    	
    	return $trail;
    }

    If it doesn’t work, try this:

    add_filter( 'avia_breadcrumbs_trail', 'avia_breadcrumbs_trail_mod', 50, 2 );
    function avia_breadcrumbs_trail_mod( $trail, $args ) {
    	
    	if ( is_singular('product') ) {
    		array_pop($trail);
    	}
    	
    	return $trail;
    }

    Cheers!
    Ismael

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