alex86ita
Forum Replies Created
-
Forum: Plugins
In reply to: [myCred H5P] Accreditation of points issue with subscriber roleGood morning,I apologize for the delayed response. The issue has been resolved.I conducted some tests and realized that the plugin doesn’t work if the role has the hidden Dashboard function. By addressing this problem, the plugin is now functional.
Please, don’t make fun of me! I fixed the problem by setting the product as “downloadable.”
Thank you very much for your help!Hello! Thank you very much for your help!
I have found out what the problem is that prevents me from getting points. I hadn’t realized that the orders were still set to “in progress.”
I had inserted the code that I found in the documentation:
/** * Adjust myCRED Point Rewards * Will move the points payout from when an order is "paid" to when * an order is "completed". * @version 1.0 */ add_action( 'after_setup_theme', 'mycred_pro_adjust_woo_rewards', 110 ); function mycred_pro_adjust_woo_rewards() { remove_action( 'woocommerce_payment_complete', 'mycred_woo_payout_rewards' ); add_action( 'woocommerce_order_status_completed', 'mycred_woo_payout_rewards' ); }
but it doesn’t work. I tried to insert it both in the functions.php of the Astra theme and to use the “code snippets” plugin.
Good evening,
I am referring to the Woocommerce gateway. If I set a product to issue points after a purchase, customers who make a purchase using credits do not receive any points credit.I have seen in the documentation that this is a default setting. Is it possible to enable customers to receive points?
Thank you