WordPress User Post Products

These four requirments comes right of the box with wordpress. You don’t need any extra plugin for that. Any user can register – Go to General settings page and enable Anyone can register option by checking checkbox available next to it. They can post product – Assign them a role of author so that they … Read more

Adjust Price Display for Variable Product in Woocommerce [closed]

You can hook into woocommerce_variable_price_html and reformat the price to include or. This will replace the – with or on all products with multiple differing prices. add_filter(‘woocommerce_variable_price_html’, ‘custom_variation_price_seperator’, 10, 2); function custom_variation_price_seperator( $price, $product ) { $price=””; $prices = $product->get_variation_prices( true ); $min_price = current( $prices[‘price’] ); $max_price = end( $prices[‘price’] ); if ( !$product->min_variation_price … Read more

Jigoshop – change the order in which products show up in a grid

As Bainternet said you need to adjust the query vars, however I needed to change the order well before ‘jigoshop_before_shop_loop’ hook to get this to work. This function fires at pre_get_posts and orders by title. add_action(‘pre_get_posts’, ‘my_custom_query’); function my_custom_query($wp_query){ if(is_tax(‘product_cat’)){ $wp_query->query[‘order’] = ‘ASC’; $wp_query->query[‘orderby’] = ‘title’; return $wp_query; } }

Could WordPress be used/extended as a medium-size ecommerce site?

WordPress can make an excellent e-commerce platform … There are some very good ecommerce solutions for WordPress including WooCommerce – free and has premium extentions like table rate shipping and themes – Sth African parent company with 30++ ecommerce extensions and 90+ WP themes Jigoshop – free and WooCommerce was forked from this – UK … Read more

Problems with migrating a WooCommerce orders [closed]

Since WooCommerce orders and products are actually custom post types, using that importing tool will only transfer limited amount of data. To transfer the order details as well, you need to use phpMyAdmin to import the following two tables to your new site’s database wp_woocommerce_order_itemmeta wp_woocommerce_order_items

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