Nop 3.6: Datepicker attribute

4 years ago
Hi,

How change the year of date picker? It show this year and the next only.
Thank you.
4 years ago
Found in  Presentation\Nop.Web\Views\Product\_ProductAttributes.cshtml


  case AttributeControlType.Datepicker:
                            {
                        @Html.DatePickerDropDowns(controlId + "_day", controlId + "_month", controlId + "_year", DateTime.Now.Year, DateTime.Now.Year + 1, attribute.SelectedDay, attribute.SelectedMonth, attribute.SelectedYear)
                            }
                            break;