WooCommerce B2B Sales Agents

WooCommerce B2B Sales Agents v1.5.1

No permission to download

juanporamor

Well-known member
Trusted Uploader
Apr 18, 2019
279
275
63
evilmorty submitted a new resource:

WooCommerce B2B Sales Agents - #1 WooCommerce plugin to manage your sales agents network

WooCommerce B2B Sales Agents - Intro



WooCommerce B2B Sales Agents – #1 WooCommerce plugin to manage your sales agents network
WooCommerce B2B Sales Agents is the best solution to introduce your company’s sales agents in online store with WooCommerce...

Read more about this resource...
 

apaez1

New member
Oct 22, 2020
9
2
3
Hi, this plugin version is not working. The installation fails, It says "Package unzipping failed. There is no plugin"
 

tanierlyons

Well-known member
Staff member
Administrative
Moderator
May 24, 2018
75,058
111,714
120
Hi, this plugin version is not working. The installation fails, It says "Package unzipping failed. There is no plugin"
dont install all files
just unzip first and install only woocommerce-b2b-sales-agents.zip
 

apaez1

New member
Oct 22, 2020
9
2
3
Hi guys, this plugin has a page for showing all customers assigned to a sales agent, in this page I have a list of almost 200 customers assigned to one agent but the pagination is not working, it shows all the 200 customers in one page (very long page). Looking at the files of the plugin I found this script that, according to comments, handles the pagination for this page:

/**
* Retrieve all sales agent customer (with optional pagination)
*
* @param int $sales_agent_id Sales Agent ID
* @param int $current_page Current page number used for pagination
* @return array
*/
if ( ! function_exists( 'wcb2bsa_get_customers_by_sales_agent' ) ) {
function wcb2bsa_get_customers_by_sales_agent( $sales_agent_id, $current_page = 1 ) {
$args = array(
'limit' => -1,
'role' => 'customer',
'fields' => 'all_with_meta',
'meta_key' => 'wcb2bsa_sales_agent',
'meta_value' => $sales_agent_id
);
// Add pagination
if ( $current_page !== false ) {
$args['page'] = $current_page;
$args['paginate'] = true;
}
$customers = new WP_User_Query( apply_filters( 'wcb2bsa_get_customers_by_sales_agent_args', $args, $sales_agent_id ) );
return $customers;
}

I wonder if there is anyone here capable of taking any conclussions from this little piece of code on why the pagination is not working.
 

seraphic

Member
Trusted Uploader
Apr 27, 2019
73
77
18
v1.0.7
25 December 2020
  • * Add: new feature to allow sales agents to edit product prices in cart page
  • * Add: new feature to assign a default sales agent on new customer registration
  • * Add: new feature to allow customers to choose their sales agent in checkout
  • * Add: new option to manage sales agents dashboard widgets and charts visibility
  • * Add: new feature to have sales by sales agent in WooCommerce reports
  • * Add: new feature to allow sales agents to update their customers order status
  • * Add: new feature to consider only orders placed directly from sales agent
  • * Tweak: updated list pages in sales agent area to improve performace and sorting
  • * Tweak: updated sales agent area style
  • * Tweak: new hooks to improve customization
  • * Fix: resolved a problem filtering users by sales agent in admin
  • * Minor fixes and localisation updates


Please try to update it. Thx
 

rockNJstar

New member
Feb 14, 2019
20
10
3
@Tomz I want to update this resource as the original uploader is not responding. I have the latest v1.0.9. How do I do that?
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu