• The text is displayed only after installation, and until I try to change the settings in the plugin.

    For some reason, there are empty lines in the variable.

    // main.php
    430: $messages_options = $options['br_lmp_messages_settings'];
    var_dump($messages_options);
    array(4) { ["loading"]=> string(0) "" ["loading_class"]=> string(0) "" ["end_text"]=> string(0) "" ["end_text_class"]=> string(0) "" } 

    The interface does not have these (link) settings.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author RazyRx

    (@razyrx)

    Hello,

    Plugin must use part with translation function, we will change how it work in next plugin release.

    Regards,
    Oleg

    Thread Starter Andreslav

    (@andreslav)

    Hello,

    I’m not sure I understand the cause of the problem, but I’ll be waiting!

    Thread Starter Andreslav

    (@andreslav)

    I have now installed the plugin: the problem still persists (I don’t know if there have been updates since then).

    Thread Starter Andreslav

    (@andreslav)

    I hope you fix it!)
    Temporarily solved the problem like this:

    add_filter('brfr_get_option_BeRocket_LMP', function($args, $product) {
    	if(isset($args['br_lmp_messages_settings']['loading']) && !$args['br_lmp_messages_settings']['loading']) {
    		$args['br_lmp_messages_settings']['loading'] = 'Загрузка...';
    	}
    	return $args;
    }, 10, 2);
    Thread Starter Andreslav

    (@andreslav)

    I noticed that the html and styles of the ‘Load More’ buttons, ‘Load Previous’ are loaded even if they are hidden (enabled “Infinity Scroll”), which is not very good.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘The text “Loading…” is not displayed’ is closed to new replies.