daspi
Forum Replies Created
-
Got it. Thanks.
Same issue here. Any solution for this?
Forum: Plugins
In reply to: [User role based shipping methods] Not limiting to select user rolesI ended up using this code to achieve what I wanted.
/* ** Handle Local Pickup by User Role ** */
add_filter(‘woocommerce_package_rates’, ‘hide_local_pickup_based_on_user_role’, 30, 2);
function hide_local_pickup_based_on_user_role($rates, $package) {
foreach($rates as $rate_key => $rate){
if($rate->method_id === ‘local_pickup’){
if(!current_user_can(‘local_pickup_allowed’) || !is_user_logged_in()){
unset($rates[$rate_key]);
break;
}
}
}
return $rates;
}
/* ** End Local Pickup ** */Please let me know how I can show the admin bar for certain user roles. If there is a snippet to add, would be OK. I just don’t understand why your plugin would blocks this.
I have contacted you but no response nor solution. Lot’s of scam post on your forum. I have the pro version. I believe regular search should work with free version too?
Forum: Plugins
In reply to: [Testimonials Widget] 4.0.1 Still Breaks SitesSame here, breaks normal dashboard login. Only recovery mode possible. Used 4.0.0 version from Git link and it works for now. Blocked updates until fixed. I went with ftp, deleted old testimonials directory and manually uploaded the one from Git.
Forum: Plugins
In reply to: [Contact Form 7 Database Addon - CFDB7] Remove data from DBSorry, was not your plugin we were using.
I am using 2.0 and have opened a ticket. Kiruthiga has sent an email and I responded back. I’ll be waiting for your instructions. I can use a snippet if you can provide me with it for v2.0, no problem.
Yes, we are using https://www.ads-software.com/plugins/price-by-user-role-for-woocommerce/ to set different prices for certain user roles. Your plugin applies the 10% cart discount to the line item, then also applies it to the subtotal. Doubles the discount somehow.
You are correct. It should be calculated from the sale price, not the regular price. Basically calculate a discount from the sub total.
My actual sample image of above issue can be seen here: https://prnt.sc/t5qte9 see note on picture as well.
Working now. Thank you!
Still is not working in email notifications to administrator with prevous fields %pie_wc_billing_address_3% and %pie_wc_shipping_address_4%. It seems the filed names have changed to %wc_billing_address% and shipping to %wc_shipping_address%. I assume I have to edit the notification to use the new fields?
Just updated both. Trying to edit my form to see if there are options to have a check mark for Shipping and Billing the same address. Found that the WooCommerce Fields button does not work anymore, nothing unfolds like it should. I click on the button and nothing shows. Is this a new bug?
But on the front end, for my existing form there is now a check field and it is working to populate Shipping address if checked automatically. Great!
- This reply was modified 4 years, 5 months ago by daspi.
This remains unresolved after last update.