Bypass shiping on local pickup

  • Posts: 86
  • Thank you received: 3
11 years 7 months ago #96580

Greetings. I would like to know:
When a user choose to pickup local, is there a way to hide the address field in the registration form.
Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 7 months ago #96634

Hi,

I think that you'll have to do it with some code customization through the cart file of the checkout view of your front-end template ("Hikashop->Display->Views"). but it would require some PHP/Javascript knowledge.

Hope this will help you.

Please Log in or Create an account to join the conversation.

  • Posts: 86
  • Thank you received: 3
11 years 7 months ago #96643

Yes. I know it is not implememted yet. My guess is it would require to hide the custom field IF shipping method is different than than local pickup.
Is there a good WYSIWYG developer tool for php/java (IE: Eclipse) ?

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 7 months ago #96654

Doing it with EasyEclipse for php will be enough.
You'll be able to do it with some Javascript code, then every time that you select a shipping method, it will call your javascript function and this function will check if this shipping method is different than the local pickup and if that's the case, this function will hide the address block.

Last edit: 11 years 7 months ago by Mohamed Thelji.
The following user(s) said Thank You: magickarle

Please Log in or Create an account to join the conversation.

Time to create page: 0.050 seconds
Powered by Kunena Forum