1
votes

I’d like to edit the "checkout" default WooCommerce form (fields like : billing address, first name, second name...etc.), but woocommerce template file form-checkout.php is not present in Avada Theme; other template files in woocommerce/checkout folder does not contain code for checkout form generating.

Where can I find template or define new custom template for checkout form in Avada?

1
You should search just a little, see this Official documentation: Customizing checkout fields using actions and filters - LoicTheAztec
Yes, I know about that, but I need to customize, for example, HTML tags like in original „form-checkout.php” file: github.com/woocommerce/woocommerce/blob/master/templates/… - Ala Dyn
It would be perfect to simply override file, but unfortunately I didn’t find any file that would be overrided – child theme with „form-checkout.php” template in this case is simply useless because of lack „parent” file. - Ala Dyn
This is quite complicated and needs to be done in the hooks you will find in here: docs.woocommerce.com/wc-apidocs/… - LoicTheAztec

1 Answers

0
votes

I think the exact file you may need to edit is form-billing.php which is under woocommerce folder,the relative path not the form-checkout.php :

..\wp-content\plugins\woocommerce\templates\checkout\form-billing.php

you could edit this file in your child-theme by following these steps: https://www.dreamhost.com/wordpress/how-to-customize-woocommerce-child-theme/