Hello Matt
You can create a custom form control based on ShippingSelector.ascx.cs and override this method
protected override DataSet OnAfterRetrieveData(DataSet ds)
After calling a base method you can modify resulting DataSet like this:
protected override DataSet OnAfterRetrieveData(DataSet ds)
{
if ((ds == null) || (ShoppingCart == null))
{
return ds;
}
DataSet result = base.OnAfterRetrieveData(ds);
var shippingOptions = result.Tables[0].Select();
foreach (DataRow optionRow in shippingOptions2)
{
int optionID = ValidationHelper.GetInteger(optionRow["ShippingOptionID"], 0);
ShippingOptionInfo option = ShippingOptionInfoProvider.GetShippingOptionInfo(optionID);
// Here comes a condition
if ((option != null) && "codeNameOfYourShippingOption".Equals(option.ShippingOptionName))
{
string value = ValidationHelper.GetString(optionRow[0], string.Empty);
value += " YourLabel"; // Here comes the label
optionRow["ShippingOptionDisplayName"] = value;
}
}
return result;
}
Best regards
Peter Gren