Participant Data checked but user not being forced to enter details at checkout

Home Forums MyTicket – Ticket/Event Management System WordPress Theme Participant Data checked but user not being forced to enter details at checkout

This topic contains 9 replies, has 3 voices, and was last updated by  Alinka Radionova 1 month ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #4341

    Mark Ainsworth
    Participant

    Hi There,

    I have selected the Participant Data checkbox but it doesn’t force the user to enter anything in the ticket boxes

    #4348

    Alinka Radionova
    Moderator

    Can you please clarify what do you mean by saying ticket boxes. Ticket holder information is collected upon checkout process. See attachment.

    #4366

    Alinka Radionova
    Moderator

    Still waiting fro clarifications.

    #4489

    Mark Ainsworth
    Participant

    Sorry, this one fell to the back of my list, please see image, it shows me selecting the checkbox forcing the user to enter their details at checkout but it doesn’t force user to enter details?

    The problem ends up with the user not getting the ticket email because they didn’t enter their email address.

    #4490

    Mark Ainsworth
    Participant

    Forgot to add image, please see attached

    #4491

    Mark Ainsworth
    Participant

    It was too big, 3rd time lucky. Note the 3 images are separate stages of this, so first is setting, 2nd and 3rd are checkout and successful purchase.

    #4507

    Alinka Radionova
    Moderator

    Yes thats why its written, update cart before checkout though we agree that it might be not enough.

    Unfortunately the limitation comes from WooCommerce. At certain points we can not modify the structure of their plugin in way that it suits our needs.

    We will try to find a workaround to prevent users submitting empty emails but this may take some time.

    #4519

    Mark Ainsworth
    Participant

    Can you access the WooCommerce cart page and place jQuery script? I don’t really works with WooCommerce that often so I wouldn’t know

    In console the following worked effectivly:

    var progressToCart = true;
    jQuery(‘.cart_pers’).each(function(index){
    if(jQuery(this).val() === “”){
    progressToCart = false;
    }
    });
    if(progressToCart){
    jQuery(‘.wc-proceed-to-checkout’).children().attr(“href”,”/checkout/”);
    }else{
    jQuery(‘.wc-proceed-to-checkout’).children().removeAttr(“href”);
    jQuery(‘.wc-proceed-to-checkout’).children().click(function(index){
    var continueNow = true;
    jQuery(‘.cart_pers’).each(function(index){
    if(jQuery(this).val() === “”){
    jQuery(this).css(“border”,”5px solid red”);
    continueNow = false;
    } else {
    jQuery(this).css(“border”,””);
    }

    });
    if(continueNow){
    alert(“Please click Update Cart Button.”);
    }else{
    alert(“Ticket Holder Name & Email Must Not Be Empty”);
    }
    });
    }

    #4535

    Pavel Lukasenko
    Participant

    At this moment we can not put it by default is it is not needed in all scenarios and may block checkout when additional fields are not present. You can put using one of the following methods: https://www.wpbeginner.com/wp-tutorials/how-to-easily-add-javascript-in-wordpress-pages-or-posts/

    #4579

    Alinka Radionova
    Moderator

    Actually we have a significant improvement within the last two days related to email validation upon checkout. You can try new version here: https://www.dropbox.com/s/6garw183iuekhct/myticket-events.zip?dl=0

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.