Developer forum

Forum » Development » Shipping/Delivery price modifier

Shipping/Delivery price modifier

Vilius Janulis
Reply
Hi,

I would need some help with Shipping/Delivery price modifier.
Basically what we need is to calculate differently and display delivery/shiping price in cart/order.

We tried using FeeProvider.cs, OrderTempalteExtender.cs, OrderLineTemplateExtender.cs, EcomCartLoadedObserver.cs and non of them fired any events.
How theoretically this should be done and what template should be used, to get / change depending on other product values /and print back the deliver price in the cart and order ?

Thank you. 

Replies

 
Jackie Nagel
Reply
 Hello Vladimir, and thanks alot for the response.

Looked through the whole project and we're never referencing that observer. I've made sure that all the DLL files are the same as on the solution but didn't help either - we're still getting the same error as your refer to.

Do you have any other thoughts for a solution to this problem? :-)
 
Vladimir
Reply
Hello Jackie,
my thought, is let's do these tricks:
1) create a handler for CheckoutDoneOrderIsComplete notification with such code
Dynamicweb.LogToFile.Log(Dynamicweb.Frontend.PageView.Current.Execution.getExecutionTable(True), "/CustomErrors", LogToFile.LogType.OneEntryPerFile, True, LogToFile.LogElements.URL)
2) after returning from payment gateway (after CheckoutDoneOrderIsComplete), add to current url new parameter: ?debug=true

and send me both logs  :)

Regards,
Vladimir

ps: first log will stored in Files/System/Log/CustomErrors, second will showed on the screen


 
Vladimir
Reply
Hi guys!
Have you found the cause of the error? Please share, what it was?

Regards,
Vladimir

 

You must be logged in to post in the forum