12 best wordpress plugin for ecommerce

WordPress is becoming most popular in internet due to SEO friendlessness.  Companies need product listing and online e-shop with wordpress sites. Here we have unique 12 best wordpress plugin for ecommerce which will be useful for your sites.

12 best wordpress plugin for ecommerce

You can integrate the shopping cart easily with wordpress sites.

I created the list of free plugins for e-commerce solution. Using following plugins you can create the shopping cart using wordpress.

1. WP e-Commerce

best wordpress plugin for ecommerce
best wordpress plugin for ecommerce

The WP e-Commerce shopping cart plugin for WordPress is an elegant easy to use fully featured shopping cart application suitable for selling your products, services, and or fees online.

2. Exec-PHP
The Exec-PHP plugin executes PHP code in posts, pages and text widgets.

Features:

* Executes PHP code in the excerpt and the content portion of your posts and pages
* Configurable execution of PHP code in text widgets (for WordPress 2.2 or higher)
* Write PHP code in familiar syntax, eg. php … ?>
* Works in your newsfeeds
* Information about which users are allowed to execute PHP with the current security settings (for WordPress 2.1 or higher)
* Configurable user warnings for inappropriate blog and user settings (for WordPress 2.1 or higher)
* Restrict execution of PHP code in posts and pages to certain users by using roles and capabilities
* Update notifications through the ‘Plugins’ menu in WordPress if a new version of the Exec-PHP plugin is available (for WordPress 2.3 or higher)
* Internationalization support (english and german included, many more available)
* Comes with documentation

3. eShop
eShop is an accessible shopping cart plugin for WordPress, packed with various features. Including:

* Utilises WordPress pages, or posts, to create products
* Various methods available for listing products
* Products can have multiple options
* Upload downloadable products
* Basic Statistics
* Download sales data
* Various shipping options
* Admin has access to an Order handling section
* Automatic emails on successful purchase
* User configurable email templates.
* Configurable Out of Stock message.
* Basic Stock Control
* Google Base Data creation
* Uninstall available within the plugin
* Various discount options
* WPMU compatible.
* Merchant gateways:Authorize.net, Paypal, Payson, eProcessingNetwork, Webtopay, iDEAL and Cash/Cheque!
* and much much more

Quick Shop - best wordpress plugin for ecommerce
best wordpress plugin for ecommerce

4. Quick Shop

Quick Shop supports any WordPress that has the Sidebar Widgets installed, really. It adds a SideBar widget that shows the user what they currently have in the cart and allows them to remove the items, not to mention a TinyMCE button to easily allow you to add products to your posts/pages.

Also, you will need to make your own CSS for this. I’ve included enough classes/ids for you.

WordPress Simple Paypal Shopping Cart, best wordpress plugin for ecommerce
best wordpress plugin for ecommerce

5. WordPress Simple Paypal Shopping Cart

WordPress Simple Paypal Shopping Cart allows you to add an ‘Add to Cart’ button on any posts or pages. It also allows you to add/display the shopping cart on any post or page or sidebar easily. The shopping cart shows the user what they currently have in the cart and allows them to remove the items. It can be easily integrated with the NextGen Photo Gallery plugin too.

6. YAK for WordPress

There are significant changes in Version 2.0. Changes to shipping configuration, and shortcodes will require you to revisit both your configuration and the tags you’re using in product posts. Upgrade with care — make sure you backup first.

YAK is an open source shopping cart plugin for WordPress. It associates products with weblog entries, so the post ID also becomes the product code. It supports both pages and posts as products, handles different types of product through categories, and provides customisable purchase options (cheque or deposit, basic credit card form, basic Google Checkout integration, standard PayPal integration, PayPal Payments Pro, and Authorize.net).

7. Zingiri Web Shop

Zingiri Web Shop is a WordPress plugin that turns a great content management system into a fantastic e-commerce solution.

The main feaures are:

* Simple installation
* Easy configuration
* Sell digital and physical products
* Many useful features that simplify your work
* Complete order and customer management module
* Free support and updates
* Support for payment portals like Paypal, Worldpay, Google Checkout and iDEAL and possibility to add your own
* Multilingual support: English, Dutch, French, German, Spanish, …
* Easily migrate your current web shop by uploading your products via an XML file

8. New Shopping Cart Plugin With Themes

ShopperPress professional online shopping cart.

ShopperPress is a fully featured shopping cart plugin for wordpress, suitable for selling any types of products, services, and digital downloads online.

9. WordPress Checkout

Easy to use and customize this is a shopping cart that uses your posts o pages as products. With an editor button you can create products on the fly.

Features:

* Allows to manage products like posts and use a simple post for several products
* You can include options to your products
* Easy to customize
* Simple checkout. No cart needed if you are selling just one item
* Uses Paypal to process the payments

10. Ecwid Shopping Cart

Ecwid is a free full-fledged shopping cart that can easily be added to any blog. It offers the performance and flexibility you need, with none of the hassles you don’t.

There are seven key advantages to Ecwid:

* It’s SaaS
* It’s free
* It takes minutes to add to your site
* It supports drag-and-drop
* It has AJAX everywhere
* Upgrades are seamless
* It requires little to no technical support

11. Welcart e-Commerce

Welcart is an e-commerce system born in Japan. It possesses not only the simple shopping cart but also the functions such as order management or the member management. Abundant attached wedget supports your shop.
Cart system

As for the cart, correspondence is possible for the complicated sale that different condition choice needs every article. In addition, a price at the time of the supplier purchase can differentiate it by using the “duties pack discount” function. In addition, the introduction of “the membership system”, the choice of “the delivery method”, the grant of the “campaign” privilege possess various functions.

12. WP E-Commerce Right Now
Displays the current months sales, transactions and more on the dashboard. Requires WP Shopping Cart plugin by Instinct Entertainment.

create your own wordpress theme online

Now there are many online tools for create wordpress theme. In article, We given resources list which is useful to create your own wordpress theme online. We found some great tool to create wordpress theme yourself and that tools are free.

You can create responsive free wordpress theme online. If you are not developer and you do not know about coding still no worry. Still you can create your own wordpress themes using online resources.

create your own wordpress theme online

http://www.lubith.com/
lubith, create your own wordpress theme online
create your own wordpress theme online

Creating your website theme has never been easier!

Drag, drop, a few clicks and you can have the WordPress theme you want for your website!

http://www.wpthemegenerator.com/
wpthemegenerator create your own wordpress theme online
create your own wordpress theme online
All themes you create with our generator, can be downloaded on both basic html/css and WordPress, and WordPress version will include all features of our Base Framework, additionally you can store the themes you have already created and save them, so they can be edited or downloaded on the future, themes will be saved on..

Some online tool as follows:

http://www.yvoschaap.com/wpthemegen/

Wordpress Theme Generator - Create your own WordPress Theme._1265085481109

Some offline tool as follows:

http://wordpressthemegen.com/

nginx wordpress plugins nginx setup for wordpress

Nginx is becoming very popular to host the websites. WordPress is best and popular CMS in the world now. Nginx gives really great performance with wordpress sites. Earlier I given the Nginx configuration with this code. I given code for wordpress and Nginx configuration. For hosting your wordpress website on Nginx server is the best option.

nginx wordpress plugins nginx setup for wordpress

If you have dedicated server then go with nginx server.

wordpress + Nginx + permalink

nginx wordpress plugins nginx setup for wordpress
nginx wordpress plugins nginx setup for wordpress

I found two plugins which are supported to Nginx installtion. But both plugins are not give you nginx rule for setup nginx rule.

http://wordpress.org/extend/plugins/nginx-compatibility/
http://wordpress.org/extend/plugins/nginx-proxy-cache-integrator/

Now I will show you how setup wordpress site on Nginx server.

Just put following code in your nginx.conf file. This code will fix the wordpress permalink issue also.

server {
listen 80;
server_name localhost.localdomain;
# access_log logs/site.access.log;

location / {
root /usr/share/nginx/html;
index index.php;

if (!-e $request_filename) {
rewrite ^.+?(/wp-.*) /$1 last;
rewrite ^.+?(/.*\.php)$ /$1 last;
rewrite ^(.+)$ /index.php?q=$1 last;
break;
}

location = /50x.html {
fastcgi_pass  localhost:9999;
fastcgi_index index.php;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_param REQUEST_URI $request_uri;
fastcgi_param DOCUMENT_URI $document_uri;
fastcgi_param DOCUMENT_ROOT $document_root;
fastcgi_param REMOTE_ADDR $remote_addr;
fastcgi_param REMOTE_PORT $remote_port;
fastcgi_param SERVER_ADDR $server_addr;
fastcgi_param SERVER_PORT $server_port;
fastcgi_param SERVER_NAME $server_name;
fastcgi_param SCRIPT_FILENAME  /var/www/example.com$fastcgi_script_name;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
root /var/www/nginx-default;
}

}

Note: Dont forgot to install fastcgi on your server. Start the fastcgi server on port no 9000(which is default port)

For wordpressMu use following URL

https://purabtech.in/nginx-rule-for-wordpressmu-with-pretty-url/

Issue with query_posts and pagination

If you are using query_posts in your theme for category and you are facing issue with pagination. usage of query_posts, leave the original query on the home page intact, and modify the query from your functions.php file, using pre_get_posts

Solved issue with query_posts and pagination

we solved Issue with query_posts and pagination. If you are using query_posts in your theme and you are facing issue with pagination. for altering any query

Use following code to fix the issue with pagination.

php
$paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
$sticky=get_option(‘sticky_posts’);
$args=array(
‘cat’=>3,
‘caller_get_posts’=>1,
‘post__not_in’ => $sticky,
‘paged’=>$paged,
);
query_posts($args);
?>

or use following code.

php if (have_posts()) : ?>
php query_posts(“cat=3”); ?>
php while (have_posts()) : the_post(); ?>

replace with above with this code.

php if (have_posts()) : ?>
php $paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1; query_posts(“cat=3&paged=$paged”); ?>
<?php while (have_posts()) : the_post(); ?>

Solved issue with query_posts and pagination
Solved issue with query_posts and pagination

Useful article for query post

http://codex.wordpress.org/Template_Tags/query_posts

set max image size in wordpress post for showing

wordpress tutorial, Here in this article, How to  set max image size in wordpress post for showing. We given simple CSS code which can be used in your style.css file.

Simply paste the following in your style.css file. This code will work with latest wordpress versions.

 set max image size in wordpress post for showing

.postarea img {
max-width: 500px;
height: auto;
}

.post img {
max-width: 500px; /* Adjust this value according to your content area size*/
height: auto;
}

.size-full {
max-width: 500px;
height: auto;
}

 set max image size in wordpress post for showing
set max image size in wordpress post for showing

Add custom gravatars to your wordPress default gravatar list

By default wordpress has some profile photos. In this tutorial we will show to you to Add custom gravatars to your wordPress default gravatar list.

custom gravatars to your wordPress

Just copy paste following code to functions.php file. This file can be found in your current activated theme folder.

if ( !function_exists('fb_addgravatar') ) {
function fb_addgravatar( $avatar_defaults ) {
$myavatar = get_bloginfo('template_directory').'/images/avatar.gif';
//default avatar
$avatar_defaults[$myavatar] = 'people';

$myavatar2 = get_bloginfo('template_directory').'/images/myavatar.png';
//Avatar for user "admin"
$avatar_defaults[$myavatar2] = 'admin';

return $avatar_defaults;
}

add_filter( 'avatar_defaults', 'fb_addgravatar' );
}
Add custom gravatars to your wordPress default gravatar list
Add custom gravatars to your wordPress default gravatar list

Thanks to WpEngineer for this such great wordpress hack!

I found useful following articles for wordpress plugin developers.

http://codex.wordpress.org/Using_Gravatars

http://codex.wordpress.org/Function_Reference

http://codex.wordpress.org/Function_Reference/add_filter

http://codex.wordpress.org/Plugin_API/Filter_Reference

Show related posts with wordpress post without plugin

For reducing bounce rate Show related posts with wordpress post without plugin is really great solution. There are many wordpress plugins which will give similar functionality but it will add extra code server hits to your server. It causes slowness.

Show related posts with wordpress post

Just copy paste the following code in your functions.php file.  You will find this file in your wordpress theme folder.

Show related posts with wordpress post
Show related posts with wordpress post
function get_related_posts($post_id) {
$tags = wp_get_post_tags($post_id);
if ($tags) {
echo 'Check some Related Posts<br>';
$first_tag = $tags[0]->term_id;
$args=array(
'tag__in' => array($first_tag),
'post__not_in' => array($post->ID),
'showposts'=>10,
'caller_get_posts'=>1
);
$my_query = new WP_Query($args);
if( $my_query->have_posts() ) {
while ($my_query->have_posts()) : $my_query->the_post();
$the_permalink = get_permalink();
$post_title =  get_the_title();
$related_post = '<a href="'.$the_permalink.'">'.$post_title.'</a><br>';
echo $related_post;
endwhile;
}
}
}

You just need to use this function in your loop using “get_related_posts();” this function.

add common content after every wordpress post

WordPress tutorial, In this article we will show, how to add common content after every wordpress post. We given simple code for adding in wordpress theme.

Just copy paste the following code in your functions.php file.  You will find this file in your wordpress theme folder.

add common content after every wordpress post


function insert_common_content($_common_content) {
if(!is_feed() && !is_home()) {
$_common_content.= "<div class='wordpressapi'>";
$_common_content.= "<h4>Enjoyed this article?</h4>";
$_common_content.= "Check more articles on <a href='http://images.purabtech.in/'>purabtech.in/files/</a>";
$_common_content.= "</div>";
}
return $_common_content;
}
add_filter ('the_content', 'insert_common_content');

add common content after every wordpress post
add common content after every wordpress post

Useful article related to this wordpress hack.

http://codex.wordpress.org/Plugin_API/Filter_Reference/the_content

wordpress check if post has image attachment

In custom theme checking post image is really useful because old post has no featured image set. Using our code wordpress check if post has image attachment. Just use following code the check for image in wordpress post.

wordpress check if post has image attachment

Copy paste the following function in functions.php file.


function check_image(){
$content = $post->post_content;
$all_images = '~<img [^>]* />~';

preg_match_all( $all_images, $content, $pics );

// Check to see if we have at least 1 image
$all_pics = count($pics[0]);

if ( $all_pics > 0 ) {
// Your post have one or more images.
return true
} else {
return false;

}

wordpress check if post has image attachment
wordpress check if post has image attachment

In post loop just add or call this function. This function will return the true or false.

get first image thumbnail from wordpress post

Most WordPress theme are using custom fields to display thumbs on their blog homepage. How to get first image thumbnail from wordpress post

get first image thumbnail from wordpress post

But you can take easily extract the first image from the post, and display the image as post thumbnail.

Just copy paste the following function in your functions.php file.


function get_first_image($id) {
$PostID = $id;
$all_images =& get_children('post_type=attachment&post_mime_type=image&post_parent=' . $PostID );

if($all_images) {

$arr_of_all_images = array_keys($all_images);

// Get the first image attachment from post
$firstImage = $arr_of_all_images[0];

// Get the thumbnail url for the attachment
// If you want the full-size image instead of the thumbnail, use wp_get_attachment_url() instead of wp_get_attachment_thumb_url().
$thumb_url = wp_get_attachment_thumb_url($firstImage);

// Build the <img> string
$First_thumb_image = '<a href="' . get_permalink() . '">' .
'src="' . $thumb_url . '" width="150" height="150" alt="Thumbnail Image" title="Thumbnail Image" />' .
'</a>';

// Print the thum image form post
echo $First_thumb_image;
}
}

You can call above “get_first_image” function anywhere in your post loop. I loop you need to just copy paste the following lines
to print the first image of post body.

<!--?php get_first_image($post--->ID);  ?>
get first image thumbnail from wordpress post
get first image thumbnail from wordpress post

Follwing article I found useful

http://codex.wordpress.org/Plugin_API/Filter_Reference

http://codex.wordpress.org/Function_Reference/wp_get_attachment_thumb_url