In case it helps anyone, the do_action(‘woocommerce_review_order_after_order_total’) is called in the middle of a table in the template and expects a table row to be echoed by the add_action hook. If you just echo text or, as in the question, an input, it falls outside the table, appears before not after the table and presumably gets left behind on ajax updates so appears more than once. So, something like the following will work in the add_action hook (the table has 2 columns):
echo '<tr><td colspan="2">My after totals text</td></tr>';
Related Posts:
- Remove action on product archive page [closed]
- Is there a Woocommerce hook that fires when applying a coupon but before checking if it’s valid?
- What is the action hook for an order that fails on frontend checkout in WooCommerce?
- Which hook should I use to capture $_POST(‘password’) via profile update and password reset
- Edit WooCommerce product content based on category
- How to list all WC products by their attributes values?
- password_reset doesnt work
- Woocommerce – Adding row to cart table
- Display custom product option in admin order details
- Parameters in woocommerce_before_add_to_cart_button hook
- How to modify username before logging in?
- WooCommerce Webhook Action When a New Product Review was Submitted/Created
- WordPress Multisite: Adding actions to only one site
- How to remove action hook done in a plugin from functions.php in my theme?
- WooCommerce: Can’t use wc_get_products for custom REST API endpoints
- How to get rid of the hover zoom in WooCommerce single products
- What’s the difference between WC() and $woocommerce
- Hook and send Woocommerce data after click Place Order button
- Adding an action within a function that is being called by add_filter
- Show only geolocated user country into Woocommerce checkout country fields
- Extend Woocommerce rest api routes fails
- How to Remove a Filter from the Admin List Table?
- How to remove_action inside class [duplicate]
- Disable email field on WooCommerce customer account details
- The correct way to override WooCommerce product gallery from a plugin [closed]
- display available size on hover, in woocommerce shop page [closed]
- Customize WooCommerce orders displayed shipping
- How to prevent action in ajax request, when in admin side?
- Unable to programmatically remove product from WooCommerce cart
- Woocommerce – Hide a Column in Cart Table
- How can I show an empty WooCommerce cart? [closed]
- Add my own function to existing WooCommerce hook
- How to unhook a function in Woocommerce Template?
- Remove action added through function
- Using a filter with multiple parameters and $this
- Remove Order List Row Link in WooCommerce Admin?
- Get rid of product images mobile swipe functionality from WooCommerce single product [closed]
- How can I add an additional action button into the woocommerce admin order page?
- woocommerce_package_rates not fired everytime
- differentiate hooks and filters on the same page [closed]
- ‘profile_update’ hook alternative for WooCommerce user meta data
- How to update custom field in WooCommerce
- Add Stripe Connect data to wc_stripe_payment_request
- Redirect customer to login page (with other signup plugin) if user not logged in when proceeding to checkout
- How to subscribe free subscription on user registration in woocommerce subscription plugin?
- Showing the WordPress standard text area on a Woocommerce Single Product Page?
- Woocommerce Moving Review Below add to cart breaks button
- WooCommerce order complete email logic
- How to override Woocommerce functionality in Reports section?
- how can use woocommerce add to cart popup?
- Execute JavaScript in WordPress Hook
- How to Update the Order-Items While Editing an Order on the WooCommerce Admin Order Screen [closed]
- woocommerce_new_product action doesn’t fire
- How to re-arrange this hooked content?
- How to exclude a taxonomy from shop & search page wooCommerce?
- Redirect no product url’s to static url
- WooCommerce: after install hook
- What Hook/Action is performed when a field in checkout form is changed in WooCommerce
- How to change a WooCommerce Subscription Deposit and Monthly Payment? [closed]
- How can I add a so i can show sale price under normal price
- WooCommerce checkout page price break down table hook
- How to access deleted term inside delete_product_cat action
- How to output woocommerce products to a page, style and modify the html structure
- Filter default_content only for products
- Conditional action hook
- How can I override wp_price woocommerce function in my theme
- Functions.php change for Woocommerce not working
- How to access page variable inside action hook
- Conditionally run function based on custom meta value?
- manage_shop_order_posts_custom_column() hook is Not working In Functions.php file in my WordPress active theme
- How to alter taxes amounts when updating an order
- How to check if woocommerce_order_item_name is use in email?
- Hooks For Design variation in woo commerce single product page
- How to add woocommerce products header title in woocommerce_breadcrumb hook to function.php
- Use ID as slug for product category by default in WooCommerce?
- What is the problem with these lines of code?
- Woocommerce : Add name filed of checkout page to buyers wordpress display name
- Missing variable options on add to cart form
- Assign user role by text field in WordPress (Woocommerce) [closed]
- call_user_func_array() expects parameter 1 to be a valid callback, class ‘WC_Rapyd’ does not have a method ‘install’
- Help to locate a woocommerce hook method
- Combine one action and one filter
- How can I send information when a order is completed to my own POS?
- check shipping amount in woocommerce_after_checkout_validation?
- How to display two different custom taxonomy terms on a WooCommerce single product page
- Woocommerce Disabling Auto Restocking for Cancelled Orders
- Unable to call woocommerce hook in my custom php file
- How can i add product Accessories from front-end using custom php form?
- How to change lost password email text using custom plugin wordpress?
- Overriding Plugin function in your child theme
- woocommerce_add_to_cart custom function called several times
- How to track product price changes?
- Remove username and account password field from checkout page
- How do I remove an action hook inside a class that is called by another class?
- Display product thumbnail in Woocommerce email notifications
- How can I locate where the actions are defined? [duplicate]
- add_action don’t updates theme layout when using values from the WordPress customizer
- Woocommerce add a text field if specific option is selected
- Add suffix to price html does not work
- {status}_{post_type} does not run correctly?