Povinné di?
-
Dobry deň,
viem, ?e sa to tu u? rie?ilo ale m?j problém to nevyrie?ilo. Viete prida? option alebo aspoň sem posla? php kód na povinné DI??
Ak toti? pou?ijem toto:
function wpify_adjust_checkout_fields( array $fields ): array {
$fields[‘billing’][‘billing_dic’][‘required’] = true;
$fields[‘billing’][‘billing_dic_dph’][‘required’] = true;return $fields;
}
add_filter( ‘woocommerce_checkout_fields’, ‘wpify_adjust_checkout_fields’, 99, 1 )Tak to berie ako povinné pole aj ke? nenakupujem na firmu. Nejaky kód sa mi podarilo da? dokopy ale rád by som to tla?il “oficiálnou” cestou tak ako napr. I?O alebo názov spolo?nosti.
?akujem za odpove?.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.