Jump to content

Calling getDeliveryOptions() from admincartscontroller.php


tijojoel

Recommended Posts

Hi,

I had overrided AdminCartsController.php and written a custom function to display all carriers. I am trying to call getDeliveryOptions() function but it is not calling. It in prestashop 1.7 .My code :-

 $deliveryOptionsFinder = new DeliveryOptionsFinder(
            $this->context,
            $this->getTranslator(),
            $this->objectPresenter,
            new PriceFormatter()
        );
        $carriers = $deliveryOptionsFinder->getDeliveryOptions();

Edited by tijopromantia (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...