![]() |
Hey guys, when Delivery Fee option is selected, I need to change the position of the Delivery Date Field (by WooCommerce Order Delivery plugin) to right below the shipping options selection (woocommerce_review_order_before_payment hook)
Solution - 1are you using child theme? can you upload zip file of this plugin so I can have a look on code? Solution - 2Hello Cedlimed, Could you add this code into functions.php file and it will do the trick!
Solution - 3This is not an standard place for place it. Using PHP you should use some hooks to create a new place and some JS logic to show it. Using JS you can do it (but this is not so pro) moving from one element of the DOM to another one: https://stackoverflow.com/questions/1279957/how-to-move-an-element-into-another-element Solution - 4managed to find the hook in the plugin class-wc-od-checkout.php add_action( 'woocommerce_checkout_before_customer_details', array( $this, 'checkout_content' ), 99 ); Solution - 5Is it possible for you to share plugin? Solution - 6You must use a JS only but if you want a PHP solution, you must edit to the core of plugin files |
Wordpress |
Type: | Code Example |
Category: | Coding |
Sub Category: | Code Example |
Uploaded by: | Admin |
Views: | 36 |