Problem:
1) I am thinking to re-elaborate the existing Classifieds Ad Package as user wallet since it already maintains a count of available credits. What is now "credits" in my case would be "dollars" (or any other currency). Would you say that this approach make sense?
2) Would you please suggest which php files in the Classifieds site relate to the Ad Package, so that I can start doing some code customizations?
3) I need to add a back-end function that based on some triggers (i.e. post expiration or user submitting a form), it either increases or reduces the amount of credits in one of the user's existing Ad Packages.
Solution:
1. Yes that would be good to go.
2. The best approach is to quickly create a Test reference site on http://discover-wp.com/site-types/classifieds-layouts/ and explore the page’s backend of how we have set things up OR you can import reference site for testing.
3. For this you would need to create custom function or shortcode or something that will modify credits. You will most likely be using CRED API and Views API to achieve this.
Relevant Documentation:
https://toolset.com/documentation/programmer-reference/
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 12:00 – 17:00 | 12:00 – 17:00 | 12:00 – 17:00 | 12:00 – 17:00 | 12:00 – 17:00 | - |
- | 18:00 – 21:00 | 18:00 – 21:00 | 18:00 – 21:00 | 18:00 – 21:00 | 18:00 – 21:00 | - |
Supporter timezone: Asia/Karachi (GMT+05:00)
This topic contains 7 replies, has 2 voices.
Last updated by Noriko Sugiura 6 years, 8 months ago.
Assisted by: Noman.