POS Integration

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 8 reply threads
  • Author
    Posts
    • #97484
      shomonrobie
      Participant

      I am looking in to an option that vendors can use WCFM as their POS system as well. So, Vendors can manage their sales and inventory from the sale from their shop and through the marketplace as well. Products sold from the shop will be commission free and products sold through the marketplace will be subject to commission.

      This could be addition module for WCFM and Ultimate.

      We could play extra for this additional feature.

    • #98877
      WCFM Forum
      Member

      Hi,

      Please use this plugin as POS – https://wordpress.org/plugins/wepos/

      Thank You

    • #98904
      shomonrobie
      Participant

      Hi,

      I have downloaded it and installed it and have created a link from Marketplace>Dashboard>Settings>Menu Manager>New Menu with following Settings:
      Label: POS
      Icon: fa-cash-register
      URL: https://www.babui.com.bd/wepos/#/
      Menu for: All Users
      Open In New TAB: Yes

      But when my vendors click on the menu, he is redirecting to POS Page, https://www.babui.com.bd/wepos/#/, but he does not see any products at all.

      But I can see all the products when I am logged in as Admin.

      Do you have any solution?
      Please note that I am using free version of wePOS. If it works, I will buy premium version.

      Attachments:
      You must be logged in to view attached files.
    • #98906
      shomonrobie
      Participant

      Also, they said that “wePOS is not compatible with WCFM multi-vendor for now.”
      https://wordpress.org/support/topic/does-it-work-with-multi-vendor-wcfm-plugin/

    • #98921
      shomonrobie
      Participant

      There was a discussion about using Woocommerce POS:
      https://wclovers.com/forums/topic/woocommerce-pos-for-vendors/

    • #98922
      WCFM Forum
      Member

      Well, this integration comes from our end, not from wePOS plugin.

      Please add this code to your site –

      add_filter( 'woocommerce_rest_check_permissions', function( $permission, $context, $object_id, $post_type ) {
      	if( wcfm_is_vendor() ) {
      		if( ( $post_type == 'product' ) && ( $context == 'read' ) ) {
      			$permission = true;
      		}
      	}
      	return $permission;
      }, 50, 4 );

      Add this code to your child theme’s functions.php
      In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/

      Thank You

    • #98945
      shomonrobie
      Participant

      Hi,

      Thank you very much for your quick reply. It is working now.

      Is it possible make commission 0% for the sales done through wePOS? What I want is that my vendors will not pay me any commission when they will sell their products through wePOS but will pay commission when they will sell through online?

      Thank you in advance.

    • #99696
      WCFM Forum
      Member

      HI,

      Sure, please add this code to your site for the purpose-

      add_filter( 'wcfmmp_product_commission_rule', function( $product_commission_rule, $product_id, $vendor_id, $item_price, $quantity, $order_id, $vendor_commission_mode ) {
      	$order = wc_get_order( $order_id );
      	if( $order && is_a($order , 'WC_Order') ) {
      		$created_via = $order->get_created_via();
      		if( $created_via && in_array( $created_via, apply_filters( 'wcfmmp_new_order_check_created_via', array( 'wepos' ) ) ) ) {
      			$product_commission_rule['mode'] = 'percent';
      			$product_commission_rule['percent'] = 100;
      			$product_commission_rule['fixed'] = 0;
      		}
      	}
      	return $product_commission_rule;
      }, 50, 7 );

      Add this code to your child theme’s functions.php
      In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/

      Thank You

    • #100018
      shomonrobie
      Participant

      Hi,
      We are having following issues with order list and order detail (from the vendor dashboard):

      If order places by customer contains different products from different vendors, vendors in their dashboard, having the following issues in their order list and order detail page:

      Products Sold through WePOS:

      1. Order List Page: Shows only Purchase Item [1 item 1x] , whereas there were multiple items purchased.
      2. Gross Sale and Earnings Shows Different Amount after deducting the commission though order was placed using wePOS and activating the code provided by you NOT to deduct commission on orders from wePOS.
      3.In the order detail page, all the items from the order are showed, but total and subtotal is wrong.Pleas find the attached document for screenshot.

      Products Sold Through Woocommerce:
      1. Order List Page: Shows only Purchase Item [1 item 1x] , whereas there were multiple items purchased.
      2. In the order detail page, vendor1 have all the items from all the vendors bought through the order, whereas vendor1 should be seeing only his/her products in the order detail page.
      3. Subtoal and Total amount is wrong.

      Need a solution urgently.

      Thank you in advance for your help.
      Br//

      Robie

      Attachments:
      You must be logged in to view attached files.
Viewing 8 reply threads
  • The topic ‘POS Integration’ is closed to new replies.