Home Forums Basel support forum Products per page

Products per page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #17925

    852cmd
    Participant

    Hi,

    We have set the Products per page under Theme Settings – Shop to 36. However, it’s only showing 12.

    Please help, thanks.

    #17929

    Eric Watson
    Participant

    This problem is caused by custom code in your child theme.

    Kind Regards
    XTemos Studio

    #18352

    852cmd
    Participant

    Hi,

    Could you please tell us which custom code in the child theme is actually conflicting?

    Thanks a lot!

    #18354

    Eric Watson
    Participant

    Check this code please in basel-child/functions.php

    function wg_view_all_products(){
           
    	if($_GET['view'] === 'all'){
    		return '9999';
    	}
            else
            { 
               return '12';
               }
    }

    Kind Regards
    XTemos Studio

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