The cahllenge is some autos have just Operational lease price. The comparison table section in the dynamic page is a manual section which I could just get the values from HubDB and create 2 column pricing table to show both prices. But when financial lease price is empty, I need to hide the column. For […]
Articles Tagged: HubDB
Hide Financial lease if no price
Challenge [16.08.2024] The challenge is to somehow hide the column of financial lease is there is no value set in HubDB on Noordlease website. Idea 1: create a duplicate of the pricing table just for the 1 column pricing. Assign a class to it and some how define in the page header that check for […]
Redirect the pages without auto_id
The challenge for Noordlease is that we have a listing page which shows all the autos. For each auto, a new dynamic page will be generated which has a query parameter in it to show the auto information. If the visitor removes the auto id number, it shows a page without the HubDB raw data. […]
Noordlease auto detail image slider
The next challenge in the process, is to create a slider gallery based on the columns in the HubDB row. That mean for each row, I need to create an image slider based on the columns image_slider_1 to image_slider_6. To solve this, I cloned the theme’s slider gallery module and tried to ensure it gets […]
Show the value of a hubDB select column
The HubDB contains select columns which Noordlease can select the type. For example I have a transmissie select column which I can show it in the front end by using the code below This code shows the value below in the front end. In order to show the correct value I have to add the […]
Dynamic HubDB listing page displayed as cards [Update 26.07.2024]
Update 26.07.2024: Adding show more button As an update, I tried to implement a method to show x amount of autos and a “Show more button” to load more autos on click. I added a message when reaches the end of the list. This code is showing 6 HubDB autos which are checked as active […]