Hi there, i have 2 shipping method. I want if shipping method 2 is checked to include a php file in shipping description. Where i have to start looking?
What is purpose of this file in description?
What is purpose of this file in description?
To load a google map with available checkpoints.
There is no simply way to add external php file. You can try My changes module and hooks in the checkout controller / functions
I try to figure out how cs cart file structure works. I know that i want to pass data from checkout controller to checkout/components/shipping_rates.
And add a condition
If shipping.shipping.id == ‘shipping id that i want’ execute code in shipping description.