Jump to content

Passing smarty variable from shipping.tpl to cart-summary.tpl


Recommended Posts

Hi,

I have been trying to figure out how to pass the $carrier variable that is being used in the file /templates/checkout/steps/shipping.tpl to the file cart-summary.tpl... If i do a var dump inside cart-summary.tpl it appears as None. I have read about how one should override a method on some controller... but I really still can't figure out how, I can't get to fully understand how every file is calling it's children I would say...

I just need to check if the $carrier.delay is on certain value, then change the transport value on the summary to 'some text'. Any guidance will be much aprecciated.

VL.

Link to comment
Share on other sites

17 hours ago, jmauclair said:

Hi,

 

Maybe you can use the {include} function of Smarty I don't ready understand how it works, but I know that you can include the informations of a file in an another one

Thanks for the info, I'll research some more and see if it helps!

VL.

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