這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

PG Simple Affiliate Shop

外掛說明

PG Simple Affiliate Shop creates a simple store on your site for managing both products with customised reviews and simple banner advertisements.

As an affiliate marketer you know that keeping your product pages up to date for customers and managing those long affiliate links can be time consuming. Make the process easier by letting the Simple Affiliate Shop handle the formatting and uploading for you.

Features

  • Attach testimonials, descriptions and images to the products you are promoting on your site
  • Use the same product information for a banner as well as a product or an inline image
  • Drag and drop into any order you like
  • Categorise products and display different types on different pages
  • Easy upload images using the standard WordPress media uploader
  • Keeps all uploaded images separate from other WordPress images for easy maintenance
  • Easily use SEO tools like WordPress SEO by Yoast to improve visibility on search engines
  • Simple to customise text for buy now buttons and whether to display buttons in banners
  • Use shortcodes from other plugins in most fields

If you can assist with providing a translation for this plugin then please contact me via the Peoples Geek website

This plugin is in no way associated with affiliate.com, clickbank, amazon, webgains, commission junction, Rakuten linkshare or any affiliate company. It simply allows you to format the links from any source in a way that is easy to manage and present to your website visitors

螢幕擷圖

  • The ‘Edit/New product’ page
  • The ‘All products’ page
  • The shortcut in a standard page to create the shop
  • The shortcut in a text widget to create the banner
  • The resulting shop
  • The new shortcode helper/button in the editor

安裝方式

  1. Upload all the files into your wp-plugins directory
  2. Activate the plugin at the plugin administration page
  3. Add the [pg_sas_shop] shortcodes onto the page where you would like your shop to appear
  4. Add Products and Banners to your shop from the ‘Shop’ menu in the admin area of your site
  5. Add the [pg_sas_banner] shortcodes to any widget area to show a list of banners
  6. Visit the settings page and customise text and appearance for shop, banner and inline elements

常見問題集

Where is my shopping cart, where do I add PayPal

If you are asking this question you may be after an e-commerce plugin rather than an affiliate marketing plugin. You may find this article “What is Affiliate Marketing?” useful.
This plugin is for promoting and marketing other peoples products in return for a commission rather then selling your own product directly.

All my products are showing as banners

When you create a product for your shop you must choose a category. The default category is ‘Banner Advertisement’.
To show products in your store pages choose the category of ‘Shop-Page’

Individual Products are ‘not found’

You may need to go into your permalink preferences and simply click the save changes to refresh your permalinks after adding the shop. This will only need to be done once.

Can I have the same product as a Banner and a Product

Yes! You can choose multiple categories for each of the product advertisements you create. By default ‘Shop Products’ and all its children are shown in the shop page. You can fine tune these using categories and other parameters in the shop shortcode.

What options are available with the shortcode

You can select products and banners by category and ID and decide if you want to show child categories or not. For examples see the help documentation in the settings menu

When I upload an image the file name stays blank

If you do not select ‘Link URL’ as ‘File URL’ in the media uploader (just above the button where you click ‘Insert into Post’) then the link is not passed back. Usually the default is ‘file’ but some themes and WordPress installations change this default and you will have to select it each time you upload an image, or change the default back to file

The shortcodes do not work

The standard shortcode depends on the slug ‘shop-product’ and ‘banner-advert’. If you remove or rename these then you will have to specify the category in the shortcode.
Make sure that you use the slug for the category and not the name.

How can I style the single page different to my default theme page

A full page can be a good way to show more detail for your products.
This is already supported and the title of each product in the shop will link to a full page already.

If you want to customise the look of the full page then you create a file called ‘single-pgeek_sas.php’ an example is provided in the inc directory of the plugin for TwentyTwelve theme.
You then customise this page as part of your theme – so you don’t have to hack any other template files.
PG Simple Affiliate Shop follows the rules of the WordPress page Template Hierarchy See the Codex page here

使用者評論

2019 年 11 月 12 日 1 則留言
Initially had some problems in that database entries were not being picked up by search engine that were designed to do that very thing. Working with Brian at PG, he modified his code so that the default WP search would work. No other developer has given me this kind of attention. Thank you!
2019 年 7 月 15 日
This affiliate link shop plugin is the best I’ve used. The last one I tried didn’t have product re-ordering or anchor link features. I need the dedicated anchor links to use in marketing emails, and the shortcodes work really well with the Advanced Gutenberg tab feature. I had a small problem with how the anchor links displayed at first, but Brian was extremely helpful in resolving the issue and now everything works perfectly! Thanks to this plugin my shop page looks clean. Thank you, Brian!
2018 年 2 月 24 日
I would give this plugin 10 stars if could! Really simple to use and has excellent features.
2017 年 9 月 22 日
I wanted to build a site that wasn’t an official e-commerce store, so I began my search, this morning and found this plug-in. It’s perfect. You simply write your post and insert the item from your shop inventory (basically an affiliate linked product to Ebay in this case). So happy! Thank you for creating it, it’s PERFECT!
閱讀全部 9 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈PG Simple Affiliate Shop〉的開發相關工作。

參與者

將〈PG Simple Affiliate Shop〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

Version 1.5

  • Added support for shortcodes in the link field as suggested by @stiglv59dk. You can now add a shortcode in the link field
  • Fix: The helper now works with 4.8 and the new TinyMCE thanks to Alex for his assistance.
  • Bumped after testing against 5.2.1 (use classic block for PG Simple Affiliate shop if using Gutenberg blocks)

Version 1.4

  • Added the ability to set a featured image for each shop product. This is to support this feature for some themes that use featured image. Note that it depends on your theme as to whether this option is used.

Version 1.3.4

  • Fix: The helper for inserting short codes into pages and posts now supports the new and old tinyMCE editor

Version 1.3.3

  • Provided a sample theme file that allows you to customise the look of a single product page (without this the single product page will use your theme default page)
  • Made the image in the shop optionally clickable as well as the buy now button and the banner – new option in settings
  • Fixed the CSS in the admin pannel for the shortcode helper box to match the new 3.8 admin look and feel

Version 1.3.2

  • Added a helper button for inserting short codes into pages and posts so you don’t have to remember any codes. Look for the new button in the editor toolbar when creating or editing a page or post. Click on this button and a popup will appear to help you select if you want a shop, product or inline image. The correct shortcode will be automatically added to your page or post at the current cursor position.

Version 1.3.1

  • Fixed a bug where the bottom pagination link for a page 1 went to the last product on the page rather than the first page of products (props Roger for bringing it to my attention). This only effects you if you are using pagination displayed at the bottom of a page of products.

Version 1.3.0

  • Added pagination so you can set how many products show per page. This can be overwritten at the shortcode level
  • Changed the title of each product to a link to the product single page to allow customisation of pages for SEO if desired
  • Added a filter so you can override the pagination if required for your theme
  • Added more helpful comments on the ‘image not local’ warning
  • Added support for shortcodes in the description, cost, testimonial and customer fields
  • Fix for help tab not showing in settings if you are using another plugin that customises menus
  • Added support for localisation and translation – if you can assist with translating the plugin into your language then please get in touch

Version 1.2.0

  • Fixed problem where you may have to refresh permalinks on installation to make individual product pages display
  • Removed forcing the color of the shop h2 header so it will now use your theme color (retained the dotted separator)
  • Added additional CSS elements to shop image to allow easier customisation (pg-sas-image)
  • Added a new shortcode to allow an image inline to a post or page (see settings menu help tab)
  • Changed CSS class ‘orange’ to ‘a.pg-sas-orange’ to avoid clashes
  • Added full set of color buttons from Web Designer Wall
  • Added an optional ‘hover image’ for the banner that can be used with or in place of the banner buy now button

    Note: If you have moved pg-sas.css to your theme then please merge the changes to your version and also remember to copy the clickhere.png image to your theme (or replace the image to one of your choice)

Version 1.1.0

  • Allow HTML markup in the description and testimonial fields
  • Make a new lines in the description or testimonial field show as an HTML break
  • Check in the theme folder for the stylesheet first to allow for easier customisation by users
  • Changed markup of testimonial quotations to allow easier overriding to match user’s theme

Version 1.0.0

  • Initial Release