All Questions
Tagged with wordpress hook-woocommerce
2,783
questions
0
votes
0
answers
12
views
sending sms to dokan vendors on order processing status [duplicate]
This snippet hooks into the WooCommerce order status change event and sends an SMS to each vendor associated with the products in the order. The SMS will notify the vendor of the new order and prompt ...
-7
votes
0
answers
30
views
How to change the product name on WooCommerce payment page
I want a way to change the product name on WooCommerce payment page, for some specific products.
I searched and found several answers, like Change the cart item name for product variations in ...
0
votes
1
answer
25
views
Override Analytics/Order Woocommerce Attribution?
The main objective is to add a list after those infos (net sale, clients, orders, products, items sold) with the "attribution" and the sum ($) of each attribution.
I must take the ...
-1
votes
0
answers
19
views
Wordpress plugin WooCommerce hook [duplicate]
Im making a wordpress plugin that works with WooCommerce and theres a feature im making than makes me need to know if an user is on the checkout page but i dont really know whats the hook or function ...
0
votes
0
answers
30
views
How do I conditionally stop woocommerce from saving shipping/billing addresses
I'm trying to write an Address book plugin that will allow users to add multiple shipping & billing addresses to their account so they can choose an address at checkout. I need to stop woocommerce ...
1
vote
2
answers
55
views
Add multiple suffixes to WooCommerce displayed product prices
I have been trying to find a way to add a different suffix to both my retail prices and sales prices. I am going to be selling stone and I want my product page to display the following.....
$12.99 /...
0
votes
1
answer
17
views
Woocommerce add an `aria-label` to the product loop item link anchor tag
I am using WooCommerce and want to add an aria-label to the product loop item link anchor tag. Like:
<a href="http://localhost/shop/the-poets-philosophy/"
class="woocommerce-...
-1
votes
0
answers
41
views
Woocomerce My account > Orders, cannot filter orders from post metadata
I tried using woocommerce_my_account_my_orders_query filter hook to filter orders from post metadata in My account > Orders.
This is my code:
function custom_order_query_args($query_args) {
$...
-2
votes
0
answers
19
views
WCFM main order status update to pending payment only when all vendor oders are updated to a packed
In wcfm market place i want WCFM main order status update to pending payment only when all vendor oders are updated to a packed.Currently there is order sync option .But this updates the main order ...
0
votes
1
answer
41
views
Using woocommerce_loaded hook after data migration to fix variations
We have just mirigated nearly 6k products over from the live site. We are experiencing similar issues to the following post: Woocommerce: function to update all products. I've tried the fix mentioned ...
-1
votes
1
answer
30
views
Move reviews below the upsell and cross-sell section in Woocommerce [closed]
I am working with woocommerce plugin. I currently have product virtual reviews using Faview plugin, and then it's related products, complete the set and you may also like section in product detail ...
0
votes
0
answers
33
views
Remove notice only for Composite Products in Woocommerce
I would like to only get a 'Product is removed' for the product type 'Composite Product'. Currently, when I would remove a composite product in WooCommerce, it will display a notice for all child ...
2
votes
1
answer
52
views
Add order total weight to WooCommerce admin orders list (HPOS compatible)
I used to use a plugin to add the total order weight to each order and display it on the orders page on the back end. However, HPOS broke this and I have been trying to write the code to implement it ...
0
votes
1
answer
142
views
How to make custom row actions on woocommerce product reviews
How can we add a new row actions item to product reviews?
I used the following code:
add_filter('comment_row_actions','my_action_row', 100, 2);
function my_action_row($actions, $comment){
$...
2
votes
1
answer
65
views
Link newly created split order to the customer from the original order in WooCommerce
I am using a nifty piece of code to split an order if it contains any backordered products from Split a WooCommerce order and create a new order if the original order has products in backorder answer ...