thesinglegourmet
Forum Replies Created
-
Forum: Plugins
In reply to: [Wallet for WooCommerce] change “payment method” text in refund emailHi, thanks for the response.
Yes, a while after I posted this, I realized that is what I should do.
I know how to modify the refund email (by modifying customer-refunded-order.php), however, I cannot find any documentation on how to determine the refund method.
If $refund_method is the correct variable, and ‘TeraWallet’ is the the correct value, I am guessing the code I would add to the email would look something like this:
<?php if ( $refund_method == 'TeraWallet' ) { echo "Your refund has been credited to your online virtual wallet."; } ?>
Can you tell me the actual name of the variable and value to use in that if statement?
Or perhaps there is another if statement I can use to determine if TeraWallet was the refund method that was used?
Thanks.
- This reply was modified 2 years, 8 months ago by thesinglegourmet.
Thanks for the quick response.
I know how to modify the refund email (by modifying customer-refunded-order.php), however, I cannot find any documentation as to how to determine the refund method.
I use a plugin called TeraWallet that I can make refunds to, so this is the code I assume I would add to the email:
<?php if ( $refund_method == 'TeraWallet' ) { <echo "Your refund has been credited to your virtual wallet at The Single Gourmet." ); } ?>
Assuming that $refund_method is the correct variable, and that ‘TeraWallet’ is the the correct value that WooCommerce would find and match in $refund_method.
Can you tell me the name of the variable in which the refund method is stored, and how to find the possible values? Thanks.
Forum: Plugins
In reply to: [Wallet for WooCommerce] remove space characters in transaction emailsHi, I did a little research and figured it out:
<p> <?php echo "Hi"; ?> <?php echo $user->first_name, ","; ?>
Does the job just fine.
Forum: Plugins
In reply to: [The Events Calendar] center text in Gutenberg block “venue”Never mind, I figured it out. For those interested:
/* centers title of event */ .single-tribe_events .tribe-events-single-event-title { text-align: center; } /* centers name and address of event */ .single-tribe_events .tribe-block { text-align: center; } /* centers date and time of event */ .single-tribe_events .tribe-events-schedule__datetime { text-align: center; }
However… I would also like to remove the white space below the venue block and the date block. I tried
padding-bottom: 0px;
but it had no effect.Hi, it’s been a while since the last time I responded. I am hoping for an answer to this, it seems not very difficult. Just looking for a snippet of code that will output on an event page the number of “Complete” tickets.
To answer the specific question asked by Sky, I am referring to the order status, as illustrated in the link in my previous response.
Thanks!
The number circled in green in this screen shot: https://thesinglegourmet.net/wp-content/uploads/2020/08/screenshot-2020-08-19.png
Hi Rafsun,
Thanks again for responding. However, you still have not provided the answer I am looking for.
For the third time: How do I display THE NUMBER OF COMPLETE TICKETS?
NOT the number of sold tickets.
NOT the number of attendees.Thanks.
Hi Rafsun, thank you for responding. However, you did not address the issue.
If I alter the template for the attendee list to show only the number of attendees by using that block, it will still show the wrong number of attendees.
How can I display the number of complete tickets? (Note: not the number of sold tickets).
Thanks.
- This reply was modified 4 years, 8 months ago by thesinglegourmet.
Hi ?ukasz, thank you for working on this!
I have installed the most recent version available (v 0.2.2), but I still don’t see the ability to add custom CSS to a post of the type tribe_events. This screenshot shows that on my site, when I am editing an event, in the screen options, there is no check box to display (or hide) “Custom CSS” (and therefore no option to edit that custom CSS), as there is on normal pages or posts when your plugin is installed: https://www.dropbox.com/s/p3n4yl537bpfo0t/Screenshot%202020-07-15%2014.58.25.png?dl=0
compare to this screenshot of editing a page: https://www.dropbox.com/s/3s1cz70cvb2nmi6/Screenshot%202020-07-15%2015.07.40.png?dl=0
On my website (it is a test/staging site), I have very minimal plugins active: WP Force SSL, The Events Calendar, Event Tickets (a companion to and made by same developer as The Events Calendar) and WooCommerce. Also the three required plugins for my theme, Jupiter by ArtBees (WPBakery Page Builder, Jupiter Core, and Jupiter Donut).
Both github and wordpress say that v 0.2.2 is the most recent version, updated 2 months ago. Do I have the latest version? If not, can you provide a link where to find the latest version? Also, the changelog does not mention adding the feature I requested.
Thanks!
Hi ?ukasz, thanks for the quick response! Congratulations on getting married, and I’ll look back here once a week or so.
I just realized the title of the post is a bit inaccurate; it should be “display number of attendees on single event page”
Thanks in advance to anyone who can help!
Forum: Plugins
In reply to: [WooCommerce] /shop/ in permalinks settings causes pages not to be foundRESOLVED
Plugin culprit: Custom Post Type Permalinks
Didn’t remember that I had installed that after the clone.
I would delete this thread, but that doesn’t seem to be an option.
Forum: Plugins
In reply to: [Event Tickets and Registration] Remove public attendee check boxIf you are using Event Tickets Plus 4.11.3 or later, they made a minor change, and it took me a while to figure out, but this code should work:
/* hide attendance opt out checkbox on single event pages for Event Tickets Plus 4.11.3 and later */ #tribe-tickets .tribe-tickets-attendees-list-optout--wrapper { display: none; }
- This reply was modified 5 years ago by thesinglegourmet.
- This reply was modified 5 years ago by thesinglegourmet.
Thanks for the quick response. The idea was submitted about 5 years ago, and has 118 votes, including mine (https://tribe.uservoice.com/forums/195723-feature-ideas/suggestions/6947322-use-google-maps-to-autocomplete-venue-address-boxe). I guess that’s not enough votes yet though.
Might anyone reading this thread know of a stand-alone WordPress plugin that could do this? I’m not a coder, but it doesn’t seem that it would be that difficult.
I would find such a feature/plugin very valuable because I create about 60 events per year mostly at unique venues, and this would both save time and cut down on wrong addresses.
- This reply was modified 5 years, 1 month ago by thesinglegourmet.
Forum: Fixing WordPress
In reply to: Unable to upload imagesHi everyone, I just solved my version of this problem.
This may not be your problem, but I found that when I upload files that have an apostrophe in the name (for example john’s_house.jpg) WordPress will give the 2500px error.
When it first happened with a batch upload to 2 files out of 12, I knew the dimensions couldn’t be the reason because some of the other images were the same size or larger. After thinking about it, I noticed that the 2 that gave the error both had an apostrophe in the file name.
I removed the apostrophes from the file names, and then they uploaded without a problem.
This may also apply to other special characters in the file names.
I hope this helps someone.