Forum Replies Created
list of topics you have created till now.
-
-
I just wanted to update you on this issue for others who may have it. After days of endless searching I solved it myself. I googled part of the code that was appearing and found the changelog of the WooCommerce Payment Methods Integration for LearnPress. I saw that there was a fix for this issue and realized I had an old version of the plugin. Once I updated the plugin the issue was resolved.
LearnPress told me that creating a custom enroll now button other than what comes with it is not a feature and that I’d have to pay for extra services to get that created.
I think it may actually be a WooCommerce issue. Since the code that shows is AJAX and I have the ” Enable AJAX add to cart buttons on archives” button checked on settings in WooCommerce I’m thinking that the issue could be there. I will try to find a fix and submit a ticket to WooCommerce also. Thanks!
No I did not customize and plug in pages. All I did was create a landing page and then create an enroll now button on the landing page. That’s it. It’s very simple. It’s very weird to only be able to use the “buy course” button on the learnpress page. That’s very limiting. I’m not a coder but I’ll just have to figure it out since nobody can help. Thanks
Their reply was this:
“Since you customized it and resulted in an error, you can check the code you fixed”
Then they said this:
“I’m not sure what you want but you can look at these 2 files
plugins\learnpress\inc\shortcodes\class-lp-shortcode-button-enroll.php
plugins\learnpress\templates\single-course\buttons\enroll.php”I just asked them if they can tell me how to create an enroll now button that works with Learnpress to add the course to cart and redirect to the checkout page. Now waiting on that reply.
Yes I have already done a ticket there and I’m still going back and forth with them but they don’t seem to want to help.
I think the problem is that the Learnpress pages have code on them that my custom page does not. Is there any way for me to find the code that goes on the course page that learnpress created where you can buy the course and put that same code on my custom page? I see there are files in the plugin folder but I don’t know where to place the code. If I found that code with the php functions would I place that in the “additional code” box?
Alternatively is there anyway to simply hide the code that appears at the bottom of the page. It functions fine it’s just showing the code unnecessarily. Is there code that would hide that?
They have not been helpful so far and are just asking me to check the code since I customized it. Is there anyway to see the exact code on the enroll now button that comes with Learnpress? I can’t find a way to edit that page directly. If I can use the same code that they use on that button then maybe that will solve the problem.
I just put in a ticket and I’ll keep you posted.
Hi! Has the developer found a solution to this?
I figured out the email. It’s just the button issue now. Thanks!
Also, it only does it with the button that I created. The original “Buy This Course” button that came with the theme does not return that message at the bottom. It may have to do with the fact that it is a single item cart item with restrictions on not being able to add more than one to the cart. Is there extra code language that the link needs to have?
The message is still there. Note that it only shows up when you are not logged in as a user and only on the very first time you click the “Enroll Now” button. If you refresh the page from there or go to the cart it disappears. If you empty the cart and go back to the “Enroll Now” button that error reappears at the very bottom of the checkout page.
Regarding WooCommerce emails I don’t see an option to edit the content of the emails. I want to edit the content of the “New Account” email. It sends a link for customers to login to “my account” but I want that link to go to the LP Profile so that they can access the course. I just want to change that link or either change where that link goes.
Thank you!!!
I would like to hide the enrolled students count as well. Where did you add the css code?
I got it to work. I had to change the permissions of the LearnPress folder to 755 in order for the export/import plugin to work. My hosting is Siteground for anyone else having an issue with that it could be the permissions. Thanks a bunch!!
The Learnpress Import/Export plugin does not work. It exports the file with zero bytes and does not successfully import. I’ve tried installing an older version of the plugin but it won’t let me activate it. Is there a way to restore the course without the plugin?
I lost the content of my course so I restored from the backup but it went back to the old theme. Can you tell me how to switch to the new demo myself? And how to keep the course content? So that we don’t have to keep going back and forth.
I just got back in via my hosting company. When I restore the backups of the files and databases will it remove the new demo you just imported?
Now I can’t log on to my wordpress site. It says my email address and username don’t exist. I can’t get into it.
I tried deleting all the pages, posts and menus but it still does not work. Please help!
Thanks!
Also, is there a template page for “under construction”? A way to keep the site private while working on it until ready to launch?
Yes, see below. Also, the courses now seem to be working so it’s just the icons that are not showing up on the first page in the second section.