wordpress - Reorder woocommerce checkout -
i'm looking reorder woocommerce checkout page. it's post found here.
but payment section remain @ bottom can seem able separate order info , payment info.
the layout achieve is
- cart review info - billing/shipping info - payment info
thanks help
you'll need edit form-checkout.php file within: public_html/yourfolder/wp-content/plugins/woocommerce/templates/checkout
within file you'll see html skeleton, php injectors/hooks within.
you'll need div's contain billing/shipping info , cart review/payment info.
once you've found these, you'll need move hooks billing/shipping info newly created div/container between cart review/payment info information.
billing/shipping info hooks:
<?php do_action( 'woocommerce_checkout_before_customer_details' ); ?> <?php do_action( 'woocommerce_checkout_billing' ); ?> <?php do_action( 'woocommerce_checkout_shipping' ); ?> <?php do_action( 'woocommerce_checkout_after_customer_details' ); ?>
be careful, in cases moving payment info out of order_review div can cause checkout stop working.
Comments
Post a Comment