victorglobal Posted March 10, 2021 Share Posted March 10, 2021 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 More sharing options...
jmauclair Posted March 14, 2021 Share Posted March 14, 2021 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 Link to comment Share on other sites More sharing options...
victorglobal Posted March 15, 2021 Author Share Posted March 15, 2021 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 More sharing options...
jmauclair Posted March 15, 2021 Share Posted March 15, 2021 2 minutes ago, victorglobal said: Thanks for the info, I'll research some more and see if it helps! VL. Let me know ! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now