Hi,
What property is used in the InputField input to assign a value
// ADD IN THE PRODUCT TEMPLATE CHOICES
foreach (ProductProductTemplate ppt in product.ProductProductTemplates)
{
ProductTemplate template = ppt.ProductTemplate;
if (template != null)
{
foreach (InputField input in template.InputFields)
{
// What property is used here to set a value entered
input.
Thanks
Dylan
Property used in InputField input to assign a value
Re: Property used in InputField input to assign a value
It can be like this
Code: Select all
foreach (ProductProductTemplate ppt in product.ProductProductTemplates)
{
ProductTemplate template = ppt.ProductTemplate;
if (template != null)
{
foreach (InputField input in template.InputFields)
{
// What property is used here to set a value entered
input.Name = "test";
input.Save();
}
}
}
hope this helps!
__________________
s_ismail

AbleCommerce Customization
Free Plugins and Add-Ons
AbleCommerce Plugins and Add-Ons
Plugables Blog
__________________
s_ismail


AbleCommerce Customization
Free Plugins and Add-Ons
AbleCommerce Plugins and Add-Ons
Plugables Blog