This Plugin makes it easy to add WooCommerce “Related Products” to individual blog posts.
Select any of your WooCommerce Products from the WordPress “Add Post” admin screen to add them to the bottom of your post content. Inserts the selected products with linked thumbnails to the bottom of your post content and includes css classes that make them easy to customize! This plugin is not meant to be an all encompassing WooCommerce Related Products Add-On. It is just a simple solution to get WooCommerce products onto your blog posts
Requirement: You must have the WooCommerce plugin installed with existing live products.
Note: Some knowledge of CSS required to customize the look of the related products and add to cart buttons.
Simply activate this plugin from the Plugins page and select your Blog’s “parent” category under “Settings > Related Products on Posts” to enable the related products on those pages only. Then, a new admin meta box will appear in the Blog Post Editor Page. There you can select any of your current WooCommerce plugins from a simple list. After you publish the post the related products will appear directly after your post content in thumbnail size. All of the HTML elements have classes assigned for easy style customization.
- I have activated the plugin, how come I can’t see the “Related Products” section in the “Add New Posts” page?
It may be hidden by default. While on the Blog Post Editor Page, go to the top right under “Screen Options” and make sure “Related Products” box is selected.
- How come my product images are oddly sized or different sizes?
It is up to you to optimize your own images for online use. This includes using uniform image dimensions for all your products or setting “max-width”, “max-height” styles in your CSS files.
- How do I customize the look of the related products?
All of the HTML elements have unique classes for easy CSS customization. By default, the width of each related product displayed in the blog post is set at 25%. So, if you have 4 related products selected, they will display inline next to each other. However, more than that will stack the related products below accordingly. Unfortunately at this time, the related products are only displayed in your site’s default “thumbnail size”, so it will be up to you to upload good images and customize them using CSS.
- Does this feature work on Custom Post Types?
This version has not been tested with custom post types. Currently it is intended only to appear on normal wp posts with the post_type of “post” and the parent blog category you select under “Settings > Related Products on Posts”
- Does this feature work with Post Excerpts?
Currently this feature is designed to display related products only on single blog posts, not archive or category pages.
Contributors & Developers
“WooCommerce Simple Add Related Products to Blog Posts” is open source software. The following people have contributed to this plugin.Contributors
Translate “WooCommerce Simple Add Related Products to Blog Posts” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
- Initial Upload.
- Fixed Post Excerpt Bug.
- Fixed Cart Bug.
- Fixed Various Bugs, Plugin Conflicts and CSS.
- Add to Cart Button on related products!
- Bug fixes, compatibility updates, product prices and mobile responsiveness
- Fixed comma problem and update DB install
- Stylesheet update