Closed fredericalpers closed 2 months ago
- Analysis of the code to identify the cause of the bug.
@fredericalpers The bug was caused by the necessary scripts for the unit detail not being loaded. I have fixed it and this is demo video: https://files.fm/f/mfxgkumzqy
Files are not loaded on property detail page
Introduction
In version 4.18 of the onOffice for WP-Websites plugin, a bug has occurred that causes certain files not to be loaded when the [oo_estate units="units" view="detail"] shortcode is used.
Steps for replication:
Expected behavior: The files like onoffice_detailview-js, slick.js and slick.ss should be loaded to support the functionality of the onOffice plugin.
Observed behavior: The mentioned files are not loaded, which leads to an incorrect display of the slick slider.
User Story
As a real estate agent using the onOffice for WP Websites plugin, I expect all relevant files to load properly when I use the units shortcode to display units as well.
This is important for my website to function correctly and for potential clients to have a smooth experience when searching for properties and units. Failure to load these files can result in an incorrect display, which in turn affects customer confidence in my website and service.
By fixing the bug, the impaired function of the onOffice for WP website should be restored. This will result in a better user experience and a professional presentation for potential customers.
Requirements / Tasks