Home › Forums › Ticket Products › Community Tickets › Paypal email
- This topic has 12 replies, 3 voices, and was last updated 9 years, 6 months ago by
Hunter.
-
AuthorPosts
-
September 18, 2016 at 6:12 am #1165619
Math
ParticipantHi
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.
September 19, 2016 at 1:49 pm #1166071Hunter
ModeratorWelcome 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 🙂
September 19, 2016 at 10:39 pm #1166242Math
ParticipantHi 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’ );
?>September 20, 2016 at 10:06 am #1166537Hunter
ModeratorHello,
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 🙂
September 21, 2016 at 5:34 am #1166859Math
ParticipantHi
Nothing is happening. i deleted lines 34-39.
Am I missing something?
September 21, 2016 at 12:21 pm #1167067Hunter
ModeratorHello 🙂
Try deleting lines 32-155. Let me know if it works!
Cheers!September 24, 2016 at 9:49 am #1168362Math
ParticipantHi 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)
September 26, 2016 at 11:41 am #1168845Hunter
ModeratorHello,
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!
September 28, 2016 at 7:05 am #1169769Math
ParticipantHi 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?
September 28, 2016 at 12:22 pm #1169986Hunter
ModeratorHello,
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 🙂
September 29, 2016 at 10:47 am #1170595Math
ParticipantHi Hunter,
No worries. it worked perfectly and cleaner. Much appreciated.
September 29, 2016 at 2:48 pm #1170728Hunter
ModeratorGlad to hear it’s resolved and please feel free to create a new thread if you have any more questions or concerns. Cheers!
-
AuthorPosts
- The topic ‘Paypal email’ is closed to new replies.
