This brings me to the next topic:
It unfortunately does not use the user_meta table but instead the bp_xprofile_data table.
]]>but overall great peace of kit there, hopefully the dev update it and implement the suggestion i have requested that’s the only thing stopping me giving the a 5/5 star maybe in future i hope to come back after a few updates and edit the stars for you.
]]>loved you plugin, works as intended.
The only problem I had was that the plugin does not support the woocommers [products] shortcode.
I implemented this feature and since you say the plugin is open source, I would like to send you my solution. Do you have a repository where I can send you this addition?
Thank you,
Alessio
I can’t find how to use this new feature: “Choose whether you want to show the instructions on the front-end” of the last update
Is there any documentation or help available?
Tnx&Regards
]]>So I realized that an important feature is missing, the plugin doesn’t give you the possibility to set a maximum limit of points to be applied.
Let’s say the value of the cart is 100$ although the user has points in value of 200$ I want to restrict the user to only spend points of maximum 25% from the order total, so in this case the cart can only be reduced by a maximum of 25$.
Can you implement this feature? Or can you give me guidelines on how to implement this feature?
Have a nice day and thank you for your help!
]]>edit-payment.php: add field
eaccounting_hidden_input(
array(
'name' => 'addnew'
)
);
edit-payment.php: after submit button
<button type="button" name="submitnew" id="submitnew" class="button button-secondary">Save and Add Another</button>
edit-payment.php: in eaccounting_enqueue_js
jQuery('#ea-payment-form #submitnew').click(function(){
jQuery('#ea-payment-form #addnew').val(true);
jQuery('#ea-payment-form').submit();
});
class-ajax.php: edit_payment() at line 874
$addnew = empty( $posted['addnew'] ) ? false : true;
$redirect = '';
if ( ! $update ) {
$message = __( 'Payment created successfully!', 'wp-ever-accounting' );
if ($addnew){
$redirect = eaccounting_clean( $referer );
}else{
$redirect = remove_query_arg( array( 'action' ), eaccounting_clean( $referer ) );
}
}
]]>