Jump to content

[SOLVED] DisplayCarrier()


Recommended Posts

hi

just want to know if anyone can help me...

i have set a few price ranges in Price Ranges for normal delivery and normal delivery WITH insurance (so that i can charge extra for insurance charges)

when i checked out i am seeing this all whole list of carrier in order.php/step=2. but i do not want user to choose which package he or she wants ( showing all list of carrier)
I have set the carrier based on price range (total item purchased equals on how much they shouhld pay for delivery fee)

Solution of not showing user the carrier page, i will edit the code of order.php on line 93


if(Tools::isSubmit('processAddress'))
processAddress();
autoStep(2);
displayCarrier();

to

if(Tools::isSubmit('processAddress'))
processAddress();
autoStep(2);
displayPayment();



but thing now is.. i need them to choose the carrier with insurance / normal carrier (based on price range)

**Refer attachment jpg.zip



Any how can i do this way ? Or can i edit the code displaycarrier() to something displaycarrier(carrierid) ? something like that
so it will display all carrier WITHIN the same price range that we set earlier?

thank you

jpg.zip

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