When I wrote this code, only me and God knew how it works. Now only God knows…


Corolla Hatch

Secondary nav bar
  • _secondaryNavBar.title -
Adaptive content banner
  • title - COROLLA HATCH
  • description - Has It All
  • backgroundImage -
  • buttons[0].defaultButton
    • buttons[0].button.linkLabel - Enquire Now
    • buttons[0].button.linkUrl - https://buynow.e-toyota.co.za/toyota/enquire-now
    • buttons[0].button.linkWindow - true
  • slides
    • slides[0].title -
    • slides[0].subtitle - COROLLA HATCH
    • slides[0].description - Has It All
    • slides[0].video - https://media.cdntoyota.co.za/videos/toyota-banners/CorollaHatch-V2.mp4
    • slides[0].image -
    • buttons
      • buttons[0].button.linkLabel - Enquire Now
      • buttons[0].button.linkUrl - https://buynow.e-toyota.co.za/toyota/enquire-now
      • buttons[0].button.linkWindow - true
Spacer
  • seperator -
  • spacerType - custom
  • custom.mobile - 80
  • custom.tabletPortrait - 135
  • custom.tabletLandscape - 135
  • custom.desktop - 135
  • custom.largeDesktop - 135
Text
  • theme - product
  • title - Be Utterly Obsessed
  • subtitle - The new Corolla Hatch is the kind of hatchback that performs with power but travels light, is obsessed with style and engages all your senses. The Corolla Hatch delivers compelling driving dynamics, remarkable handling and absolute comfort. The Corolla Hatch is giving you one more reason to get behind the wheel and drive your obsession! Now available in bi-tone colours, the Corolla Hatch is your city must-have. Get yours today!
Spacer
  • seperator -
  • spacerType - custom
  • custom.mobile - 80
  • custom.tabletPortrait - 135
  • custom.tabletLandscape - 135
  • custom.desktop - 135
  • custom.largeDesktop - 135
Hard Coded Content (Flume)
  • title -
  • hardcodedContent - vehicleModelSelector
Text
  • theme - product
  • miniTitle - Performance
  • title - Game Set Hatch
  • subtitle - The Corolla Hatch is available in either a 1.8-litre Hybrid or in a 2.0-litre petrol engine, both featuring a host of efficiency-boosting technologies such as the VVT-iw (Variable Valve Timing - intelligent wide) intake; a direct injection fuel delivery and flexible engine cycle switching; a 10:1 compression ratio, and smart-heat management. The petrol engine delivers 125 kW of power at 6600 r/min and torque of 202 Nm at 4600 – 5000 r/min. The Hybrid model produces 72 kW of power at 5200 r/min and torque is measured at 142 Nm at 3600 /min.
Spacer
  • seperator -
  • spacerType - custom
  • custom.mobile - 95
  • custom.tabletPortrait - 160
  • custom.tabletLandscape - 160
  • custom.desktop - 160
  • custom.largeDesktop - 160
Single Image (Flume)
  • Image -

    https://devtoyotaflumemedia.blob.core.windows.net/toyotacms23/attachments/clpy3s56x05aa7lak9whov1pp-rear-34-comp-ret-bi-tone-desktop.full.png

Spacer
  • seperator -
  • spacerType - custom
  • custom.mobile - 95
  • custom.tabletPortrait - 160
  • custom.tabletLandscape - 160
  • custom.desktop - 160
  • custom.largeDesktop - 160
Text
  • theme - product
  • miniTitle - Technology
  • title - Engage Your Senses
  • subtitle - In the Corolla Hatch the information you need is just a glance away. With Apple CarPlay and Android Auto you now have the connectivity to display your smartphone screen to the car’s 7” infotainment screen. The 4.2-inch full colour Multi-Information Display (MID) also keeps you informed with real-time information with content displayed in high brightness for excellent clarity, even in bright day-time conditions, while the touchscreen display audio system with six speakers means you can give your drive the soundtrack it deserves.
  • htmlTextData.content.items[0].content - <p><br /></p>
Spacer
  • seperator -
  • theme - gray
  • spacerType - custom
  • custom.mobile - 80
  • custom.tabletPortrait - 80
  • custom.tabletLandscape - 80
  • custom.desktop - 80
  • custom.largeDesktop - 80
Single Image (Flume)
  • Image -

    https://devtoyotaflumemedia.blob.core.windows.net/toyotacms23/attachments/clp5o1t0i02x2r6akh85km9s0-corolla-hatch-tech-hero-1920x1080.full.jpg

Spacer
  • seperator -
  • theme - gray
  • spacerType - custom
  • custom.mobile - 80
  • custom.tabletPortrait - 135
  • custom.tabletLandscape - 135
  • custom.desktop - 135
  • custom.largeDesktop - 135
Two Column - Text with Image
  • componentType - textWithImage
  • textWithImageData.title - Functionality
  • textWithImageData.theme - withBackgroundColor
  • textWithImageData.description - <p>Make life on the road easy and stay connected. With easy access to steering wheel switches, this lets you adjust audio levels, mobile phone functions and cruise control without ever taking your hands off the wheel, while Bluetooth, auxiliary and USB connectivity keep you connected. On the XR model, steering wheel switches include telephone, voice command and all-speed cruise control/Lane Trace Assist.</p>
Image
  • textWithImageData.image -

    https://devtoyotaflumemedia.blob.core.windows.net/toyotacms23/attachments/clptmlhzo01tkn4akb0n3ftue-corolla-hatch-functionality-01-682x460.0.38.682.383.full.jpg

  • textWithImageData.imgPosition - left
Spacer
  • seperator -
  • theme - gray
  • spacerType - custom
  • custom.mobile - 80
  • custom.tabletPortrait - 135
  • custom.tabletLandscape - 135
  • custom.desktop - 135
  • custom.largeDesktop - 135
Spacer
  • seperator -
  • spacerType - custom
  • custom.mobile - 95
  • custom.tabletPortrait - 160
  • custom.tabletLandscape - 160
  • custom.desktop - 160
  • custom.largeDesktop - 160
Text
  • theme - product
  • miniTitle - Why Hybrid?
  • title - Say Hello To World-Leading Self-Charging Innovation.
  • subtitle - With two power sources, the Toyota Hybrid System fuses an internal combustion engine's high-speed power with the clean efficiency and low-speed torque of an electric motor that never needs to be plugged in. It's what you want when you want it. Hello Future.
  • htmlTextData.buttons
    • htmlTextData.buttons[0].defaultButton
      • htmlTextData.buttons[0].button.linkLabel - Download Hybrid brochure
      • htmlTextData.buttons[0].button.linkUrl - https://toyota2023frontend.blob.core.windows.net/toyotacms/attachments/41791MMS%20Corolla%20Hatch%202023%20Leaflet%20Web.pdf
      • htmlTextData.buttons[0].button.linkWindow - true
Spacer
  • seperator -
  • spacerType - custom
  • custom.mobile - 80
  • custom.tabletPortrait - 80
  • custom.tabletLandscape - 80
  • custom.desktop - 80
  • custom.largeDesktop - 80
Slider deck
  • deckType - iconWithText
  • withbackgroundTheme - false
  • stretch cards - false
  • number of columns -
  • iconWithTextData -
    • iconWithTextData.[0].title - Fuel Efficiency
    • iconWithTextData.[0].image -
    • ------------------------------------------------------------------------
    • iconWithTextData.[1].title - Eco-Friendly
    • iconWithTextData.[1].image -
    • ------------------------------------------------------------------------
    • iconWithTextData.[2].title - Maintenance
    • iconWithTextData.[2].image -
    • ------------------------------------------------------------------------
    • iconWithTextData.[3].title - Quiet Feeling
    • iconWithTextData.[3].image -
    • ------------------------------------------------------------------------
Spacer
  • seperator -
  • spacerType - custom
  • custom.mobile - 95
  • custom.tabletPortrait - 160
  • custom.tabletLandscape - 160
  • custom.desktop - 160
  • custom.largeDesktop - 160
Text
  • theme - product
  • miniTitle - Safety
  • title - Peace Of Mind
  • subtitle - Lane Keeping System* with Lane Trace Assist* helps avoid lane departure with driving support and warning to the driver. The system uses a camera sensor on the windshield glass to recognise the lane markers, warn the driver, and support steering wheel manoeuvre in accordance with road conditions and driving situations. The Pre-Crash System (PCS)* uses sensors to detect a preceding vehicle, pedestrians, and bicyclist on the vehicle’s path and assists the driver in collision avoidance. It applies additional brake force to help avoid a collision and mitigate collision impact.
  • htmlTextData.content.items[0].content - <p><sub>*Available on selected models </sub></p> <p><br />  </p>
Spacer
  • seperator -
  • spacerType - custom
  • custom.mobile - 80
  • custom.tabletPortrait - 80
  • custom.tabletLandscape - 80
  • custom.desktop - 80
  • custom.largeDesktop - 80
Single Video (Flume)
  • Video URL - https://devtoyotaflumemedia.blob.core.windows.net/videos/Final%20Toyota%20Safety%20Updates%20x7/Corolla%20Hatch%20Replica%20Video_BlindSpotUpdate.mp4
  • Theme - light
  • Theme - boxed
Spacer
  • seperator -
  • spacerType - custom
  • custom.mobile - 80
  • custom.tabletPortrait - 80
  • custom.tabletLandscape - 80
  • custom.desktop - 80
  • custom.largeDesktop - 80
Text
  • theme - narrow
  • subtitle - The Corolla hatch comes fitted with SRS airbags, giving both drivers and passengers added protection in case of an accident. Child protection locks on the doors and ISOFIX seat belt connectors ensure car seats are fitted to international safety standards. Rain-sensing wipers* ensure the road ahead is always visible on rainy days, and on dark nights the Follow- Me-Home headlights* stay on after you’ve parked, ensuring your path is lit until you are safely inside.
Spacer
  • seperator -
  • spacerType - custom
  • custom.mobile - 80
  • custom.tabletPortrait - 80
  • custom.tabletLandscape - 80
  • custom.desktop - 80
  • custom.largeDesktop - 80
Slider deck
  • deckType - iconWithText
  • withbackgroundTheme - false
  • stretch cards - true
  • number of columns - 2
  • theme - narrow
  • iconWithTextData -
    • iconWithTextData.[0].title - Lane Keeping System* with Lane Trace Assist*
    • iconWithTextData.[0].image -
    • iconWithTextData.cardContent.items[0].content - <p>Helps avoid lane departure with driving support and warning to the driver. The system uses a camera sensor on the windshield glass to recognise the lane markers, warn the driver, and support in steering wheel manoeuvre in accordance with road conditions and driving situations.</p> <p><sub>*Available on selected models</sub></p>
    • ------------------------------------------------------------------------
    • iconWithTextData.[1].title - Pre-Crash System (PCS)*
    • iconWithTextData.[1].image -
    • iconWithTextData.cardContent.items[0].content - <p>Uses sensors to detect a preceding vehicle, pedestrians, and bicyclist on the vehicle’s path and assists the driver in collision avoidance. It applies additional brake force to help avoid a collision and mitigate collision impact.</p> <p><sub>*Available on selected models</sub></p>
    • ------------------------------------------------------------------------
Slider deck
  • deckType - iconWithText
  • withbackgroundTheme - false
  • stretch cards - true
  • number of columns - 2
  • theme - narrow
  • iconWithTextData -
    • iconWithTextData.[0].title - Blind Spot Monitor*
    • iconWithTextData.[0].image -
    • iconWithTextData.cardContent.items[0].content - <p>Detects cars you may not be able to see, while the Lane Keeping System* and Lane Departure Alert* keep you safely between the lines.</p> <p><sub>*Available on selected models</sub></p>
    • ------------------------------------------------------------------------
Spacer
  • seperator -
  • spacerType - custom
  • custom.mobile - 95
  • custom.tabletPortrait - 95
  • custom.tabletLandscape - 95
  • custom.desktop - 95
  • custom.largeDesktop - 95
Text
  • theme - product
  • miniTitle - Design
  • title - The Corolla Hatch With All The Style
  • subtitle - With every angle of its exterior stylishly sculpted and streamlined, the Corolla Hatch looks like it's going places, effortlessly. From top to toe, sporty nose to expressively sculpted rear bumper, the confident three-dimensional styling creates a dynamic design aesthetic that's worthy of your obsession.
Spacer
  • seperator -
  • spacerType - custom
  • custom.mobile - 80
  • custom.tabletPortrait - 80
  • custom.tabletLandscape - 80
  • custom.desktop - 80
  • custom.largeDesktop - 80
Single Image (Flume)
  • Image -

    https://devtoyotaflumemedia.blob.core.windows.net/toyotacms23/attachments/clpy3t93q05b27laknxef4txs-cln1jsx4mj0ix91w1i4u053p7-gallery-exterior-0000-profile-comp-ret-bi-tone-desktop.full.png

Spacer
  • seperator -
  • spacerType - custom
  • custom.mobile - 80
  • custom.tabletPortrait - 80
  • custom.tabletLandscape - 80
  • custom.desktop - 80
  • custom.largeDesktop - 80
Text
  • theme - narrow
  • subtitle - The Corolla Hatch interior is defined by attention to detail, seen in quality touches like the leather-clad gear shift knob and three-spoke leather steering wheel. The dashboard is elegantly simple and creates continuity and harmonious flow.<br><br> Design quality has been taken to the next level with added stitching to the upper instrument panel for an enhanced tactile feel, and the new seat design elevates driver comfort with electronic 2-way driver lumbar* and shoulder support.
  • htmlTextData.content.items[0].content - <p><sub>*Available on selected models</sub></p>
Spacer
  • seperator -
  • spacerType - custom
  • custom.mobile - 95
  • custom.tabletPortrait - 160
  • custom.tabletLandscape - 160
  • custom.desktop - 160
  • custom.largeDesktop - 160
Text
  • theme - product
  • miniTitle - Feature Picture Gallery
Gallery with tooltips (Flume)
  • Title -
  • imageTilesData
    • imageTilesData[0].image -

      https://devtoyotaflumemedia.blob.core.windows.net/toyotacms23/attachments/clptn3xi002aun4akezu8zf3t-corolla-hatch-design-ig-01.full.jpg

    • imageTilesData[0].heading[0].heading - Wireless Charger*
    • imageTilesData[0].content[0].content -
    • imageTilesData[0].tooltips[0].top - 70
    • imageTilesData[0].tooltips[0].left - 10
    • imageTilesData[1].image -

      https://devtoyotaflumemedia.blob.core.windows.net/toyotacms23/attachments/clpy42e0o05gc7lakmh5jtdou-corolla-hatch-design-ig-02.full.jpg

    • imageTilesData[1].heading[1].heading - Side Mirror: Auto retractable, Blindspot Monitor & Heated*
    • imageTilesData[1].content[1].content -
    • imageTilesData[1].tooltips[1].top - 20
    • imageTilesData[1].tooltips[1].left - 15
    • imageTilesData[2].image -

      https://devtoyotaflumemedia.blob.core.windows.net/toyotacms23/attachments/clpy42dfk05gb7lak7ljjtdv2-corolla-hatch-design-ig-03.full.jpg

    • imageTilesData[2].heading[2].heading - Led Auto High Beam, Auto Light Control System With Follow-Me-Home*
    • imageTilesData[2].content[2].content -
    • imageTilesData[2].tooltips[2].top - 35
    • imageTilesData[2].tooltips[2].left - 40
    • imageTilesData[3].image -

      https://devtoyotaflumemedia.blob.core.windows.net/toyotacms23/attachments/clptn3udq02arn4akk1u8e8uj-corolla-hatch-design-ig-04.full.jpg

    • imageTilesData[3].heading[3].heading - Auto Rain-Sensing Front Window Wipers*
    • imageTilesData[3].content[3].content -
    • imageTilesData[3].tooltips[3].top - 5
    • imageTilesData[3].tooltips[3].left - 57
Spacer
  • seperator -
  • spacerType - custom
  • custom.mobile - 95
  • custom.tabletPortrait - 160
  • custom.tabletLandscape - 160
  • custom.desktop - 160
  • custom.largeDesktop - 160
Gallery
  • galleryData
  • galleryData[0]
  • galleryData.tabLabel - Exterior
  • gallery[0].imageGalleryItems
    • imageGalleryItems[0].slideTitle - Corolla Hatch Exterior
    • imageGalleryItems[0].slideCaption -
    • imageGalleryItems[0].slideImage -

      https://devtoyotaflumemedia.blob.core.windows.net/toyotacms23/attachments/clpu38yu003asl8akygz65q1p-corollahatchexterior1.full.png

    • imageGalleryItems[1].slideTitle - Corolla Hatch Exterior
    • imageGalleryItems[1].slideCaption -
    • imageGalleryItems[1].slideImage -

      https://devtoyotaflumemedia.blob.core.windows.net/toyotacms23/attachments/clpu38yn603arl8akuny3t1yl-corollahatchexterior2.full.png

    • imageGalleryItems[2].slideTitle - Corolla Hatch Exterior
    • imageGalleryItems[2].slideCaption -
    • imageGalleryItems[2].slideImage -

      https://devtoyotaflumemedia.blob.core.windows.net/toyotacms23/attachments/clpu38stm03aql8ak37wwu4uq-corollahatchexterior3.full.png

    • imageGalleryItems[3].slideTitle - Corolla Hatch Exterior
    • imageGalleryItems[3].slideCaption -
    • imageGalleryItems[3].slideImage -

      https://devtoyotaflumemedia.blob.core.windows.net/toyotacms23/attachments/clb3c76s000jv0pnoigpdjyy0-corolla-hatch-gallery-front.full.jpg

    • imageGalleryItems[4].slideTitle - Corolla Hatch Exterior Side View
    • imageGalleryItems[4].slideCaption -
    • imageGalleryItems[4].slideImage -

      https://devtoyotaflumemedia.blob.core.windows.net/toyotacms23/attachments/clb3c92hu00me0po361n4hwa1-corolla-hatch-gallery-side.full.jpg

    • imageGalleryItems[5].slideTitle - Corolla Hatch Exterior
    • imageGalleryItems[5].slideCaption -
    • imageGalleryItems[5].slideImage -

      https://devtoyotaflumemedia.blob.core.windows.net/toyotacms23/attachments/clb3c9qdn00mn0po3h7y7u2jz-corolla-hatch-gallery-rear.full.jpg

  • galleryData[1]
  • galleryData.tabLabel - Interior
  • gallery[1].imageGalleryItems
    • imageGalleryItems[0].slideTitle - Corolla Hatch Interior
    • imageGalleryItems[0].slideCaption -
    • imageGalleryItems[0].slideImage -

      https://devtoyotaflumemedia.blob.core.windows.net/toyotacms23/attachments/clb3ct7lx00ug0pno0iqg7hcc-corolla-hatch-gallery-dash.full.jpg

    • imageGalleryItems[1].slideTitle - Corolla Hatch Exterior
    • imageGalleryItems[1].slideCaption -
    • imageGalleryItems[1].slideImage -

      https://devtoyotaflumemedia.blob.core.windows.net/toyotacms23/attachments/clb3nozyj00s90pndavnvywq0-corolla-hatch-gallery-usb-open.full.jpg

    • imageGalleryItems[2].slideTitle - Corolla Hatch Exterior Steering Wheel
    • imageGalleryItems[2].slideCaption -
    • imageGalleryItems[2].slideImage -

      https://devtoyotaflumemedia.blob.core.windows.net/toyotacms23/attachments/clb3cuq2y00ut0po3q8jq188o-corolla-hatch-gallery-stearing-wheel.full.jpg

    • imageGalleryItems[3].slideTitle - Corolla Hatch Exterior Gear
    • imageGalleryItems[3].slideCaption -
    • imageGalleryItems[3].slideImage -

      https://devtoyotaflumemedia.blob.core.windows.net/toyotacms23/attachments/ckgqqty3e03yg0in0xgp3hfnr-0101010253-interior-4.full.jpg

  • galleryData[2]
  • galleryData.tabLabel - Interior Trim
  • gallery[2].imageGalleryItems
    • imageGalleryItems[0].slideTitle - Corolla Hatch Interior Passenger Front Seats
    • imageGalleryItems[0].slideCaption -
    • imageGalleryItems[0].slideImage -

      https://devtoyotaflumemedia.blob.core.windows.net/toyotacms23/attachments/clb3cvfj000w40pnop0o8imir-corolla-hatch-gallery-passenger-seat.full.jpg

    • imageGalleryItems[1].slideTitle - Corolla Hatch Interior Driver Front Seats
    • imageGalleryItems[1].slideCaption -
    • imageGalleryItems[1].slideImage -

      https://devtoyotaflumemedia.blob.core.windows.net/toyotacms23/attachments/clb3cw57200vy0po35gieb906-corolla-hatch-gallery-drivers-seat.full.jpg

    • imageGalleryItems[2].slideTitle - Corolla Hatch Interior Back Seats
    • imageGalleryItems[2].slideCaption -
    • imageGalleryItems[2].slideImage -

      https://devtoyotaflumemedia.blob.core.windows.net/toyotacms23/attachments/clb3cx72d00wc0po3gu1higob-corolla-hatch-gallery-rear-seats.full.jpg

    • imageGalleryItems[3].slideTitle - Corolla Hatch Interior Black Front Seats
    • imageGalleryItems[3].slideCaption -
    • imageGalleryItems[3].slideImage -

      https://devtoyotaflumemedia.blob.core.windows.net/toyotacms23/attachments/clb401ur800sf0pmozqh2nerf-corolla-hatch-gallery-passenger-seats-black.full.jpg

    • imageGalleryItems[4].slideTitle - Corolla Hatch Interior Back Seats
    • imageGalleryItems[4].slideCaption -
    • imageGalleryItems[4].slideImage -

      https://devtoyotaflumemedia.blob.core.windows.net/toyotacms23/attachments/clb40249f00tm0pqtipyu2wwl-corolla-hatch-gallery-rear-seats-black.full.jpg

Spacer
  • seperator -
  • spacerType - custom
  • custom.mobile - 95
  • custom.tabletPortrait - 160
  • custom.tabletLandscape - 160
  • custom.desktop - 160
  • custom.largeDesktop - 160
Text
  • theme - product
  • miniTitle - Accessories
  • title - And there’s more
Two Column - Text with Image
  • componentType - textWithImage
  • textWithImageData.title - Featured Accessories
  • textWithImageData.theme - default
  • textWithImageData.description - <p><strong>Side visor slimline</strong></p> <p>A set of four aerodynamically shaped side visors to reduce wind noise.</p> <p><sub>*Available on selected models</sub></p> <p> </p> <p><strong>Toyota safety film kit (150 micron)</strong></p> <p>Quality 150 micron safety film available in clear 50% or 35% variants.</p> <p><sub>*Available on selected models</sub></p>
  • textWithImageData.buttons
    • htmlTextData.buttons[0].defaultButton
      • htmlTextData.buttons[0].button.linkLabel - Browse Accessories
      • htmlTextData.buttons[0].button.linkUrl - /vehicles/corolla-hatch/accessories
      • htmlTextData.buttons[0].button.linkWindow - false
    • htmlTextData.buttons[1].defaultButton
      • htmlTextData.buttons[1].button.linkLabel - Enquire Now
      • htmlTextData.buttons[1].button.linkUrl - https://buynow.e-toyota.co.za/toyota/enquire-now
      • htmlTextData.buttons[1].button.linkWindow - false
Image
  • textWithImageData.image -

    https://devtoyotaflumemedia.blob.core.windows.net/toyotacms23/attachments/clsk5aor66a2fcyakrb97aka0-corolla-hatch-accessories-601x460.0.121.1202.676.full.png

  • textWithImageData.imgPosition - left
Spacer
  • seperator -
  • spacerType - preset
  • mobile - 50
  • tabletPortrait - 75
  • tabletLandscape - 100
  • desktop - 135
  • largeDesktop - 150
Spacer
  • seperator -
  • spacerType - custom
  • custom.mobile - 95
  • custom.tabletPortrait - 160
  • custom.tabletLandscape - 160
  • custom.desktop - 160
  • custom.largeDesktop - 160
Hard Coded Content (Flume)
  • title -
  • hardcodedContent - ownerBenefitsCard
Spacer
  • seperator -
  • spacerType - preset
  • mobile - 50
  • tabletPortrait - 75
  • tabletLandscape - 100
  • desktop - 135
  • largeDesktop - 150
Text
  • theme - default
Hard Coded Content (Flume)
  • title -
  • hardcodedContent - modelPriceSummary
Hard Coded Content (Flume)
  • title -
  • hardcodedContent - findADealer
Hard Coded Content (Flume)
  • title -
  • hardcodedContent - relatedVehicleSelector
Spacer
  • seperator -
  • spacerType - preset
  • mobile - 50
  • tabletPortrait - 75
  • tabletLandscape - 100
  • desktop - 135
  • largeDesktop - 150