Home › Forums › Legacy Support › Support queries › Setup issues › where the student consults a pending course
Tagged: alex, buy course, Help
- This topic has 11 replies, 2 voices, and was last updated 6 years ago by DkCorp.
Viewing 12 posts - 1 through 12 (of 12 total)
-
AuthorPosts
-
December 6, 2018 at 4:35 pm #187778DkCorpParticipantI'm doing tests I just bought a course on my site, my site will only receive banking transactions .. now when I make the purchase as a student .. the administrator can see the order and can approve it .. https://prnt.sc/lrl9dc But how can the student see that the course is pending or is already completed? In the details of the purchased course you can still see the buy button. I think that should not come out if I already buy it .. https://prnt.sc/lrlba1 For bank transfers, we should not have a contact form, so that the user confirms that they have already made the bank transfer, with some code of the transfer that they enter manually, in order to confirm the transaction.December 7, 2018 at 1:30 pm #187927Anshuman SahuKeymasterWell there is no provision available for that in wplms because in wplms course can be purchased from various methods , woocommerce product , or membership or mycred points . Therefore showing the pending status might affect a user who use to buy it using a memberhsip of some other method . In wplms if user again purchased the course the course duration is added to his existing duration for that course . But we can do this with the help of little custom code . We can check the order for that course and can show the pending status there . Provide me some time , I will share the code to do that .December 7, 2018 at 1:48 pm #187936DkCorpParticipantthis is great, I think it will finally close the transaction circle thank you very much for your help and I will be waiting with anciasDecember 8, 2018 at 7:04 am #188000Anshuman SahuKeymasterplease try adding this given code in your wplms-customizer.php file in wplms customizer plugin : https://gist.github.com/alexvibealex/8a8c8e3467327ab17b40691f938502c5December 8, 2018 at 3:17 pm #188060DkCorpParticipantAfter investigating about customizer.php and the wplms-customizer.php https://prnt.sc/lsddh8 already add the mentioned code this is great.. https://prnt.sc/lsdlyb I will be proving that there is no fault with this modification will I have a problem? for his words: "in wplms course can be purchased from various methods, woocommerce product, or membership or mycred points." it occurs to me to add a link to satisfy the other point in this topic, "that the client send a message or form saying that I already made the transfer" Or what happens to you ..December 10, 2018 at 3:11 am #188157DkCorpParticipantalex any answer for the above? additionally create this new thread because it is different from the initial ones in this thread Can you give me a hand here, too? https://wplms.io/support/forums/topic/improvement-in-commission-management/December 10, 2018 at 1:47 pm #188311Anshuman SahuKeymasterDecember 10, 2018 at 2:01 pm #188316DkCorpParticipantOk bro .. I'll take it into account in the future if I add something like that .. but about the confirmation of the transaction ("that the client sends a message or form saying that I already made the transfer") does something happen to you?December 11, 2018 at 8:51 am #188437Anshuman SahuKeymasterIm sorry I am not able to understand what exactly you want to say ? Can you please share more details ?December 11, 2018 at 10:53 pm #188514DkCorpParticipantok I'm sorry if I do not make myself understand .. Go, but if I was getting entangled alone, I just needed to add the link in tag that I believe in the previous code .. can see what I was trying to explain in these pictures the button has a link https://prnt.sc/ltr2lg that brought him to this page https://prnt.sc/ltr30n Here the user can send an email to the administrator saying the data of the bank transfer. the administrator can confirm with the bank the transfer indicated in the mail and complete the sale: D but I noticed something .. '.str_replace (' wc- ',' ', $ status).' (ON HOLD) in the code you sent me https://gist.github.com/alexvibealex/8a8c8e3467327ab17b40691f938502c5 It is not being translated according to the woocomerce states, which are currently translated. https://prnt.sc/ltrcky https://prnt.sc/ltrdk6 Is it possible that it is getting its value before the translation? How can I translate these states? if I could not get the translated word it is possible to do something like if varaible.text = "ON HOLD" return "EN ESPERA" // translation else if varaible.text = "IN PROCESS" return "EN PROCESO" // translation end if end if (this is illustrative, I would need you to help me with the code) I am aware that this would be Hard-codeDecember 12, 2018 at 9:11 am #188584Anshuman SahuKeymasterOk added link and status also fixed . NOte that in code please change the link "http://your-site.com/your-custom-page/ " to your custom page . Remove previous one and Try adding this code : https://gist.github.com/alexvibealex/9925b35cb09b7f00f0056329b075d1acDecember 12, 2018 at 11:06 pm #188689DkCorpParticipanthello alex, I hope you are well mention you kindly, that there is an error in your code
$ html = '<a href="https://semditec.com/notificar-transferencia-bancaria/" class="button full course_button">' .str_replace ('wc-', '', $ status). '< /a>'
href is inside the class = "", leaving this aside still does not show me Translated Text. for the moment I have it like that https://prnt.sc/lu8bu0 https://gist.github.com/DkCorpBo/adc580208a3859c6aff0294fbc077dc9 I can survive with this for now, of course if you have any idea for the translation I will listen to it. before closing this topic you can help me here please .. Maybe it's not a big modification and we can do it like here. https://wplms.io/support/forums/topic/improvement-in-commission-management/ NOTE: I think I post on a dead part of the forum. -
AuthorPosts
Viewing 12 posts - 1 through 12 (of 12 total)
- The topic ‘where the student consults a pending course’ is closed to new replies.