Jump to content

Does someone know how to use this hook: hookDisplayCarrierExtraContent


Laurentiu Nita

Recommended Posts

The method gets an array as its parameter. The parameter contains a punch of info related to the current cart, customer etc. See the first attached screenshot as an example.

You do you magic and finally return either boolean false, if no extra text should be displayed for the carrier during checkout, or you return the text you wish to be displayed as HTML. See the second screenshot as an example.

Screenshot_20220530_085658.png

Screenshot_20220530_085737.png

  • Like 1
  • Thanks 1
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...