Okay
  Public Ticket #3417700
Bulk order form navigation issue
Closed

Comments

  •  3
    Jurgen started the conversation

    I am using the bulk order form, cream edition. Works great. But I have over 400 products in my store and the form only shows 100 per page. At the end of the page it says: You’ve seen all the products. Back to Top.
    Underneath that is a button that says Next.
    The problem is that I want to edit or remove the text "You’ve seen all the products. Back to Top." because it is confusing. People don't click to the next page and think there are no more products. Is there a way to change or delete te text? Or alternatively can I fit all the products on one page?


    Thank you!

    Jurgen

  •  2,285
    WebWizards replied

    Hi there,

    You can change the number of results that show in the form by adding this PHP code snippet to your site:

    add_filter('b2bking_search_results_number_order_form_cream', function($results){
         return 1000; // number of results
    }, 10, 1);
    

    This will set it to 1000 results, but you can enter any number there.


    It is also possible to change that text by adding this PHP code snippet to your site:

    add_filter('b2bking_seen_all_products_text', function($text){
        return 'Different text here';
    }, 10, 1);
    

    A PHP snippet can be added to functions.php, or by following our guide here: https://woocommerce-b2b-plugin.com/docs/how-to-add-a-snippet-php-or-js/


    Kind regards,

    Stefan

  •  3
    Jurgen replied

    Thank you so much, that works like a charm. You are golden my man!

  •  2,285
    WebWizards replied

    Regarding category hierarchies (as discussed here https://webwizards.ticksy.com/ticket/3234576 ):

    Please check that when you edit the categories, there is a parent category set:

    7316470168.png


    I wonder if the issue may be that you're actually looking at menu hierarchies rather than actual category hierarchies.

  •   Jurgen replied privately
  •   WebWizards replied privately
  •   Jurgen replied privately
  •   Jurgen replied privately
  •   WebWizards replied privately
  •   Jurgen replied privately
  •  2,285
    WebWizards replied

    Awesome, glad that worked : )


    You can update to all future plugin versions (starting with the next official version) - the changes have already been merged with the main codebase, so no worries, you will not lose anything by updating.