gcooke
Forum Replies Created
-
Forum: Plugins
In reply to: [YITH WooCommerce Gift Cards] Gift card has tax added in cartSorry,
But where is your field?
Forum: Plugins
In reply to: [YITH WooCommerce Gift Cards] Gift card has tax added in cartThanks for reply, but it doesn’t solve my issue. The gift card (product) is set as Tax status none.
Maybe I need to be clearer, it is when i use the gift card that tax is added to the coupon discount.
1. I have a gift card for £50.
2. I can buy that for £50
3. When I use that gift card/voucher code it adds 20% tax so the discount amount is £60.I need it to not add tax to the discount voucher amount. If someones buy a gift card they should receive that amount off only. Not the amount of the gift card + tax.
Forum: Plugins
In reply to: [YITH WooCommerce Gift Cards] Gift card has tax added in cartHi, I just found this, https://ww.wp.xz.cn/support/topic/tax-added-to-gift-card/. If I purchase the pro version can this issue be resolved?
Forum: Plugins
In reply to: [WooCommerce] Custom countries and customersLike this:
add_filter( 'woocommerce_countries', 'handsome_bearded_guy_add_my_country' ); // Add new countries to countries list function handsome_bearded_guy_add_my_country( $countries ) { $new_countries = array( 'NIRE' => __( 'Northern Ireland', 'woocommerce' ), 'CI' => __( 'Channel Islands', 'woocommerce' ), 'HI' => __( 'Scottish Highlands and Islands', 'woocommerce' ), 'ESW' => __( 'ENGLAND SCOTLAND AND WALES', 'woocommerce' ), ); return array_merge( $countries, $new_countries ); } add_filter( 'woocommerce_continents', 'handsome_bearded_guy_add_my_country_to_continents' ); function handsome_bearded_guy_add_my_country_to_continents( $continents ) { $continents['EU']['countries'][] = 'NIRE'; $continents['EU']['countries'][] = 'CI'; $continents['EU']['countries'][] = 'HI'; $continents['EU']['countries'][] = 'ESW'; return $continents; }Just sorted this
Forum: Plugins
In reply to: [Eventbrite API] Event by idI solved this. The answer was by using the ‘p’ => $event_id in the new Eventbrite_Query class.
I am having the same issue as above. Could you please give an example how to use the filter to disable the nonce in the functions file.
Thanks,
Greig
Oddly it doesn’t and I am not sure why…
This does:
`function my_profile_update( $user_id ) {
if ( ! isset( $_POST[‘pass1’] ) || ” == $_POST[‘pass1’] ) {
return;
}
elseif(!$_POST[‘pass1’] === $_POST[‘pass2’]){
return;
}// password changed…
}
add_action( ‘profile_update’, ‘my_profile_update’ );I would consider managing it with a wordpress hook;
https://developer.ww.wp.xz.cn/reference/hooks/after_password_reset/
I agree,
This is a fantastic plugin and as an experienced developer I would happily pay a little for better support.
Hi,
I am a developer, but I need pointing in the right direction as I can’t find the information I need to code it. I just need the action for when the form data is submitted I think it is
um_submit_form_profile. But not sure how to catch the data in the forms?Hmm not sure about this. Might be a confliction issue as I don’t have the same issue on my clean install. It should just stack
Which fields in the ultimate member meta information is not updating?
I think you might be able to use the profile_update action hook to update the relative Meta Key fields in ultimate member, but I don’t know if this will work if you are updating user info inside wpdatatables.
<?php add_action( 'profile_update', 'my_profile_update', 10, 2 ); function my_profile_update( $user_id, $old_user_data ) { // Do something } ?>Resolved
Resolved this by finding a link listing pre-defined actions in ultimate member here, https://gist.github.com/ultimatemember.
Wondering why some of this information is not in the documentation?