Forums

WP e-Commerce + Many Vendors plugin help needed (3 posts)

  1. mr49online
    Member
    Posted 4 months ago #

    Hello everyone,

    I am using WP e-Commerce and Many Vendors 1.0 -Beta plugins.

    I want to show the vendor specific products on Product Page by using only WP_Query().

    $params=array(
    	   'post_type' => 'wpsc-product',
    	   'post_status' => 'publish',
    	   'meta_query' =>
     		       array(
    			   'wp_capabilities' => 'vendor',
    			    '_wpsc_vendors'=> 'xyz'
    			   )
    		);
    
    	    $vendar_query = new WP_Query($params);

    I figure out the products are being saved in wp_posts table. Now question is, how can we read their relation with user(vendor) in meta_value of wp_postmeta table?

    Thanks, in advanced.

  2. mr49online
    Member
    Posted 4 months ago #

    Any possibility regarding this question ???

  3. br4dy
    Member
    Posted 4 months ago #

    Am trying to do exactly the same thing - let me know how you get on

Reply

You must log in to post.

About this Topic