How to Set Default Value In NopDropDownList...?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 years ago
Hi All,

In Order List

Store=Available All Store.  But In This DropDown I Set Default Store Like Store1.

And Also When I Load Page In Order Kendogrid I Show That Default Store OredrList

So Please Give Me Solution.
7 years ago
Hi,

To change the default selected store you have to make some modifications to the OrderController if you are using the source version of nopCommerce.

Find the List Action in the OrderController and when preparing the AvailableStore you can change the logic about adding the available stores to the model.

To change the default selected value in the same Action set the model.StoreId to the id of the store you want to be the default one.

Regards,
Stoyan
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.