Paypal email

Home Forums Ticket Products Community Tickets Paypal email

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1165619
    Math
    Participant

    Hi

    How do i delete the paypal options in the “My Events” page. This doesn’t work in my country so it’ll confuse my clients. I was told before i can’t edit or customise this so i’ll ather just delete it. Having it ther is not an option. Refer to screenshot.

    #1166071
    Hunter
    Moderator

    Welcome back 🙂

    You can create a custom template override as outlined in our Themer’s Guide to overwrite/remove the PayPal fields from appearing on the My Events page.

    The file you’ll need to overwrite is: /plugins/the-events-calendar-community-events-tickets/src/views/community-tickets/modules/payment-options.php

    Be sure to save as [your-theme]/tribe-events/community/payment-options.php to avoid losing changes when updating. Best of luck and thanks for reaching out. Enjoy the rest of your day! Cheers 🙂

    #1166242
    Math
    Participant

    Hi Hunter

    Thanks for getting back.

    Sorry I’m not a developer, do i just delete, <?php
    esc_html_e( ‘Please enter your PayPal email address; this is needed in order to take payment.’, ‘tribe-events-community-tickets’ );
    ?>

    #1166537
    Hunter
    Moderator

    Hello,

    Yea, that should work! Be sure and save as [your-theme]/tribe-events/community/payment-options.php so you maintain your customizations! Let me know how it goes 🙂

    #1166859
    Math
    Participant

    Hi

    Nothing is happening. i deleted lines 34-39.

    Am I missing something?

    #1167067
    Hunter
    Moderator

    Hello 🙂

    Try deleting lines 32-155. Let me know if it works!
    Cheers!

    #1168362
    Math
    Participant

    Hi Hunter,

    Still nothing is happening, i’ve deleted from line 32-155. refer to screenshots. I think i’ve followed the instructions to the T( i stand to be corrected)

    #1168845
    Hunter
    Moderator

    Hello,

    It’s a little hard to tell from the screenshots if your payment-options.php is saved correctly. Can you verbally verify it’s saved with the following structure? noo-ivent-child/tribe-events/community/payment-options.php

    If the structure is correct, can you temporarily delete lines 32-155 directly on the /plugins/the-events-calendar-community-events-tickets/src/views/community-tickets/modules/payment-options.php file and let me know if that works?

    Cheers!

    #1169769
    Math
    Participant

    Hi hunter

    I can confirm the structure is correct. I deleted the entire code directly from the plugin and everything was deleted in the front end. Now the Payment Option button still remains the main my events page. I’ll like to delete it from there as well so that it doesn’t confuse people. If i leave it there when clicked it leads to a blank page since i’ve deleted the actual data. refer to screenshots.

    Won’t completely deleting the paypal payment option affect other functions on the site?

    So how I permanently delete from my theme?

    #1169986
    Hunter
    Moderator

    Hello,

    My apologies for not thinking of using CSS sooner, but I’d try adding the following code to your theme options CSS panel or directly into your theme’s style.css file:

    .tribe-community-tickets-payment-options-link {
    margin-left: 28px;
    display: none !important;
    }

    Let me know how it works out for you and again, sorry it took longer than necessary to think of using CSS! Cheers 🙂

    #1170595
    Math
    Participant

    Hi Hunter,

    No worries. it worked perfectly and cleaner. Much appreciated.

    #1170728
    Hunter
    Moderator

    Glad to hear it’s resolved and please feel free to create a new thread if you have any more questions or concerns. Cheers!

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Paypal email’ is closed to new replies.