shopper field required based on shipping method (no address on pickup required)

Started by vmfyelloq19, July 25, 2024, 17:10:51 PM

Previous topic - Next topic

vmfyelloq19

Friends,

I have two shipping methods, standard shipping and pick up.
For shipping, the shopper fields street, zip and city are set to required.

If pickup is selected, I'd like to make them not-required (or hide them completely).

Any hints?

Jumbo!


vmfyelloq19

Hi Jumbo,

could you hint me some further what type of plugin that would be?
A shipping plugin I assume? Or are there any API calls I could use to on-the-fly modify shopper field details?

Cheers, vmf