New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (2024)

New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (1)

Campers Inn RV of Naperville has Will County’s best selection of new RVs for sale at unbeatable prices. Our dealership is packed with the industry’s most popular brands of pop-up campers, travel trailers, fifth wheels and Class A, Class B and Class C motorhomes.

Our RV matchmakers are ready to help you find the perfect RV for your lifestyle and budget with our no-pressure customer experience. And with our Integrity Trade-In Guarantee, you can be confident where you trade in your RV with complimentary appraisals, fair trade-in value, convenient payoff and no consignment upcharges. Contact uswith any questions or to make an appointment with one of our knowledgeable team members!

Do you want more information about the RV lifestyle? Our resource center is filled with expert advice on RV shopping, maintenance and travel destinations.

Showing 1 - 50 of 148

Change Zip

Filter

Favorites ()

Folding Pop-Up Camper

  1. New 2023 Forest River RV Rockwood Freedom Series 1940LTD

    Stock #93554

    Naperville IL

    Easy to hook-up and tow! Go on more adventures! Begin with Campers Inn RV!

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (2) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (3) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (4)

    Previous Next

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (5)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (6)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (7)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (8)

    • +6
    • New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (9)
    • View More »

    New 2023 Forest River RV Rockwood Freedom Series 1940LTD

    Stock #93554

    Naperville IL

    Easy to hook-up and tow! Go on more adventures! Begin with Campers Inn RV!

    • Sleeps 5
    • 14ft long
    • 1608 lbs

    • MSRP: $14,480

    Go Camping For Less! $117 /mo.

    $ Get Internet Price $ View Details »

    View Details »

    • Value My Trade
    • Get Pre-Approved
    • Send to Friend

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (10) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (11) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (12)

  2. New 2024 Forest River RV Rockwood Freedom Series 1640LTD

    Stock #94298

    Naperville IL

    You will love spending your time soaking up nature with this folding pop-up camper!

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (13)

    Previous Next

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (14)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (15)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (16)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (17)

    • +5
    • View More »

    New 2024 Forest River RV Rockwood Freedom Series 1640LTD

    Stock #94298

    Naperville IL

    You will love spending your time soaking up nature with this folding pop-up camper!

    • Sleeps 5
    • 12ft long
    • 1514 lbs

    • MSRP: $15,091

    Go Camping For Less! $122 /mo.

    $ Get Internet Price $ View Details »

    View Details »

    • Value My Trade
    • Get Pre-Approved
    • Send to Friend

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (18)

  3. New 2023 Forest River RV Rockwood Freedom Series 2280LTD

    Stock #93556

    Naperville IL

    Adventures Away begin with this Easy Tow and Easy To Setup Camper

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (19) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (20) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (21)

    Previous Next

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (22)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (23)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (24)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (25)

    • +6
    • New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (26)
    • View More »

    New 2023 Forest River RV Rockwood Freedom Series 2280LTD

    Stock #93556

    Naperville IL

    Adventures Away begin with this Easy Tow and Easy To Setup Camper

    • Sleeps 6
    • 16ft long
    • 2049 lbs

    • MSRP: $16,770

    Go Camping For Less! $136 /mo.

    $ Get Internet Price $ View Details »

    View Details »

    • Value My Trade
    • Get Pre-Approved
    • Send to Friend

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (27) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (28) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (29)

  4. New 2023 Forest River RV Rockwood Freedom Series 1940F

    Stock #93553

    Naperville IL

    Allow yourself the freedom to come and go as you please. Begin with Campers Inn RV

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (30) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (31) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (32)

    Previous Next

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (33)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (34)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (35)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (36)

    • +6
    • New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (37)
    • View More »

    New 2023 Forest River RV Rockwood Freedom Series 1940F

    Stock #93553

    Naperville IL

    Allow yourself the freedom to come and go as you please. Begin with Campers Inn RV

    • Sleeps 5
    • 17ft long
    • 2223 lbs

    • MSRP: $19,872

    Go Camping For Less! $161 /mo.

    $ Get Internet Price $ View Details »

    View Details »

    • Value My Trade
    • Get Pre-Approved
    • Send to Friend

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (38) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (39) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (40)

  5. New 2023 Forest River RV Rockwood Hard Side Series A122S

    Stock #93559

    Naperville IL

    It's Smore Fun Around the Campfire! Find your Away at Campers Inn RV!

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (41) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (42) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (43)

    Previous Next

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (44)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (45)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (46)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (47)

    • +6
    • New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (48)
    • View More »

    New 2023 Forest River RV Rockwood Hard Side Series A122S

    Stock #93559

    Naperville IL

    It's Smore Fun Around the Campfire! Find your Away at Campers Inn RV!

    • Sleeps 3
    • 19ft long
    • 2120 lbs

    • MSRP: $22,240

    Go Camping For Less! $180 /mo.

    $ Get Internet Price $ View Details »

    View Details »

    • Value My Trade
    • Get Pre-Approved
    • Send to Friend

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (49) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (50) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (51)

  6. New 2023 Forest River RV Rockwood Freedom Series 2318G

    Stock #93557

    Naperville IL

    THE PERFECT GET AWAY IS FOUND HERE AT CAMPERS INN RV!

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (52) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (53) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (54)

    Previous Next

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (55)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (56)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (57)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (58)

    • +6
    • New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (59)
    • View More »

    New 2023 Forest River RV Rockwood Freedom Series 2318G

    Stock #93557

    Naperville IL

    THE PERFECT GET AWAY IS FOUND HERE AT CAMPERS INN RV!

    • Sleeps 6
    • 1 Slides
    • 17ft long
    • 2458 lbs

    • MSRP: $23,367

    Go Camping For Less! $189 /mo.

    $ Get Internet Price $ View Details »

    View Details »

    • Value My Trade
    • Get Pre-Approved
    • Send to Friend

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (60) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (61) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (62)

  7. New 2023 Forest River RV Rockwood Extreme Sports 2280BHESP

    Stock #93555

    Naperville IL

    Enjoy the Great Outdoors. STOP BY TODAY FOR THE BEST PRICING.

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (63) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (64) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (65)

    Previous Next

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (66)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (67)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (68)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (69)

    • +37
    • New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (70)
    • View More »

    New 2023 Forest River RV Rockwood Extreme Sports 2280BHESP

    Stock #93555

    Naperville IL

    Enjoy the Great Outdoors. STOP BY TODAY FOR THE BEST PRICING.

    • Sleeps 6
    • 19ft long
    • 2559 lbs

    • MSRP: $25,749

    Go Camping For Less! $209 /mo.

    $ Get Internet Price $ View Details »

    View Details »

    • Value My Trade
    • Get Pre-Approved
    • Send to Friend

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (71) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (72) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (73)

Expandable

  1. New 2024 Forest River RV Rockwood Roo 233S

    Stock #93686

    Naperville IL

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (74) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (75) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (76)

    Previous Next

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (77)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (78)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (79)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (80)

    • +6
    • New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (81)
    • View More »

    New 2024 Forest River RV Rockwood Roo 233S

    Stock #93686

    Naperville IL

    • Sleeps 7
    • 1 Slides
    • 25ft long
    • 5639 lbs

    $ Get Internet Price $ View Details »

    View Details »

    • Value My Trade
    • Get Pre-Approved
    • Send to Friend

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (82) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (83) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (84)

Travel Trailer

  1. New 2023 Winnebago Hike 100 1316FB

    Stock #74305

    Naperville IL

    RUGGED OFF-ROAD SUSPENSION AND SOLAR POWER FOR TRAVELING OFF THE GRID!!

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (85) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (86)

    Previous Next

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (87)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (88)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (89)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (90)

    • +76
    • View More »

    New 2023 Winnebago Hike 100 1316FB

    Stock #74305

    Naperville IL

    RUGGED OFF-ROAD SUSPENSION AND SOLAR POWER FOR TRAVELING OFF THE GRID!!

    • Sleeps 3
    • 16ft long
    • 2700 lbs
    • Bunkhouse
    • Front Kitchen

    ...View Floorplan

    • MSRP: $46,236
    • You Save: $26,241
    • Sale Price: $19,995

    Go Camping For Less! $162 /mo.

    $ Get Internet Price $ View Details »

    View Details »

    • Value My Trade
    • Get Pre-Approved
    • Send to Friend

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (91) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (92)

  2. New 2023 Cruiser Hitch 18RBS

    Stock #82467

    Naperville IL

    LIGHT WEIGHT, HIGH QUALITY, FIBERGLASS WITH TONS OF LUXURY INSIDE!!

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (93) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (94) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (95)

    Previous Next

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (96)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (97)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (98)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (99)

    • +42
    • New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (100)
    • View More »

    New 2023 Cruiser Hitch 18RBS

    Stock #82467

    Naperville IL

    LIGHT WEIGHT, HIGH QUALITY, FIBERGLASS WITH TONS OF LUXURY INSIDE!!

    • Sleeps 4
    • 1 Slides
    • 20ft long
    • 3734 lbs
    • Rear Bath

    ...View Floorplan

    • MSRP: $41,349
    • You Save: $16,361
    • Sale Price: $24,988

    Go Camping For Less! $203 /mo.

    $ Get Internet Price $ View Details »

    View Details »

    • Value My Trade
    • Get Pre-Approved
    • Send to Friend

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (101) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (102) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (103)

  3. New 2022 Ember RV Overland Series 170MRB

    Stock #78554

    Naperville IL

    ALL SEASON CAMPING IS POSSIBLE IN THIS RV WITH RUGGED OFF ROAD SUSPENSION!!

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (104) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (105) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (106)

    Previous Next

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (107)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (108)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (109)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (110)

    • +41
    • New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (111)
    • View More »

    New 2022 Ember RV Overland Series 170MRB

    Stock #78554

    Naperville IL

    ALL SEASON CAMPING IS POSSIBLE IN THIS RV WITH RUGGED OFF ROAD SUSPENSION!!

    • Sleeps 3
    • 20ft long
    • Outdoor Kitchen
    • Murphy Bed

    ...View Floorplan

    • MSRP: $51,031
    • You Save: $22,043
    • Sale Price: $28,988

    Go Camping For Less! $235 /mo.

    $ Get Internet Price $ View Details »

    View Details »

    • Value My Trade
    • Get Pre-Approved
    • Send to Friend

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (112) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (113) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (114)

  4. New 2022 Coachmen RV Catalina Legacy 323QBTSCK

    Stock #64038

    Naperville IL

    Sleeps 8 with a separate rear bunk room for the kids!! Family Camping at it's best!

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (115) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (116) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (117)

    Previous Next

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (118)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (119)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (120)

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (121)

    • +56
    • New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (122)
    • View More »

    New 2022 Coachmen RV Catalina Legacy 323QBTSCK

    Stock #64038

    Naperville IL

    Sleeps 8 with a separate rear bunk room for the kids!! Family Camping at it's best!

    • Sleeps 9
    • 3 Slides
    • 37ft long
    • 8581 lbs
    • Fireplace
    • Bunkhouse

    ...View Floorplan

    • MSRP: $61,415
    • You Save: $26,417
    • Sale Price: $34,998

    Go Camping For Less! $284 /mo.

    $ Get Internet Price $ View Details »

    View Details »

    • Value My Trade
    • Get Pre-Approved
    • Send to Friend

    New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (123) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (124) New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (125)

  • «
  • 1
  • 2
  • 3
  • »

Showing 1 - 50 of 148

Confirmation

Thank you for requesting our Show Price on this RV. Please check your email to view this great deal. Thank you for visiting www.CampersInn.com.

Contact an RV Consultant or Ask a Question

Close

Confirmation

Thank you for requesting our personalized quote on this RV. A member of our team will be contacting you shortly with that information. Thank you for visiting www.CampersInn.com.

Contact an RV Consultant or Ask a Question

Close

*All calculated monthly payments are an estimate for qualified buyers only and do not constitute a commitment that financing or a specific interest rate or term is available. Financing terms may not be available in all Campers Inn locations. Campers Inn RV Sales is not responsible for any misprints, typos, or errors found in our website pages. Any price listed excludes sales tax, registration tags, and delivery fees. Manufacturer pictures, specifications, and features may be used in place of actual inventory in stock on our lot. Please contact us for availability as our inventory changes rapidly.
Manufacturer and/or stock photographs may be used and may not be representative of the particular unit being viewed. Where an image has a stock image indicator, please confirm specific unit details with your dealer representative.

Manufacturer and/or stock photographs may be used and may not be representative of the particular unit being viewed. Where an image has a stock image indicator, please confirm specific unit details with your dealer representative.

';}}// add stock number to selected filters if setvar stockNumEl = $('#faceted-search').find('.SearchStockNumber');if (stockNumEl.length > 0 && stockNumEl.val() !== null && stockNumEl.val() !== '') {searchResultsHtml += '

';searchResultsHtml += '

Stock Number

';searchResultsHtml += '

    ';searchResultsHtml += '
  • ' + $('').text(stockNumEl.val()).html() + '
  • '; // html encode stock num valsearchResultsHtml += '

';searchResultsHtml += '

';}$('.selected-filters-wrapper').append(searchResultsHtml);// show/hide clear filters toolbar at the topif ($('.selected-filters-wrapper').html() !== '') {$('.clear-filters-toolbar').fadeIn(200);}else {$('.clear-filters-toolbar').fadeOut(200);}}; // Helper function to be called when the counts shown next to each checkbox and the visibility of checkboxes/sections needs to be updatedvar updateCounts = function() {// Tow Rating addition// over ride control if a tow rating cookie exists// applies to FilteredSearch and UnitList.cshtmlif (window.location.pathname == '/tow-guide-search') {window.Interact.TowRating.checkCookie();// console.log('tow rating cookie check fired');}if (!searchCombos || !searchCombos.length) return;var currentSearchCounts = {normal: searchCombos};for (var prop in searchCombos[0]) {if (prop === 'count') continue;var checkBoxWrapper = $('#faceted-search [data-field-name="' + prop + '"]');var normalCounts = currentSearchCounts['normal'];var currentVals = $.map(($('.ajax-unit-list').ajaxUnitList('getCurrentOpt', prop) || '').split(','), function(x) { return x.toLowerCase(); });if (currentVals[0] !== '') {for (var countGroupName in currentSearchCounts) {currentSearchCounts[countGroupName] = $.grep(currentSearchCounts[countGroupName], function(x, i) {if (multiValueColumns[prop] !== undefined) { var parts = $.map(x[prop].split(multiValueColumns[prop].separator), function (x) { return x.toLowerCase(); }); if (multiValueColumns[prop].filterMode === 'and') { for (var i = 0; i < currentVals.length; i++) { if (currentVals[i] === '') continue; if (parts.indexOf(currentVals[i]) === -1) { return false; } } return true; } else { for (var i = 0; i < currentVals.length; i++) { if (currentVals[i] === '') continue; if (parts.indexOf(currentVals[i]) !== -1) { return true; } } return false; }}else {return currentVals.indexOf(x[prop].toLowerCase()) !== -1;}});}}if (checkBoxWrapper.find('input[type=checkbox]:checked').length) {currentSearchCounts[prop] = normalCounts;}}for (var prop in searchCombos[0]) {if (prop === 'count') continue;var checkBoxWrapper = $('#faceted-search [data-field-name="' + prop + '"]'); var sectionCheckboxes = checkBoxWrapper.find('input[type=checkbox]');// get list of all checked checkbox values in the same section - this is for multivalue columns in 'and' modevar checkedValues = sectionCheckboxes.filter(":checked").map(function(i, x) { return $(x).val(); });sectionCheckboxes.each(function() { var checkboxVal = $(this).val();var countRows = $.grep(currentSearchCounts[prop] || currentSearchCounts['normal'], function(x, i) {if (multiValueColumns[prop] !== undefined) { var currVals = $.map( $.grep(x[prop].split(multiValueColumns[prop].separator),function(z) { return z !== ''; }), function(x) { return x.toLowerCase(); }); if (multiValueColumns[prop].filterMode === 'and') { if (currVals.indexOf(checkboxVal.toLowerCase()) === -1) return false; for (var i = 0; i < checkedValues.length; i++) { if (currVals.indexOf(checkedValues[i].toLowerCase()) === -1) return false; } return true; } else { return currVals.indexOf(checkboxVal.toLowerCase()) !== -1; }}else {return x[prop].toLowerCase() === checkboxVal.toLowerCase();}});var sum = 0;$.each(countRows, (function() {sum += parseInt(this.count, 10);}));var groupWrapper = $(this).closest('.CheckBoxList');var panel = $(this).closest('.panel');if (sum === 0) {$(this).parents('div.checkbox').addClass('hide');// check to see if all checkboxes in the group are hidden, and if so, hide the wrapper panel alsoif (groupWrapper.find('div.checkbox:not(.hide)').length < 1) {panel.addClass('hide');}}else {$(this).parent().find('.count').text(sum);$(this).parents('div.checkbox').removeClass('hide');panel.removeClass('hide');}});}// hide filter containers where there is only one visible checkbox$('#facetedSearch .panel').filter(":not(.hide)").each(function() {var minCheckboxCount = $(this).data('minCheckboxCount') || 2;if ($(this).find('div.checkbox:not(.hide) input[type=checkbox]').length < minCheckboxCount) { $(this).addClass('hide');}}); // setup clear filters sectionupdateClearFiltersSection();};var submitToSearchPage = function(clearCheckboxFilters) {var tmpSearchInputs = $('#faceted-search').find(':input');if (clearCheckboxFilters) {tmpSearchInputs = tmpSearchInputs.filter(':not(input[type=checkbox])');}var tmpSearchValues = tmpSearchInputs.serializeArray();// comma delimit search values with the same namevar searchValMap = {};for (var i = 0; i < tmpSearchValues.length; i++) {var fieldName = tmpSearchValues[i].name.toLowerCase();if (searchValMap[fieldName] !== undefined && searchValMap[fieldName] !== '') {searchValMap[fieldName] += "," + tmpSearchValues[i].value;}else {searchValMap[fieldName] = tmpSearchValues[i].value;}}var searchValues = [];for (var param in searchValMap) {searchValues.push({name: param, value: searchValMap[param]});}var targetPage = '/rv-search';var qMark = window.location.href.indexOf('?');var currentPage = qMark > -1 ? window.location.href.substring(0, qMark) : window.location.href;currentPage = '/' + currentPage.replace(/^(?:\/\/|[^\/]+)*\//, "");var qsValues = getUrlVars();if (currentPage === targetPage && qsValues !== undefined && qsValues !== null) {qsValues.length = 0; // remove the array elements - this is because getUrlVars adds each parameter name using .push(), and it also adds them as properties of the object. we only want the propertiesdelete qsValues['page'];delete qsValues['s'];// remove qs params that are part of the search form - this is particularly important for checkboxes, which would not be included// in the searchValues collection if uncheckedfor (var param in qsValues) {if ($('#faceted-search :input').filter(function() { return ($(this).attr('name') || '').toLowerCase() === param; }).length) {delete qsValues[param];}}// add/update qs params from search valuesfor (var i = 0; i < searchValues.length; i++) {if (searchValues[i].value !== '') {qsValues[searchValues[i].name] = searchValues[i].value;}}var qsArray = [];for (var param in qsValues) {qsArray.push({name: param, value: qsValues[param]});}var qs = $.param(qsArray);window.location = "/rv-search?s=true" + (qs !== "" ? "&" + qs : "");}else {var qs = $.param($.grep(searchValues, function(x) { return x.value !== ''; }));window.location = "/rv-search?s=true" + (qs !== "" ? "&" + qs : "");}};var initializeSearchFields = function(data) {if (data["brand"] !== undefined) {data["brand"] = data["brand"].toLowerCase().trim();}if (data["manufacturer"] !== undefined) {data["manufacturer"] = data["manufacturer"].toLowerCase().trim();}$('#faceted-search :checkbox, #faceted-search :radio').removeAttr("checked"); if (data["zip"] !== undefined) { const zipInput = document.getElementById("locationZip"); if (zipInput) { zipInput.value = data["zip"]; } } if (data["distance"] !== undefined) { const distanceInput = document.getElementById("distanceRange"); if (distanceInput) { distanceInput.value = data["distance"]; } }for (var key in data) {if (data[key] === undefined || !isNaN(key)) {return;}var mVals = data[key].indexOf(',') !== -1 ? mVals = data[key].split(',') : null;$('#faceted-search [name]').filter(function() {return ($(this).attr('name') || '').toLowerCase() === key.toLowerCase();}).each(function(index, el){if ($(el).is(":checkbox") || $(el).is(":radio")) {if (mVals != null) {if ($.inArray($(el).val(), mVals) !== -1) {$(el).attr("checked", "checked");$(el).addClass("value-modified");}}else if ($(el).val() === data[key]) {$(el).attr("checked", "checked");$(el).addClass("value-modified");}}else {$(el).val(data[key]);if (data[key] != '' && $(el).val() === data[key]) {$(el).addClass("value-modified");}}});}// clear the stock number textbox if the stocknumber query string parameter isn't present.// this is needed b/c when the browser back button is clicked back to a point where the// stock number filter isn't set, even though the stocknumber query string parameter is// cleared, some browsers keep the input field filledif (data['stocknumber'] === undefined) {var stockNumEl = $('#faceted-search').find('.SearchStockNumber');stockNumEl.val('');}updateCounts(); };var scrollToListTop = function () {// only scroll to list top if the scroll position is currently below the top of the listif ($("html, body").scrollTop() > $('.ajax-unit-list').offset().top) {$("html, body").animate({ scrollTop: $('.ajax-unit-list').offset().top }, "fast");}};// setup event handlers$("#faceted-search #facetedSearch input[type=checkbox]").change(function() {var stockNumEl = $('#faceted-search').find('.SearchStockNumber');if (noResultsMode === false && isListingPage) {var name = $(this).attr("name");var checkboxesInGroup = $('#faceted-search').find(':input[name="' + name + '"]');// if the only checked checkboxes in this group are hidden, uncheck themif (checkboxesInGroup.filter(':checked').filter(function() { return $(this).parents('div.checkbox:not(.hide)').length > 0; }).length < 1) {checkboxesInGroup.prop('checked', false);}var newValue = checkboxesInGroup.filter(':checked').map(function(i,v) { return $(this).val(); }).toArray().join(",");var updateData = { s: "true" };updateData[name] = newValue;$('.ajax-unit-list').ajaxUnitList('update', updateData);scrollToListTop();updateCounts();}else {stockNumEl.val('');submitToSearchPage();}});$('#faceted-search').find('.SearchButton').click(function(e) { e.preventDefault();var stockNumEl = $('#faceted-search').find('.SearchStockNumber');if (isListingPage && !stockNumEl.hasClass('value-modified')) {var stockNum = stockNumEl.val();var updateData = { s: "true" };updateData['stockNumber'] = stockNum;$('.ajax-unit-list').ajaxUnitList('update', updateData); scrollToListTop();updateCounts();} else { gtmAnalyticsEventTrack($(this), 'Interactions', 'StockFilteredSearch', stockNumEl.val(), '1');submitToSearchPage(true);}return false;});var searchFieldChanged = function() {$(this).addClass("value-modified");};$('#faceted-search input, #faceted-search select').change(searchFieldChanged);$('#faceted-search input[type="text"]').keyup(searchFieldChanged);$('#faceted-search').on('submitToSearchPage', submitToSearchPage);$('#faceted-search').on('clearFilters', function() {if ($('input[name=zip]').val() || $('input[name=stockNumber]').val()) {window.location = "/rv-search?s=true";}$('.clear-filters-toolbar').hide();$('#faceted-search').find('input[type=text]').val('');$('#faceted-search').find('input[type=checkbox]').prop('checked', false);$('.ajax-unit-list').ajaxUnitList('clearFilters'); scrollToListTop();updateCounts();}); $('#faceted-search').on('clearSection', function(e, section) {if (section === '.stockNumber') {var stockNumEl = $('#faceted-search').find('.SearchStockNumber');stockNumEl.val('');submitToSearchPage();}else {$('#faceted-search').find(section).find('input[type=checkbox]:checked').prop('checked', false).trigger('change');scrollToListTop();updateCounts();}});$('#faceted-search').on('clearSelection', function(e, section, selection) {$('#faceted-search').find(section).find(' :checkbox[value="' + selection + '"]').prop('checked', false).trigger('change'); scrollToListTop();updateCounts();});$('.ajax-unit-list').on('ajaxUnitList.historychange', function(e, data) {if (data != null) {initializeSearchFields(data);}});$('a.btn-clear-all').click(function(e) {e.preventDefault();$('#faceted-search').trigger('clearFilters');});// setup on initial loadfunction init(doExpand) {if (isListingPage) {var data = $('.ajax-unit-list').ajaxUnitList('getCurrentOpts');if (data != null) {initializeSearchFields(data);}if (doExpand) {$("#facetedSearch .panel-collapse").each(function () {var $this = $(this);if ($this.find(":checked").length) {$this.addClass("in");$this.closest(".panel").find(".panel-heading i").removeClass("fa fa-plus").addClass("fa fa-minus");}});}}}init(true);$("#facetedSearch .panel-heading a").click(function() {var $this = $(this);if ($this.closest(".panel").find(".panel-collapse.in").length) {$this.find("i").removeClass("fa fa-minus").addClass("fa fa-plus");}else {$this.find("i").removeClass("fa fa-plus").addClass("fa fa-minus");}});/////////////////////////// Saved Searches/////////////////////////if ($('div.user-profile-wrapper').data('user-authenticated')) {$('.save-search-toolbar').removeClass('hidden');} const savedSearchPostUrl = '/rebraco/contactsavedsearch/save';var savedSearchId = 0;var savedSearchName = null;var urlParams = getUrlVars();if (urlParams) {savedSearchId = urlParams["savedSearchId"] || 0;if (savedSearchId) {savedSearchName = urlParams["savedSearchName"];$('.save-search-btn').text('Update Saved Search');}}$('.save-search-btn').click(function () { if (!savedSearchName) { savedSearchName = prompt("Enter a name for this saved search:"); } var postData = { contactSavedSearchId: savedSearchId, name: savedSearchName, url: location.href }; $.ajax(savedSearchPostUrl, { data: JSON.stringify(postData), type: 'POST', contentType: 'application/json', success: function (response) { if (response.success) {savedSearchId = response.contactSavedSearchId; $('.save-search-btn').text('Update Saved Search'); alert("Saved successfully"); }else {if (!savedSearchId) {savedSearchName = null; } alert("Save failed"); }},error: function () { if (!savedSearchId) { savedSearchName = null; } alert("Save failed"); } });});/////////////////////////// Mobile Filtered Search/////////////////////////$('.mobile-filter-link').click(function(e){e.preventDefault();$('body').addClass('modal-open');$('#faceted-search').addClass('fs-modal');});$('.fs-done').click(function(e){e.preventDefault();$('body').removeClass('modal-open');$('#faceted-search').removeClass('fs-modal');});$('.fs-clear-filters').click(function(e){e.preventDefault();$('#faceted-search').trigger('clearFilters');});var waitForFinalEvent = (function () {var timers = {};return function (callback, ms, uniqueId) {if (!uniqueId) {uniqueId = "Don't call this twice without a uniqueId";}if (timers[uniqueId]) {clearTimeout(timers[uniqueId]);}timers[uniqueId] = setTimeout(callback, ms);};})();var $mobileSortOptions = $('#faceted-search .mobile-sort-options-wrapper');var $desktopSortOptions = $('.listingToolbar .sort-options-wrapper');var $sortOptions = $('#sortOptions');function filteredSearchResponsiveStuff(initialLoad) {if ($(window).width() <= 991) {if ($mobileSortOptions.find('#sortOptions').length < 1) {$mobileSortOptions.append($sortOptions);}// collapse search panels on mobile, except for those with checked checkboxesif (initialLoad) {$("#facetedSearch .panel-collapse").each(function() {var $this = $(this);if ($this.find(":checked").length < 1) {$this.addClass('collapse').removeClass('in');$this.closest(".panel").find(".panel-heading i").removeClass("fa fa-minus").addClass("fa fa-plus");}});}} else {if ($desktopSortOptions.find('#sortOptions').length < 1) {$desktopSortOptions.append($sortOptions);}}};filteredSearchResponsiveStuff(true);$(window).resize(function () {waitForFinalEvent(function () {filteredSearchResponsiveStuff(false);}, 500, "filteredSearchResize"); }); // exports window.Interact = window.Interact || {}; window.Interact.FilteredSearch = { init: init };});

New RVs for Sale in Naperville, Illinois| Campers Inn RV of Naperville, IL (2024)

References

Top Articles
Latest Posts
Article information

Author: Errol Quitzon

Last Updated:

Views: 6467

Rating: 4.9 / 5 (59 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Errol Quitzon

Birthday: 1993-04-02

Address: 70604 Haley Lane, Port Weldonside, TN 99233-0942

Phone: +9665282866296

Job: Product Retail Agent

Hobby: Computer programming, Horseback riding, Hooping, Dance, Ice skating, Backpacking, Rafting

Introduction: My name is Errol Quitzon, I am a fair, cute, fancy, clean, attractive, sparkling, kind person who loves writing and wants to share my knowledge and understanding with you.