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.
- 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
- Upload all the files into your wp-plugins directory
- Activate the plugin at the plugin administration page
- Add the [pg_sas_shop] shortcodes onto the page where you would like your shop to appear
- Add Products and Banners to your shop from the ‘Shop’ menu in the admin area of your site
- Add the [pg_sas_banner] shortcodes to any widget area to show a list of banners
- 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.
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.
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
Suradnici i Programeri
“PG Simple Affiliate Shop” je softver otvorenog koda. Sljedeće osobe su doprinijele ovom dodatku.Suradnici
Zainteresirani ste za razvoj?
- 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)
- 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.
- Fix: The helper for inserting short codes into pages and posts now supports the new and old tinyMCE editor
- 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
- 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.
- 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.
- 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
- 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)
- 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
- Initial Release