Jump to content

Show Selected Carrier Name In Cart (Opc)


babyewok

Recommended Posts

I am using opc and was wondering how I can pull the name of the currently selected carrier to use in the cart table instead of 'Shipping' so the table would show:

 

UK Delivery      £10.00

 

instead of:

 

Shipping          £10.00

 

I can see the list of carrier options in order-carrier.tpl but how can I show just the name of the selected carrier?

 

 

EDIT: Ok, so I used {$carrier->name|escape:'html':'UTF-8'} which works great, but I need it to update when the user clicks 'save' (it is opc as guest).  Currently it will only update when the page is refreshed.  How can I do this via order-opc.js?

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

This would be super handy on opc as the price for the shop default carrier is shown until the user scrolls down to enter their address details and select the carrier for their country.  I think it needs to be made more obvious that the shipping price shown is for UK shipping, so that they are instantly aware that it may be different if shipped outside the UK.

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...