Not show correct pc layout at product list page

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM Not show correct pc layout at product list page

Viewing 3 reply threads
  • Author
    Posts
    • #42887
      MOHO
      Participant

      when view “admin/products/”

      product list page 1 not show correct layout at PC

      but page 2 show correct layout at PC

      DO you know what is this bug?

      Is my product title have some bug?

      Attachments:
      You must be logged in to view attached files.
    • #42899
      WCFM Forum
      Member

      HI,

      Well, I can only assume – this is because of long title.

      Can you please add this code snippet and check once –

      add_filter( 'wcfm_product_title_dashboard', function( $display_label, $product_id ) {
      	$product_title = get_the_title( $product_id );
      	if( strlen( $product_title ) > 25 ) {
      		$display_label = '<a href="' . get_wcfm_edit_product_url( $product_id ) . '" class="wcfm_product_title">' . substr( $product_title, 0, 25 ) . ' ..</a>';
      	}
      	return $display_label;
      }, 50, 2 );

      Thank You

    • #42988
      MOHO
      Participant

      Well, I can only assume – this is because of long title.
      –> you are right

      When i use your code, display this error message when i view product list page.

      Attachments:
      You must be logged in to view attached files.
    • #43079
      WCFM Forum
      Member

      Opps! Code is fine, please check at wp-admin -> WooCommerce -> Status -> Logs -> what exact error happening?

      Thank You

Viewing 3 reply threads
  • The topic ‘Not show correct pc layout at product list page’ is closed to new replies.