WebsiteBaker Support (2.8.x) > Bakery Shop

Address form field not required?

<< < (2/2)

seanie_morris:
With a bit more trial and error (and a not-so-tired head), I managed to work it out:


--- Code: ---if ($field != 'cust_tax_no' && (strpos($field, 'company') === false) && (strpos($field, 'postcode') === false)) {
--- End code ---

where 'postcode' is my substitute for 'zip'.

Yay!

Navigation

[0] Message Index

[*] Previous page

Go to full version