This is really important! Backers need the option to be anonymous or not.
Hello,
Post your issue on the support forum- https://www.themeum.com/support/
This is really important! Backers need the option to be anonymous or not.
It has this option.
Hello
I have some problem with backers visibility. There is check-box in product page Enable this option to display the contributors Name as Anonymous for this Campaign. When I check it all donators are visible as Anonymous. But when it is unchecked backer cannot be anonymous. Is there any option for donator to choose if he/she wants to be visible by name or as anonymous??
This is not supposed to happen! Post your issue on the support forum- https://www.themeum.com/support/
Thanks.
It’s important that people who might use this plugin be able to see the support issues, so I am not going to a separate website.
This is really important! Backers need the option to be anonymous or not.
It has this option.
No, it definitely does not. It has an all-or-nothing option. Each individual donor needs to be given the option to be anonymous.
Add this to your theme’s functions.php file to display the “Make me anonymous” checkbox on checkout:
function custom_check_anonymous_backer(){
global $woocommerce;
$items = $woocommerce->cart->get_cart();
if( $items ) {
foreach( $items as $item => $values ) {
$product = wc_get_product( $values['product_id'] );
if( $product->get_type() == 'crowdfunding' ) {
if( get_post_meta( $values['product_id'],'wpneo_mark_contributors_as_anonymous',true ) !== '1' ) {
echo '<div id="mark_name_anonymous" class="mark_name_anonymous_wrap">';
echo '<label><input type="checkbox" value="true" name="mark_name_anonymous" /> '.__('Make me anonymous', 'wp-crowdfunding').' </label>';
echo '</div>';
}
}
}
}
}
add_action( 'woocommerce_review_order_before_payment', 'custom_check_anonymous_backer' );
Thread Starter
birdm
(@birdm)
@swinggraphics, thanks a lot!!!
You make my day. It works as it should at the beginning.
Great work man:)
It seems the developers *think* this is the way it works and just don’t realize that they short-circuited the feature in their code. It would be great if this gets fixed in an update.
@swinggraphics,
I’ll note this and send to the developer team.
Thanks a lot for your valuable comment.