( ! ) Warning: get_current_user() has been disabled for security reasons in /home/luxdesig/public_html/handmade.luxdesign28.ro/wp-content/plugins/ajax-search-for-woocommerce/fs/lib/includes/class-fs-logger.php on line 89
Call Stack
#TimeMemoryFunctionLocation
10.0002230088{main}( ).../index.php:0
20.0003230920require( '/home/luxdesig/public_html/handmade.luxdesign28.ro/wp-blog-header.php' ).../index.php:17
30.0004231696require_once( '/home/luxdesig/public_html/handmade.luxdesign28.ro/wp-load.php' ).../wp-blog-header.php:13
40.0004232640require_once( '/home/luxdesig/public_html/handmade.luxdesign28.ro/wp-config.php' ).../wp-load.php:37
50.0005233872require_once( '/home/luxdesig/public_html/handmade.luxdesign28.ro/wp-settings.php' ).../wp-config.php:91
60.04975685232include_once( '/home/luxdesig/public_html/handmade.luxdesign28.ro/wp-content/plugins/ajax-search-for-woocommerce/ajax-search-for-woocommerce.php' ).../wp-settings.php:362
70.04985686120require_once( '/home/luxdesig/public_html/handmade.luxdesign28.ro/wp-content/plugins/ajax-search-for-woocommerce/fs/config.php' ).../ajax-search-for-woocommerce.php:24
80.04985686152dgoraAsfwFs( ).../config.php:32
90.05386249096fs_dynamic_init( ).../config.php:25
100.05386249296Freemius::instance( ).../start.php:513
110.05386249768Freemius::_load_required_static( ).../class-freemius.php:2284
120.05386250024FS_Logger::get_logger( ).../class-freemius.php:2826
130.05386250264FS_Logger::init( ).../class-fs-logger.php:71
140.05386250312get_current_user ( ).../class-fs-logger.php:89
To change the related products number and columns – Cadouri HandMade

To change the related products number and columns

Change the related products number and columns

Maybe this article will help you a little bit. With the new update of Woocommerce something changes in the related.php located in Woocommerce > … related.php

To change the number of the columns and products displayed you must find this

1269 function woocommerce_related_products( $args = array() ) {
global $product, $woocommerce_loop;

$defaults = array(
‘posts_per_page’ => 6,
‘columns’ => 3,
‘orderby’ => ‘rand’,
‘order’ => ‘desc’,
);

located on the page wc-template-functions.php . The path is /home/your user/domain or subdomain/wp-content/plugins/woocommerce/includes/wc-template-functions.php

You can verify on my website at this address:
https://handmade.luxdesign28.ro/produs/cutiuta-culori-tricolor-motive-traditionale-pe-fond-alb-si-rosu-28222/

by default are 2 columns and 2 products. I changed with 3 columns and 6 products. You cand make the change to fit your store. This is an article written for owner of stores that use Woocommerce plugin and WordPress CMS platform. Hope this help you!