You can see the demo site by clicking here. We already have a demo site running with this integration and we have an Airtable database for this. Ok enough flirting, let’s see what this Airtable WordPress integration looks like! Example and demo of the Airtable coupon database Share that information in a legible format with your JV partner so he can verify it…?ĭoing it manually would take ages and wouldn’t be scalable, so that’s no good.īut with Airtable, WordPress and a little programming magic, we can streamline and automate this process almost entirely.Īirtable also provides a clean and attractive user interface for both parties, resulting in a big win.Track who bought and redeemed which codes….Randomly generate 2000 unique coupon codes….Now, how do you ensure that each coupon code is used only once? You’re going to sell these coupon codes to your members and pay part of the fee to your JV partner. Let’s say you’ve made a deal with a JV partner who is going to give you 2000 coupon codes for his cool, new app. Let me explain what this scenario actually looks like with an example: We came up with a custom solution that works similarly to AppSumo by integrating Airtable with WordPress.īecause this particular customer’s deals based membership site is built on WordPress, so that’s where his members will be claiming and redeeming their coupon codes. You see, when you buy an AppSumo deal you get a code-or, several codes if you bought multiple licenses-that you redeem in order to get access to the software you purchased. The approach our customer asked us to model is from the popular deals site, AppSumo. Modeling AppSumo’s coupon redemption approach Adding the functionality to your website Edit exported WordPress posts and re-import them with WP All Import, easily migrate WooCommerce products from one site to another, and send your WordPress CSV.How does the Airtable coupon system work?.Example and demo of the Airtable coupon database.Modeling AppSumo’s coupon redemption approach.No thanks to irresponsible plugins and themes that call flush_rewrite_rules even when is_admin() = false. Resolved issue that caused 404s on VirtualPosts.This can help identify issues with missing fields Remember, you can set a default value when using the apr shortcode. If you need the whitespace to be respected, do. $query = new AirpressQuery("Locations", "default") For example, if you want to find all upcoming Events for a particular Location: // default is the name of the Airtable Connection configuration You may also specify a complete query with which to retrieve the linked records. $events->populateRelatedField("Location|Owner", "Contacts") Įcho $events." owned by" Įcho $events."" You can even populate linked fields of linked fields! $events->populateRelatedField($linked_field, $linked_table) When a related/linked field is “populated”, the linked records actually replace the corresponding RECORD_ID().Ĭonsider a base with two related tables: Events and Locations, if you populate the “Events” field of the Locations collection, it goes from being an array of RECORD_ID()s to an AirpressCollection with AirpressRecords. Related records may easily be retrieved both in PHP code and via shortcodes. $events = new AirpressCollection($query) īoth manual and automatic requests can be configured and used entirely within the WordPress admin dashboard or entirely via PHP code. Or you can use the shortcode wherever shortcodes are allowed: : Īirpress can be used to manually request records from Airtable by specifying the desired table, view, filter, sort, etc. Records that are automatically requested are stored in the variable $post->AirpressCollection AirpressCollection Įcho $e.": ".$e.""
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |