how to make an attribute datepicker for a read-only product?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
how to make an attribute datepicker for a read-only product?
5 years ago
You can have attributes that use the date picker
Can you explain a lttle more about what you want to do ?
5 years ago
gnikitsin wrote:
how to make an attribute datepicker for a read-only product?


Can you please explain what do you exactly mean by read-only product?
5 years ago
nopAdvance wrote:
how to make an attribute datepicker for a read-only product?

Can you please explain what do you exactly mean by read-only product?


There is a product 1 and 2 with a date attribute. How to make a product 1 date attribute readonly.
5 years ago
gnikitsin wrote:
how to make an attribute datepicker for a read-only product?

Can you please explain what do you exactly mean by read-only product?

There is a product 1 and 2 with a date attribute. How to make a product 1 date attribute readonly.


Do you want to say that you are looking to display available dates only in a calendar rather than customer being able to select a date?

If yes, then it's not possible out of box. You have to customize and make this functionality
5 years ago
nopAdvance wrote:
how to make an attribute datepicker for a read-only product?

Can you please explain what do you exactly mean by read-only product?

There is a product 1 and 2 with a date attribute. How to make a product 1 date attribute readonly.

Do you want to say that you are looking to display available dates only in a calendar rather than customer being able to select a date?

If yes, then it's not possible out of box. You have to customize and make this functionality



@Html.DatePickerDropDowns(controlId + "_day", controlId + "_month", controlId + "_year", DateTime.Now.Year, DateTime.Now.Year + 1, @_date.Day, @_date.Month, @_date.Year, htmlAttributes: new { @readonly = "readonly" })


this code still allows selection... why?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.