Hi guys,
I am trying to create a custom shipping method.
I took a look at current sourcecode examples and as an example I take
[AddInName("SpecialDelivery"), AddInDescription("description...")]
public class SpecialDelivery: ShippingProvider, IShippingDocumentProvider, IDropDownOptions
When you are setting this shipping method in the Administration, you can set a default Fee for this specific shipping method.
In the the parameters I add
[AddInParameter("Special ocasion Price"), AddInParameterEditor(typeof(TextParameterEditor), "size=80")]
public string SpecialOcasionPrice { get; set; }
So my question is what I want to overwrite that "default fee" with a "special ocasion price" if the order falls under certain conditions - than this must be applyed.
How do I set this special price to this shipping method programmatically?
Regards,
Dmitrij