Coder Social home page Coder Social logo

koen12344 / affiliate-product-highlights Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 490 KB

A beautiful way to display products from affiliate network product feeds on your website. Currently supports TradeTracker and AdTraction.

Home Page: https://koenreus.com

JavaScript 8.58% PHP 78.63% Shell 9.61% CSS 3.19%
affiliate affiliate-marketing affiliate-tools affiliates wordpress wordpress-plugin wordpress-plugins

affiliate-product-highlights's Introduction

Affiliate Product Highlights

Contributors: koen12344
Donate link: https://koenreus.com
Tags: tradetracker, adtraction, affiliate, feed, products
Requires at least: 5.1
Tested up to: 6.6.1
Requires PHP: 7.0
Stable tag: 0.1.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A beautiful way to display products from affiliate network product feeds on your website. Currently supports TradeTracker and AdTraction.

Description

With the Affiliate Product Highlights plugin for WordPress you can create beautiful in-content sections showing relevant products from product feeds of various affiliate networks.

Networks currently supported:

  • AdTraction
  • TradeTracker

Features:

  • Automatic product feed import: Product feeds are updated daily for up-to-date pricing and product availability
  • Cloaked links: Affiliate links are redirected through your own website URL
  • Fast & efficient: Product data is stored locally, product images are sideloaded and optimized
  • Flexible shortcode: Show random products, specific products, search by (partial) product name

See the plugin in action here.

Twitter URL

Installation

  1. Download the latest version
  2. Upload the plugin through 'Plugins' > 'Add New' > 'Upload plugin' in your WordPress Dashboard
  3. Add one or more affiliate product feeds through 'Affiliate Product Highlights' > 'Feeds'
  4. Place the [product-highlights] shortcode wherever you want to display your affiliate products using attributes below

Supported shortcode attributes

  • selection: An ID of a selection of products generated through 'Affiliate Product Highlights' > 'Selections'
  • limit: The amount of products that should be displayed (default: 6)
  • product_ids: Display specific product IDs. Separated by a comma, e.g. 123,323,312 (currently no easy way to get these IDs apart from going into PHPMyAdmin)
  • search: Show only products containing this word or sentence in their title (may be inefficient with a lot of products in the database)
  • random: Randomize the results

Examples

  • [product-highlights selection=107]: Show products from the selection with ID 107
  • [product-highlights selection=107 limit=1 random=1]: Show a single random product from the selection with ID 107
  • [product-highlights product_ids="2304,2306,2307,665"]: Show products with specific IDs

Styling

The plugin comes with minimal styling that can be easily adjusted with some custom CSS.

  • phft-products-multiple (div): Wrapper class around all products (if the limit parameter is higher than 1)
  • phft-product (div): Product wrapper class
  • phft-product-image (div): Product image wrapper (contains a > img)
  • phft-product-description (div)
  • phft-product-price (div)
  • phft-button-link (a): The call-to-action button

Colors can be adjusted by overriding the default CSS variables:

  • --phft-button-text-color: Button text color (default: #fff)
  • --phft-button-background-color: Button background color (default: #611431)
  • --phft-button-hover-color: Button hover color (default: #363636)
  • --phft-product-border-color: Color for the border around the individual products

Frequently Asked Questions

Screenshots

1. Plugin in action on the frontend

Plugin in action on the frontend

2. Making a selection of specific products

Making a selection of specific products

Changelog

0.1.1

  • Added: Product ID and Feed in selection section
  • Added: AdTraction sale price
  • Fix: product_ids parameter
  • Fix: selection logic
  • Fix: AdTraction prices above 999

0.1.0

  • Initial public alpha release

Upgrade Notice

affiliate-product-highlights's People

Contributors

koen12344 avatar

Watchers

 avatar

affiliate-product-highlights's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.