I'm about to override checkout phtml file and also make a javascript file which allows the change of shipping method when a customer choose "pick up at store".
Let me show you what i am supposed to make.
1. I will make a button for pick up at store right next to shipping address section on checkout page
2. Below the shipping methods, there are still 2 shipping methods. But when a customer choose real shipping address like first and second one, i want to show them only flat rate. But if a customer choose pick up at store, only free shipping method should be shown as a shipping method. And it is made with free shipping based on megento basic function.
- I think that a javascript file needs in this part. I'm so pooor at js tho.
What should i do first in order to implement this process. Any ideas?
Thanks a lot.