Hi Team,
I want to show dropdown upto 30 for quantity
how do i do that?
Posted 07 July 2015 - 14:04
Hi Team,
I want to show dropdown upto 30 for quantity
how do i do that?
Sameer Dubey
Director - Technology & Solutions
C-DUCK CONSULTANCY SERVICES PVT. LTD.
sameer.dubey@c-duck.com
http://www.c-duck.com - Business Application Development using AngularJs and WebApi
http://www.housy.in - Service Commerce Redefined
http://www.hostify.in - Domains and Web Hosting
Posted 08 July 2015 - 11:55
Hi Sameer,
we've eleminated this option but the infrastructure is still there. You would have to implement it with some lines of code:
SmartStoreNET\src\Presentation\SmartStore.Web\Administration\Views\Product\_CreateOrUpdate.Inventory.cshtml
<tr> <td class="adminTitle"> @Html.SmartLabelFor(model => model.AllowedQuantities): </td> <td class="adminData"> @Html.EditorFor(model => model.AllowedQuantities) @Html.ValidationMessageFor(model => model.AllowedQuantities) </td> </tr>
\SmartStoreNET\src\Presentation\SmartStore.Web\Administration\Controllers\ProductController.cs > UpdateProductInventory
p.AllowedQuantities = m.AllowedQuantities;
Now you can enter a comma separated list of integer values to create a dropdown for quantity input.
Regards,
Michael
Michael Herzog
Smartstore AG
Smartstore (English) →
Customize & Extend Smartstore →
Searchable DropDown ListStarted by llegrand , 19 Apr 2018 DropDown |
|
|