maycal
Forum Replies Created
-
Forum: Plugins
In reply to: [Super Progressive Web Apps] App Splash Screen Icon FULL SIZEI got it!
The phrase “All levels” is successfully translated using Loco (both sides), so I did not change it in the code
If you’d like to know how did I do that, please, let me know.
The problem was solved. Let me know if you need corrected abstract-lp-user.php file for learnpress version 4.0.6 (maybe it will work with another version too)
I have disabled the synchronization function between course and product after the course and product have been created by editing course-product-sync.php located at “wp-content / plugins / manca-lp-wc-integration / admin /”.
Now I can change the image and description of the course and this will not affect on image and description on product. Also, I can change the image and description of the product and this will not affect on image and description on the course. At the same time, the enrollment mechanism works fine.
If somebody need this modified file, please, let me know, I will give you it.
- This reply was modified 5 years ago by maycal.
Thank you for your reply. I figured it out. The reason was learnpress plugin. Specifically, the error was contained in the code of the file “abstract-lp-user.php” located in the path wp-content / plugins / learnpress / inc / user /
This error resulted in:
1) Notification of a new order was not sent to the administrator
2) When you buy a set of several courses through WooCommerce, LearnPress signed the user for only 2 of these courses
So, if you buy more than 1 course at the same time through WooCommerce, the error “Cannot use object of type stdClass as array” appeared. Now I have a corrected file, and if you need – let me know, I will give you the file. It was checked with the learnpress version 4.0.6
The error in the code was made by the learnpress developers.
Thank you for your reply. I figured it out. The reason was learnpress plugin. Specifically, the error was contained in the code of the file “abstract-lp-user.php” located in the path wp-content / plugins / learnpress / inc / user /
This error resulted in:
1) Notification of a new order was not sent to the administrator
2) When you buy a set of several courses through WooCommerce, LearnPress signed the user for only 2 of these courses`
So, if you buy more than 1 course at the same time through WooCommerce, the error “Cannot use object of type stdClass as array” appeared. Now I have a corrected file, and if you need – let me know, I will give you the file. It was checked with the learnpress version 4.0.6
The error in the code was made by the learnpress developers.
- This reply was modified 5 years ago by maycal.
I figured it out. The reason was learnpress. Specifically, the error was contained in the code of the file “abstract-lp-user.php” located in the path wp-content / plugins / learnpress / inc / user /
If you buy more than 2 courses at the same time through WooCommerce, the error “Cannot use object of type stdClass as array” appeared. Now I have a corrected file, and if you need – let me know, I will give you a file. It was checked with the learnpress version 4.0.6
The error in the code was made by the learnpress developers.
- This reply was modified 5 years ago by maycal.
Please try it with your site and tell me that have an email log or not.
No, there is no outgoing “new order e-mail” to be seen on e-mail log. There is only “completed order e-mail” to customer.
when purchasing a bundle with virtual/downloadable products inside
The most important thing – did you checked mark “virtual and downloadable” together or only one of check mark?
It must be like on this screenshot: https://ibb.co/kS47mjk
2 products included in bundle must be “virtual AND downloadable” at the same time (2 checks marks). If it will be only one check mark, then new order email appears on e-mail log.
If it will be two check marks, then new order email will not send to admin.
We’ve just tried to create a bundle product, including 2 virtual/downloadable products
The most important thing – did you checked mark “virtual and downloadable” together or only one of check mark?
It must be like on this screenshot: https://ibb.co/kS47mjk
2 products included in bundle must be “virtual AND downloadable” at the same time (2 checks marks). If it will be only one check mark, then new order email sends correctly.
If it will be two check marks, then new order email will not send to admin.
- This reply was modified 5 years ago by maycal.
Did you try to deactivate our plugin and create an order with a simple virtual product?
Like I said:
If I will buy these products separately (not in bundle), then new order notification works fine.
Please also ensure that you enabled Processing order email
We are talking about “new order e-mail to admin”, and not about “Processing order email to customer”. “Processing order email” is activated.
I would like to clarify once again that:
Item 1, marked “virtual” and “downloadable”
Item 2, marked “virtual” and “downloadable”
Item 1 and Item 2 are combined into a set.
A letter about a new order is not sent to the administrator.
Such a scheme is necessary for the sale of training video courses. The items must be marked “virtual” and “downloadable” and then the courses will be automatically sent to the user (so that LearnPress will automatically enroll the student after payment). If the items included in the kit have only one of these marks (virtual or downloadable, not both at once), then the order after payment will stuck in processing and will not be automatically sent to the client.
- This reply was modified 5 years ago by maycal.