Forum Replies Created
-
AuthorPosts
-
John PaulParticipant
That’s fantastic my friend !!
I thought it would be possible with some code such as that in the functions.php file and I could see the function/ filter name and it should be set to ‘true’, but was not totally sure of the syntax.
I am working my way through various PHP courses and can now better find and read the code in php files, but haven’t quite got to the stage of fully understanding all the syntax needed.
Again, many thanks !!
John PaulParticipantHi, I am not sure that does help. as I understand it, the custom order fields are used to collect more information from the user e.g. choice of meal plans.
What we are talking about here is the date the event is set for. This is information the admin creates about each event by adding into your plugin the date and time of the event. This information is used by your plugin to sort and list the events in date order in the views. Therefore, it would make a lot of sense for this meta data to be added to the emailed ticket so the person who has bought the ticket has a full record of the event.
I notice in your plugin , there is a file called ”email.php” and in it there is code which filters wehter or not the event date should be included in the ticket email, which defaults to false. the code starts from line 291 where $event_date = null;
Therefore , if you have created this filter, it must be possible to turn it on. So , how to do this ?? 😉
John PaulParticipantThanks Courtney,
does this feature mean you do not need woocommerce if you only use PayPal?
if not and I do need woocommerce, what does it do that Woocommerce does not?
best
John PaulParticipantthank you anne marie , i am just glad to help, hope it works out for you.
best
John PaulParticipantHi, I purged the cache on the server once more and it seems to be ok now.
wierd. but thanks for your help
John PaulParticipantHi, I have got the issues resolved now and I have created a full tutorial on how I got the Photo View to Grid View and many other changes. Here is the link.
Please let me know how you got on and let me know if I can improve the tutorial to make it easier to understand.
Many thanks
John PaulParticipantJohn PaulParticipantHi, no that wasn’t the right function . This is what worked for me. in my ‘Photo’ child folder, which would be at,
child theme/tribe-events/pro/photo
I copied the plugins single-event.php from the plugins Photo folder into the child. I then constructed the following code
<span class="jp-tribe-events-cost"> </span> <h2 class="jp-tribe-events-from-list">
This nests in the section of the code.
I have added the whole file below so you can see the full picture. Bear in mind that this should also display the “Buy Now!” Button. If you want to get rid of that I used;
.tribe-events-list .tribe-button {
display: none !important;
}
.tribe-events-list .tribe-events-photo-event .tribe-button {
display: none !important;
}.tribe-events-event-cost .tribe-button {
display: none !important;
}which looks rather overkill, but I was getting some wierd cross-browser issues with just the first two lines of code. I daresay the last one is the right one to use., but am waiting confirmation from another support ticket.
Another thing to bear in mind , is that my single.php mentioned above is quite an old version and I intend to replace it with the new version later this week, but I doubt it has changed much (if at all).
THE WHOLE FILE SINGLE.PHP
<a class="url" href="” title=”” rel=”bookmark”>
distance ) ) : ?>
[distance ); ?>]<a class="url" href="” title=”” rel=”bookmark”>
John PaulParticipantHi Anne Marie… thank you for your nice comments. I had planned to write a tutorial on how I did it. I will hopefully have it completed next week. I will let you know when it is ready.
John PaulParticipantha! I noticed that I needed to also change ‘ticket’ as well as the plural ‘tickets’
sorry to bother you …
cheers
John PaulParticipantmany thanks Brendan
John PaulParticipantI posted October 27th and still no reply.
John PaulParticipantThe plugin is Gift Certificate Pro by Ignite Woo
https://www.dropbox.com/s/05n5ldfjxpl13tz/woocommerce-gift-certificates-3.5.36.zip?dl=0
Many thanks for your support !
John PaulParticipantHi, thanks for this advice. Here is an update and a plea for some help as to where to look next.
I have more information now that might help to narrow this down.
BACKGROUND
I am using a gift certificate plugin so users can buy them as presents for friends and family. They then redeem them against the cookery courses sold on the website. This is a very important part of the business model and needs to work. The plugin is from WooIgnite. They are currently trying to help me debug this, but themselves are struggling.THE PROBLEM
When a customer buys a course and uses the Gift Certificate plugin voucher code everything works perfectly EXCEPT on the occasion when the price nets to zero as a result of the application of the voucher. (I must stress that this will happen in the majority of cases). When the price nets to zero, the transaction goes through ok and I can complete the order and the customer receives their tickets. However, the stock of tickets does not reduce accordingly. However, the attendee(s) are added to the course.But here is the puzzling thing;
a) if I create a Coupon code directly myself in woocommerce/ Coupons / add coupons for the exact ticket price and use this during checkout, then all works fine.
b) if I set the course ticket price to zero/ free then all works ok.
c) If I create a Simple non event product (e.g. a basic t-shirt) and buy this using the Gift Certificate plugin voucher/ coupon code , with price netting to zero, then this works perfectly.There is clearly a conflict between the gift certificate plugin and the way that Events Ticket Pro handles the reduction of stock after checkout.
I have deactivated all other plugins and run on 2015 and I get the same problem. I have run on staging with no cache and still have the same problem.
HELP
I have spent hours and hours on this and the plugin developer is struggling to find the problem as his code is using the standard woocommerce actions and hooks and clearly works in all other usual situations.Can you please give this a lot of thought as it maybe a significant problem for others that has not being spotted yet and I need a steer as to where to look next. Also, it maybe that I need to write some code that specifically handles this situation. So what are the conditions and hooks that Events ticket pro uses to handle the transaction process and how could this be causing the problem I have.Many thanks in anticipation.
John
John PaulParticipantthis code worked fine
thank you!
-
AuthorPosts