How can make the default tip on every order $10.00 and the customer can change it as they wish?
]]>For customer paying with an manually added order, woocommerce uses the form: form-pay.php which is triggered by adding an manual order within woo’s webadmin and sending an order details email to the customer. The email has a link which opens the form-pay.php page.
I am trying to add your short code, [order_tip_form], to this form-pay.php (copied to themes/[theme]/woocommerce/checkout.
The short code is showing and the tip is showing but order total amount does not update.
Any pointers as to how I can fix it?
Hello! What a great plugin!
It works perfectly but I’m having style issue in checkout. I use checkout form from “FunnelKit” Pugin form for checkout but I’m not sure if it’s having conflict with the plugin, but I added custom CSS and it’s not working either. Please Help
Image URL:
https://ibb.co/41VnTTQ
Thank you.
]]>Hello there! Great plugin!
Quick question! I am using the following code to disable the tip form on all shipping methods except free shipping:
add_filter( 'wc_order_tip_display_form', 'courier_tips_custom_display', 10, 1 );
function courier_tips_custom_display( $display ) {
// Get the chosen shipping methods
$chosen_methods = WC()->session->get('chosen_shipping_methods');
if (!in_array('free_shipping:1', $chosen_methods)) {
$display = false;
}
return $display;
}
If I do a hard refresh every time I change shipping method, this seems to be working. But, are there any filters or actions I could add to make this automatically disable or enable the form upon shipping methods updates without having to refresh the checkout page? Also, if the user changes from free shipping to let’s say local pick up or any other available shipping method options, is there a filter to completely remove the previsouly added tip?
]]>Hello there,
I installed the newest version(1.4.1) and found the alert function didn’t work when removing the tip, the confirmation message didn’t appear even the function was enabled.
Please look into it, thanks!
]]>Hello there,
I updated the plugin to the newest version and got PHP error which was said:
Undefined index: wootip_export_nonce in …\wp-content\plugins\order-tip-woo\admin\controllers\reports.class.php on line 380
Please look into it, thanks!
]]>Is there a way to view reports with the product shown as well? Or a way to download the csv report to include product, name, etc.? We are using tips for events so it will be helpful to download or view for specific products/events. The CSV doesn’t show the name of the customer or any additional information.
Thank you!
]]>Hello we have style conflict in the WPMUDEV dashboard plugins ( snapshot ) when we deactivate your plugin it works good, when we contacted them, they replied to us and asked to contact you and suggested this solution:
I had a closer look and checked and after investigating the issue, I can see, how the admin_body_class() method is implemented in the plugin’s code causing the issue.
In the admin_body_class() method, the plugin adds the class order-tip-reports-settings under certain conditions. However, only return the modified $classes if those conditions are met. If the conditions are not met, the method doesn’t return anything, which effectively removes all the previously set body classes and causes the style break issue.
To fix the issue, you can just add one line of code to the file: /wp-content/plugins/order-tip-woo/admin/controllers/config.class.php
The line will be the below one and add it to that file on line 66:
// Always return the classes
return $classes;
Current function:
function admin_body_class( $classes ) {
if(
isset( $_GET['page'] ) && $_GET['page'] == 'wc-settings' &&
isset( $_GET['tab'] ) && $_GET['tab'] == 'order_tip' &&
isset( $_GET['section'] ) && $_GET['section'] == 'reports'
) {
return $classes . ' order-tip-reports-settings';
}
}
After adjusting it will be:
function admin_body_class( $classes ) {
if (
isset( $_GET['page'] ) && $_GET['page'] == 'wc-settings' &&
isset( $_GET['tab'] ) && $_GET['tab'] == 'order_tip' &&
isset( $_GET['section'] ) && $_GET['section'] == 'reports'
) {
$classes .= ' order-tip-reports-settings';
}
// Always return the classes
return $classes;
}
Make the changes and it should fix the issue. Do let us know if you need help with adjusting the code.
Additionally, we encourage you to report this issue and suggest the adjustment to the plugin’s development team via their WordPress support forum as the changes may lost in the next plugin update. https://www.ads-software.com/support/plugin/order-tip-woo/
Implementing this change should help improve the stability and reliability of the plugin across various WordPress setups preventing unexpected behavior and conflicts with other plugins or themes.
]]>WooCommerce is displaying a warning “Incompatible plugin detected” when trying to activate High-performance order storage, listing Order Tip for WooCommerce as not being compatible
WooCommerce > Settings > Advanced > Features
]]>We’re getting the following warning:
PHP Warning: Undefined variable $active_class in /wp-content/plugins/order-tip-woo-revised/frontend/views/main.views.class.php on line 33
Can this be addressed?
]]>I am using Spectra (block) theme.
Buttons to add tip have no colour, size and are not same as other buttons on cart and checkout pages.
How do you edit them to look like they do in your video?
]]>Great plugin! It’s working as intended for simple and variable products, however, when we add a subscription item to the cart (using premium WooCommerce Subscriptions plugin) while it displays a tip amount, it is not added to the total amount to be charged.
Is there a hook that we need to implement to ensure the tip amount is added to a recurring Subscription amount?
Site is a staging site that needs credentials to be viewed, see below:
username: blogvault, pw: 3f492c66
]]>Hello,
Your plugin is excellent! However, my new payment provider requires that in addition to the %, the sum be marked in full with the currency like this: https://ibb.co/Dgj08rh, as well as a maximum amount that could be set.
Is it possible to make this modification and add these two options?
Thanks in advance and have a nice day.
Damien
]]>Hello,
I was wondering if there was a way to make the field a mandotary one and give them the option to put 0 if they don’t want to tip.
I just want to be sure that they don’t miss the filed in checkout.
Thanks
]]>I would like to add tip details to the reports created by this plugin https://www.ads-software.com/plugins/woo-advanced-sales-report-email/
]]>Hello,
I can no longer access my coupon code page under Marketing. A fatal error is produced because of your plugin. It is great! Could you fix the error ?
Uncaught Error: Call to a member function get_subtotal() on null in /home/designpe/******.ch/wp-content/plugins/order-tip-woo/frontend/controllers/main.class.php:228
Stack trace:
#0 /home/designpe/******.ch/wp-includes/class-wp-hook.php(308): WOO_Order_Tip_Main->do_add_tip(Object(WP))
#1 /home/designpe/******.ch/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#2 /home/designpe/******.ch/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
#3 /home/designpe/******.ch/wp-includes/class-wp.php(797): do_action_ref_array(‘wp’, Array)
#4 /home/designpe/******.ch/wp-includes/functions.php(1332): WP->main(Array)
#5 /home/designpe/******.ch/wp-admin/includes/post.php(1245): wp(Array)
#6 /home/designpe/******.ch/wp-admin/includes/class-wp-posts-list-table.php(165): wp_edit_posts_query()
#7 /home/designpe/******.ch/wp-admin/edit.php(235): WP_Posts_List_Table->prepare_items()
#8 {main} thrown
Thank you in advance.
Damien
]]>This is the report that stopped working: /wp-admin/admin.php?page=wc-settings&tab=order_tip§ion=reports
Page loads and shows previous tips but stopped reporting on the 12th.
]]>Hi! I just updated my site to Woocommerce 6.8.0 and received the following critical error caused by the plugin. Can you please fix? This is a great plugin and I would like to continue using it. Thank you!
PHP Fatal error: Uncaught Error: Call to undefined function WC() in /nas/content/live/mycoolsite/wp-content/plugins/order-tip-woo/frontend/controllers/main.class.php:129\nStack trace:\n#0 /nas/content/live/mycoolsite/wp-includes/class-wp-hook.php(307): WOO_Order_Tip_Main->init_session('')\n#1 /nas/content/live/mycoolsite/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)\n#2 /nas/content/live/mycoolsite/wp-includes/plugin.php(476): WP_Hook->do_action(Array)\n#3 /nas/content/live/mycoolsite/wp-settings.php(598): do_action('init')\n#4 /nas/content/live/mycoolsite/wp-config.php(73): require_once('/nas/content/li...')\n#5 /nas/content/live/mycoolsite/wp-load.php(50): require_once('/nas/content/li...')\n#6 /nas/content/live/mycoolsite/wp-admin/admin-ajax.php(22): require_once('/nas/content/li...')\n#7 {main}\n thrown in /nas/content/live/mycoolsite/wp-content/plugins/order-tip-woo/frontend/controllers/main.class.php on line 129, referer: https://www.dennisporthouseofpizza.com/wp-admin/admin.php?page=order-listener
I have a live site with your plugin installed which allows customers to give a tip to the bakery at checkout. Pretty brilliant feature. However, I’m having a small glitch with the plugin.
The option: “is taxable” is turned to off, but the tip is still taxed.
The only thing I can think of is that I’ve created tax rules that are used on some products and catch them in the functions.php file for processing. This .shouldn’t. effect anything because it catches only products labelled with specific tax classes for some regional quantities rules.
Going through the functions.php file with a fine tooth and comb, I find the lines:
if ( $item_tax_class == 'six-plus' && $item_tax_status == 'none' ) {
$cart_item['data']->set_tax_status('taxable') ;
But again, this shouldn’t catch it because I doubt the order-tip tax class was coincidentally also given the tax_class of ‘six-plus’.
Any help solving this?
]]>Hello there,
The custom tip amount should not be zero, but if I enter 0, and then add tip to order, the tip amount will be displayed as zero. Is there a way to prevent customers from entering zero amount?
Regards,
Qilin
Hi, I have recently uploaded the plugin and it is causing a critical error on my website. Do you have an updated version of the plugin to download? Thank you!
]]>Hello,
Thank you for the great plugin.
Is there a way to export woocommerce orders with the order tips along the other data. I tried few exporting options but wasn’t able to get the tips data.
Regards,
]]>Hi my client wanted a tipping plugin this plugin was very straightforward and simple to set up but I couldn’t access the “all products” and “all page” anymore I would receive a critical error when I try to.
I can edit the pages and products but I cannot view all the pages or products
]]>Hi! I was using Tipping for WooCommerce in conjunction with WCFM but have since removed to compatibility. I was recommended to use this plugin instead. I also need to ensure that “tip” showing in calculations & total as “fee” for vendors. When vendor looks at order from dashboard, they need to be able to see the tip on order on their side – not going to Admin. Here’s what Tipping for WooCommerce did with the “tip”
Here’s what that plugin did to “tip” on vendor side. Completely missing, like customer did not tip them! This is very bad and I must prevent this behavior in the future, enabling some flow to provide the tip to the vendor and allow it to be paid and seen in order on the WCFM dashboard.
Tip needs to go to vendors integrated through WooCommerce, connected through WCFM to Stripe Connect. I need to ensure I can pay also pay the tip to vendors of our multivendor marketplace and that it is included in the total for the order. As you can see, with the other plugin, this did not work.
Checkout is currently single vendor to determine who to give tip to, reduce confusion and any complaint about who tip belongs to. I feel this is the simplest configuration to request help for.
—————–PLEASE ADVISE!——————–
However, in the future may want to consider it would be nice if have multiple vendors where tip is provided and there is a clear way to allow fee to be given to different vendors:
******** vendor 1 for products in checkout from shop 1 & tip to vendor 1
******** vendor 2 for products in checkout from shop 2 & tip to vendor 2
******** vendor 3 for products in checkout from shop 3 & tip to vendor 3
May be good to develop specifically for use-cases involving delivery drivers. Or tipping based on distance. WCFM has “delivery boy” module – although we don’t use, it would be good to consider for RankMath/WCFM combo and would be a good area for development of your plugin.
Thank you so much for your consideration.
I look forward to hearing back from you regarding this.
-Makyn
Hi, first of all love the plugin ??
Second,
when i click on troubleshoot using “Health Check & Troubleshooting” on the order tips plugin in the plugin page, it crash my site.
Ive teste with only woocommerce and order tips, still happen.
the plugin is very much usable none the less.
Thanks in advance!
p.s. i know this already been ask by could you give a option the make the filed mandatory?
]]>I just installed and activated this plugin and didn’t see any change to my product, cart, or checkout pages. Upon checking your live demo page it doesn’t work on there either. Am I missing something?
]]>Hi there,
I love the plugin as it is exactly what I need. I just installed the plugin and got the following error:
plugins/order-tip-woo/frontend/controllers/main.class.php. Error: Uncaught Error: Call to a member function get_subtotal() on null in plugins/order-tip-woo/frontend/controllers/main.class.php:228
Stack trace:
#0 wp-includes/class-wp-hook.php(288): WOO_Order_Tip_Main->do_add_tip(Object(WP))
#1 wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array)
#2 wp-includes/plugin.php(544): WP_Hook->do_action(Array)
#3 wp-includes/class-wp.php(746): do_action_ref_array('wp', Array)
#4 wp-includes/functions.php(1255): WP->main(Array)
#5 wp-admin/includes/post.php(1187): wp(Array)
#6 wp-admin/includes/class-wp-posts-list-table.php(147): wp_edit_posts_qu
Is this a known error?
Kind regards
]]>Hello,
For virtual products, I would like to only ask for Name and email from the customers.
I removed all other fields using such code “unset($fields[‘billing’][‘billing_address_1’]);”
Is there a way to remove the tipping option from checkout page as well for virtual products only ?
https://prnt.sc/OWaGQ6wvSm1i
Thanks
]]>I am getting the following fatal error after updating the plugin today (March 8, 2022).
————————————————-
Warning: require_once(/homepages/12/d665542760/htdocs/na.ca/wp-content/plugins/order-tip-woo/admin/views/reports.views.class.php): failed to open stream: No such file or directory in /homepages/12/d665542760/htdocs/na.ca/wp-content/plugins/order-tip-woo/admin/init.php on line 25
Fatal error: require_once(): Failed opening required '/homepages/12/d665542760/htdocs/na.ca/wp-content/plugins/order-tip-woo/admin/views/reports.views.class.php' (include_path='.:/usr/lib/php7.3') in /homepages/12/d665542760/htdocs/na.ca/wp-content/plugins/order-tip-woo/admin/init.php on line 25
]]>
Hello
We use the latest version and checkout via rest api, and get the error on checkout:
PHP Fatal error: Uncaught Error: Call to a member function __unset() on null in …/plugins/order-tip-woo/frontend/controllers/main.class.php:218
main.class.php code in question:
if( $this->settings[‘wc_order_tip_remove_new_order’] && ! is_admin() ) {
$wc_session = WC()->session;
$wc_session->__unset( ‘tip’ );
}
According to this ticket https://www.ads-software.com/support/topic/fatal-error-3775/ it should be fixed…
Maybe something simple like:
if( isset( WC()->session ) ){
…
}
can do the trick?
Thank you.
]]>