Events Made Easy › Forums › How do I … › Ideas please – Phased payments / Asking for payment of deposits?
Tagged: Calculating prices deposits, Currency
- This topic has 6 replies, 3 voices, and was last updated 12 years, 7 months ago by Franky.
-
AuthorPosts
-
Fri 30 Mar 2012 at 17:07 #43774AnonymousInactive
We ask for people to pay 50% of the cost at the time of booking providing that this is more than 28 days in advance. The remainder becomes payable 28 days before the event.
However, when booking <28 days before an event the full amount is payable.
So I would like the registration email to state what needs to be paid and when based on the value of [events_countdown id=#_EVENTID] . All our events have different prices so the total price shortcode will be useful but how can I do simple maths on this Eg divide by 2?
Fri 30 Mar 2012 at 23:41 #49597FrankyKeymasterThat’s more of a feature request 🙂 Not possible for now (unless you use custom attributes)
Mon 2 Apr 2012 at 15:28 #49598AnonymousInactiveFranky,
I have decided to try a custom attribute solution first but I mut be doing something stupid. Where am I going wrong please?
In Settings page I defined a custom attribute in the default event list format as follows:
- #j #M #Y – #H:#i
#_LINKEDNAME (#_LOCATION)#_ATT{deposit}{amount of deposit}
When editing events I now see the custom attribute “deposit” So I set this to “90”
In the details for the event I inserted the following:
Note that you will be asked to pay £ #_ATT{deposit} to secure your place
However when I view the event it displays no substitution happens and I get:
Note that you will be asked to pay £ #_ATT{deposit} to secure your place
James
Mon 2 Apr 2012 at 17:44 #49599AnonymousInactiveYou’re not entering the shortcode in the Event Details composing window, are you? I don’t think it works that way. You would call it in either one of the fields on the Settings page (as you’ve done) or on a WordPress page for your event.
I think you’ll want to conditionally insert your text in the same “Default single event format” setting field that I assume you’re already using.
Here’s how I did mine – I just wanted an optional “priceinfo” field for optionally saying things like “children under 5 are free”:
`
[events_if tag='#_IS_RSVP_ENABLED' value='1']<b>Scroll down for detail, or book yourself</b>#_PRICE each #_ATT{priceinfo}#_ADDBOOKINGFORM<div class=”sep”> </div> [/events_if]
I’m fine with it being blank when no “priceinfo” is entered — my static text just reads “each”.
I think you would want to conditionally test for the presence of your {deposit} field and include your text accordingly.
Mon 2 Apr 2012 at 17:50 #49600FrankyKeymasterbeventsmadeeasy is correct here: it doesn’t work if you’re not entering the shortcode in the Event Details composing window.
Mon 2 Apr 2012 at 23:20 #49601AnonymousInactivebeventsmadeeasy and Franky,
Makes sense now and I now have a basic version working. Thank you both for that.
Two related questions:
1. I thought i had seen mention of a placeholder or code #_currency but cant seem to get that to render along side the custom attribute.
2. Is there a code for displaying the total number of spaces for sale? (ie sum of spaces available + Spaces reserved)
James
Tue 3 Apr 2012 at 07:35 #49602FrankyKeymasterSee the doc: http://www.e-dynamics.be/wordpress/?cat=25
- #j #M #Y – #H:#i
-
AuthorPosts
- The forum ‘How do I …’ is closed to new topics and replies.