Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #455528

    Thanks for the wonderful woocommerce shop demo contents and demo importer tool.
    can you please help me to do the following, as i am building custom product page by layout editor.

    1. On reviews help me to limit no of reviews shows on the page.
    2. the product info doesnt work , it shows me nothing even if i had entered the details and updated the post.

    any idea?

    #455807

    Hey tendersqatar!

    Thank you for using Enfold.

    Add this in the Quick CSS field:

    function woocommerce_product_review_list_args_mod($args){
      $args['per_page'] = 1;
      return $args;
    }
    add_filter( 'woocommerce_product_review_list_args', 'woocommerce_product_review_list_args_mod' );
    

    Regards,
    Ismael

    #456935
    This reply has been marked as private.
    #457077

    Hi!

    1.) The code will only limit the number of items but it will not render a pagination in the reviews tab. You can’t add a pagination there, technically you can but it’s not included by default. You need to modify the reviews tab template but that is not something we can provide here. Please hire a freelance developer or contact codeable: http://kriesi.at/contact/customization

    Using a plugin is another factor, the snippet above might not work. Please contact the plugin author regarding that. I’m sure they can give you snippets or direct you to the correct files in order to limit the review items.

    2.) Use this in the Quick CSS field to remove the related products inside the tab:

    #jp-relatedposts {
      display: none !important;
    }

    Cheers!
    Ismael

    #457495

    thanks… Its ok..because, i noticed the long list of reviews will show only when somebody clicks the review tab. it will not affect the default post length. Nice Design….

    But can you help me with
    1. I dont want to display the reviewer profile photo / icon in the review tab..
    2. the default format for review title is <no> REVIEWS FOR <product name>
    i want to make it <no> REVIEWS FOR “<product name>” , ,, ie to add “” symbol.

    • This reply was modified 9 years, 5 months ago by tendersqatar.
    #457509
    This reply has been marked as private.
    #458117
    This reply has been marked as private.
    #459129

    Hey!

    I don’t see the code when I checked the page. Please make sure that all brackets in the Quick CSS field are closed. Check if there are missing “semi-colons”.

    div#jp-relatedposts {
      display: none !important;
    }

    Best regards,
    Ismael

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