Display specific widgets in different area’s around the page

You will want to create a new widget area or dynamic sidebar in your theme’s code. Justin Tadlock has a great tutorial about how to do this, but the basics boil down to this. Add the widget area declaration in your theme’s functions.php file: <?php add_action(‘widgets_init’, ‘my_register_sidebars’); function my_register_sidebars() { /* Register the ‘cartwidgets’ sidebar. … Read more

Need Help Finding a WordPress E-Commerce Plugin That Utilises Custom Post Types [closed]

You Should look at dukapress it a fairly new E-Commerce plugin but its loaded with features and it uses Custom post types. and as for the relation part, i had that same challenge as your are having in developing a site for one of my customers, i needed to relate a CPT (custom post type) … Read more

What are WooCommerce starter themes? [closed]

if you are going for a e-commerce website here are some really good themes, plugins, and trickes that you will find really helpfull Themes Sommerce Shop: http://themeforest.net/item/sommerce-shop-a-versatile-ecommerce-theme/542001 Demo: http://www.yithemes.com/live/?theme=sommerce wordpress theme Mojo Theme: http://splashingpixels.com/themes/mojo/ Demo: http://mojo.splashingpixels.com/ wordpress theme Eggo Theme: http://splashingpixels.com/themes/eggo/ Demo: http://eggo.splashingpixels.com/ wordpress theme Storefront: Designer http://storefrontthemes.com/themes/designer/ wordpress theme Wootique: http://www.woothemes.com/products/wootique/ Demo: http://demo2.woothemes.com/wootique/ wordpress … Read more

Convert WordPress posts to products in WooCommerce

You could install the Post Type Switcher plugin Or Run SQL query on your database to change the post to product post type UPDATE `wp_posts` SET `post_type` = ‘product’ WHERE `post_type` = ‘post’; Backup your DB 1st. UPDATE `wp_posts` SET `post_type` = ‘wpsc-product’ WHERE `post_type` = ‘post’;

How to prevent items to be added in cart for specific condition in wordpress

please refer below code.you are passing only 1 parameters instead of 3 parameter. function filter_woocommerce_add_to_cart_validation( $passed, $product_id, $quantity ) { if ( $quantity>2 )) { wc_add_notice( __( ‘You are not allowed to add more than 2 product for category..’, ‘woocommerce’ ), ‘error’ ); $passed = false; } return $passed; }; // add the filter add_filter( … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)