where the student consults a pending course

Home Forums Legacy Support Support queries Setup issues where the student consults a pending course

Tagged: , ,

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #187778
    DkCorp
    Participant
    I'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.
    #187927
    Anshuman Sahu
    Keymaster
    Well 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 .      
    #187936
    DkCorp
    Participant
    this is great, I think it will finally close the transaction circle thank you very much for your help and I will be waiting with ancias
    #188000
    Anshuman Sahu
    Keymaster
      please try adding this given code in your wplms-customizer.php file in wplms customizer plugin : https://gist.github.com/alexvibealex/8a8c8e3467327ab17b40691f938502c5
    #188060
    DkCorp
    Participant
    After 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 ..
    #188157
    DkCorp
    Participant
    alex 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/
    #188311
    Anshuman Sahu
    Keymaster
    Well the above code I provided will work for the woocommerce products only . If you are using mycred , or pmpro it will not work .
    #188316
    DkCorp
    Participant
    Ok 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?
    #188437
    Anshuman Sahu
    Keymaster
    Im sorry I am not able to understand what exactly you want to say  ? Can you please share more details ?
    #188514
    DkCorp
    Participant
    ok 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-code
    #188584
    Anshuman Sahu
    Keymaster
    Ok 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/9925b35cb09b7f00f0056329b075d1ac
    #188689
    DkCorp
    Participant
    hello 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.
Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘where the student consults a pending course’ is closed to new replies.