
Buythis.co.za is an online store that specializes in machinery sales.
Visit the plugin website for online documentation.
This plugin provides a shortcode to interface between WordPress and Buythis.co.za.
This plugin relies on Buythis.co.za as a third party service, in order for the plugin to work.
The reason for using the third party service, is to access JSON product data from the Buythis.co.za store.
No personal data is collected during the process.
As can be seen in the plugin’s source code, this plugin only uses information that is directly and knowingly provided by the user themselves, i.e. the sku, variant, value, search, format and affiliate shortcode parameters.
No other data of any kind, whatsoever, is used by this plugin, other than the parameters provided by the user to the plugin shortcode.
The only data currently submitted to the third party service via HTTP is the sku parameter, or the search and format parameters, depending on which of those parameters are explicitly provided to the shortcode.
Links to the third party service:
https://buythis.co.za
https://data.buythis.co.za
Data definition
AWS S3 is used to serve cached data when one of the above primary third party service data sources are not available.
Data received by the plugin via HTTP, is cached in the site’s local WordPress database, and deleted again when the plugin is uninstalled.
Third party services’ terms of use and privacy policies:
https://buythis.co.za/terms
https://buythis.co.za/privacy
To use the Buythis Shortcode plugin:
[buythis sku="sku" variant="variant" value="path" affiliate="affiliate_id"]
or
[buythis sku="sku" variant="variant" value="path" affiliate="affiliate_id"][/buythis]
The provided affiliate_id is used to generate revenue for a given affiliate, by using this plugin’s [buythis] shortcode on their WordPress site.
A site-wide default Affiliate ID can be configured on the Buythis Shortcode settings page, that will be used as a fallback value for the affiliate parameter, should one not be provided. This makes it easy to change the affiliate ID for a site, and prevents the need to duplicate and maintain the affiliate parameter in each usage of the shortcode.
Depending on the path specified in the value parameter, one or more API calls will be made to the following endpoints (sources), where [sku] is the provided sku parameter:
Source
Endpoint URL
Example value parameterdata
https://data.buythis.co.za/product/[sku].json
data.name.fulldisplay
https://data.buythis.co.za/product/[sku]/display.json
display.contentprice
https://data.buythis.co.za/product/[sku]/price.json
price.2024-01-01.saleother
Dynamic fixed data
other.affiliate
The API response from a source is JSON-decoded, and the path specified by the value parameter is extracted from the JSON response.
Thus, to extract custom JSON data from a source’s API response, use a custom path in the value parameter to specify (describe) the source API and the JSON data to extract from it, as shown in each example value parameter above.
[buythis search="RDWorks_Upgrade" format="cart"] [buythis search="sku1, sku2, sku3" format="list"] [buythis search="sku1|sku2.variant sku3" format="table1"]
An HTML-formatted table of products will be generated, as per the specified format parameter, and any product whose SKU matches either RDWorks_Upgrade, sku1, sku2, sku2.variant, or sku3, will be displayed in the generated table.
Generated listing table format definitions:
Table format
Generated table column headerscart
Select, Image, SKU (and Name), Price, Quantitylist
Image, Description, Price (incl), Buytable1
Image, SKU, Description, Price (VAT Incl.), Buy
To render [buythis sku="sku" variant="variant" value="price" search="search" format="format" affiliate="affiliate_id"][/buythis] dynamically using jQuery:
> jQuery.post(
> ‘/wp-admin/admin-ajax.php’,
> {
> action: ‘buythis_shortcode_ajax’,
> _ajax_nonce: ”,
> sku: ‘sku’,
> variant: ‘variant’,
> value: ‘price’,
> search: ‘search’,
> format: ‘format’,
> affiliate: ‘affiliate_id’
> },
> data => data && jQuery( ‘#buythis_plugin_content’ ).html( data )
> );
>
The following shortcut value options are available:
| Shortcut | Substituted path (value parameter) |
|—————–|———————————————————————————————————-|
| buy | <a href="https://buythis.co.za/(display.slug)#(other.affiliate),cart,1,(other.variant) |
| content | display.content |
| link | https://buythis.co.za/(display.slug)#(other.affiliate) |
| link_name | <a href="https://buythis.co.za/(display.slug)#(other.affiliate)">(data.name.full|data.name.simple)</a> |
| name | data.name.full|data.name.simple |
| price | R (data.price.sale|data.price.regular) |
| regular_price | R (data.price.regular|data.price.sale) |
| sale_price | R (data.price.sale|data.price.regular) |Syntax
In order of precedence:
Starting from $0 per month.
Rating
Reviewers
1 reviews
Tags
Developed By
Fulfillment.Global
Quick & Easy
Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!
Testimonial plugins for Wordpress
Contact Form plugins for Wordpress
Maps plugins for Wordpress
Translation plugins for Wordpress
Chat plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Contact plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Forms plugins for Wordpress
Comments plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Comments plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Portfolio plugins for Wordpress
Video Player plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Inventory plugins for Wordpress
Testimonials plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Analytics plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Security plugins for Wordpress
Ads plugins for Wordpress
Music Player plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Membership plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Video Player plugins for Wordpress
Tabs plugins for Wordpress
Social Feeds plugins for Wordpress
Common Ninja Apps
Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.
Add a countdown bar to your site to create urgency, highlight limited time offers, and drive faster engagement and higher conversions.
Add an FAQ section to your site to answer common questions, reduce support requests, and give visitors a smoother and more confident user experience.

Add a Google powered search bar that delivers relevant results, improves navigation, and helps visitors find content fast.
Create job listings with a jobs board widget that lets you post openings, manage roles easily, and help candidates find the right positions quickly.
Add comparison tables to your site to help visitors evaluate features side by side, understand differences quickly, and choose the right option with confidence.
Show TikTok videos with a TikTok slider that displays clips in an engaging, customizable slideshow to boost visibility and keep visitors watching.
Display multiple image carousels together in one organized grid layout.
Create interactive diagrams with a diagrams widget that lets you build and customize flow charts, improve clarity, and help visitors understand complex ideas easily.
Showcase visuals with an image slider that displays multiple images in a smooth slideshow, improves design, and keeps visitors engaged.
Add interactive image hotspots to your site to turn static visuals into clickable guided experiences that improve engagement.
Create custom forms with a form builder that offers advanced field types, easy layout control, and flexible options for any purpose.
Showcase images with an image carousel that rotates or slides visuals, improves design, and draws attention to key content.
More plugins
The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!
