RV Properties for Rent and Sale located at
1905 Victoria Farms Rd.
Lake Havasu City, AZ
This process can only be ran in the month of January and it’s imperative it is only ran once. If ran a second time it would clear out the availabiilty for all rental lots! The process will allow for owners to begin booking for the next year.
*** Before running the plugin “Divi Overlays” must be deactivated! ***
The process will perform the following functions:
- The current month will be compared to January. If the current month is not January it will stop execution and simply put out the message “Can only be ran during the month of January”, otherwise it will continue to step 2
- It will read table xrj_wpdatatable_18 and compare the current year against the year in the database. If they are the same it will display a message “Already ran this year and stop execution” and no updates will be performed, otherwise it will continue to step 3.
- It will clear the backup availability table xrj_wpdatatable_2_1_1_1_1_1
- It will copy the contents of the productive availability table xrj_wpdatatable_2_1_1_1_1 to the backup availability table xrj_wpdatatable_2_1_1_1_1_1
- It will move the contents of the twelve “jannext” months to the twelve “jancurr” months and then clear the contents of the twelve “jannext” allow for the rental owners to begin booking for the next years availabilit
- It will update the field “availability” in table xrj_wpdatatable_2_1_1_1_1 to ensure the availability selection popup is consistent with the updated 24 month availability settings
- It will update table xrj_wpdatatable_18 so the process cannot be ran again
Once the process is completed the following two tables need have the availability fields “data” manually updated. This field controls the 24 month availability popup selection options. Replace the years in the following text with the appropriate values and copy and paste.
Jan-2021,Feb-2021,Mar-2021,Apr-2021,May-2021,Jun-2021,Jul-2021,Aug-2021,Sep-2021,Oct-2021,Nov-2021,Dec-2021,Jan-2022,Feb-2022,Mar-2022,Apr-2022,May-2022,Jun-2022,Jul-2022,Aug-2022,Sep-2022,Oct-2022,Nov-2022,Dec-2022
Are you sure you wish to complete the annual update of the “Availability” fields in the rental property listings?