Disabling blocks for mobile devices

Write a review

Allows you to disable blocks for mobile or other devices by cutting them out of the DOM structure

3 500 
Please enter a valid addres(es) of the shop where you are going to use the add-on.

The module allows you to completely disable blocks and sections on specific devices, removing them from the CS-Cart DOM structure instead of just hiding them.

Reducing the DOM structure on a website helps to improve page loading speed and increase its rating, especially on mobile devices. This is because having more than 1500 DOM elements can significantly slow down page rendering on mobile devices and negatively impact user experience. Therefore, it is important to remove unnecessary elements from the DOM structure to speed up page loading and increase its performance.

Module features

The ability to hide blocks and sections by choice:

  • For phones;
  • For PC;
  • For tablets.
Image

No posts found

Write a review

Installation

After downloading the addon, install it using the standard CS-Cart tools on the page Admin Panel → Modules → Module Management → Gear icon → Manual installation.

Image

Configuration

After installing the addon, the selection of mobile devices on which blocks need to be disabled is available on the layout section editing page.

To do this, go to Admin Panel → Design → Layouts → Layouts and select the settings of the desired section for editing (gear icon).

Image
Image

In the opened section editing window, check the checkboxes for the types of devices for which blocks need to be disabled, and click [Save].

Image

Done!

You can see how the module works in the example below, where the [Links to social media] block was disabled.

Image
Image

v1.1.6 from 11.08.2023

[*] Module standardization

v1.1.5 from 13.06.2023

[!] Blocks were also hidden in the admin panel when applying properties, fixed

v1.1.4 from 09.06.2023

[!] Some blocks were not displayed in layouts if they had the same id, fixed

v1.1.3 from 09.06.2023

[!] The condition for detecting existing columns did not work for some columns, fixed

v1.1.2 from 09.06.2023

[*] Errors occurred when adding columns during installation, fixed

v1.1.1 from 15.05.2023

[*] Licensing

Compatible versions:
  • 4.16.X
  • 4.15.X
  • 4.14.X
  • 4.13.X
  • 4.12.X
Инструкция к модулю
Тут будут сведения об обновлении

No reviews found