wcfm-santa

Making Christmas merrier with our special gift! Enjoy upto 25% off on all WCFM Addons.

CLAIM OFFER
01Day 17Hr 22Min 27Sec

WC Lovers

WooCommerce Frontend Manager - Multivendor marketplace vendor dashboard

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!

Forum Replies Created

Viewing 25 posts - 51 through 75 (of 77 total)
  • Author
    Posts
  • in reply to: inserting order using Rest API #69035
    MarsMars
    Participant

    I found it in some tutorials online referring to it
    Is there issue with it?
    Can you please answer my questions above?

    in reply to: inserting order using Rest API #68460
    MarsMars
    Participant

    I made a progress but I am not sure if this is completely correct of there is something missing

    this is added to the function.php

    
    add_action( 'woocommerce_rest_insert_shop_order_object',  'wcfmmp_checkout_order_processed2');
    function wcfmmp_checkout_order_processed2( $order ) {
         global $WCFMmp;
    	 $order_id = $order->get_id();
    		$WCFMmp->wcfmmp_commission->wcfmmp_checkout_order_processed( $order_id );
     }

    Please guide if something missing .. also I noticed when the order status is processing I see the refund button but when the order is completed I do not see it this is only with rest inserted orders .. but for orders inserted online it is the other way around

    in reply to: inserting order using Rest API #68457
    MarsMars
    Participant

    removed

    in reply to: inserting order using Rest API #68312
    MarsMars
    Participant

    Hi,
    I am testing using the woocommerce rest api .. so the above is the payload I sent .. this was my question I want to create a customer app and I want to create an order .. when creating the order I do not see it in the vendor panel .. I think I need to do extra thing maybe adding hooks or adding something to the payload json ,, so as a vendor I can see that order in my panle
    Regards,

    in reply to: inserting order using Rest API #65387
    MarsMars
    Participant

    this is my payload,, I am not sure why I cannot see it in the vendor panel is there something missing in the order post

    {
        "customer_id": 46,
        "set_paid": true,
        "payment_method": "cod",
        "payment_method_title": "Cash on delivery",
        "status": "processing",
        "billing": {
          "first_name": "Nishant",
          "last_name": "Desai",
          "company": "",
          "address_1": "",
          "address_2": "",
          "city": "",
          "state": "",
          "postcode": "",
          "email": "abcd@gmail.com",
          "phone": "(12) 3456-7890"
        },
        "shipping": {
          "first_name": "Nishant",
          "last_name": "Desai",
          "address_1": "",
          "city": "",
          "state": "",
          "postcode": ""
        },
        "line_items": [
          {
            "product_id": 83,
            "quantity": 1,
            "subtotal": "800",
            "total": "800",
            "meta_data": [
              {
                "key": "خيارات (100ر.س)",
                "value": "قصير"
              },
              {
                "key": "Location",
                "value": "home"
              },
               {
                     
                        "key": "_vendor_id",
                        "value": "2"
                    }
            ],
            "appointments": {
              "shop_name": "MARIAM",
              "_appointment_start": 1558859400000,
              "_appointment_end": 1558863000000
            }
          }
        ],
     
        "meta_data": [
          {
            "key": "client_longitude",
            "value": 72.8255146
          },
          {
            "key": "client_latitude",
            "value": 21.1933855
          }
        ],
        "fee_lines": [
         {
             
                "name": "الدفع نقدًا عند الإستلام",
                "tax_class": "0",
                "tax_status": "taxable",
                "amount": "15",
                "total": "15.00",
                "total_tax": "0.00",
                "taxes": [],
                "meta_data": []
            }
            ]
      }
    
    in reply to: inserting order using Rest API #65281
    MarsMars
    Participant

    I did create an order it did not add the vendor info
    I can see the order only in the admin panel not the vendor panel

    in reply to: Hiding things #59881
    MarsMars
    Participant

    Yes I have it in the frontend ,, but I do not see the inquiries in the vendor menu

    in reply to: Hiding things #58454
    MarsMars
    Participant

    thanks 1 workked perfecr

    the second I deleted cache and tried private browsing .. its the same .. this is happened after the last update

    in reply to: Hiding things #58453
    MarsMars
    Participant

    thanks 1 workked perfecr

    the second I deleted cache and tried private browsing .. its the same

    in reply to: products api #54967
    MarsMars
    Participant

    both
    I asked they told me I should use wc rest API
    but I do not know how to get it and they are not providing any details about how part

    in reply to: where can I get these data from #54917
    MarsMars
    Participant

    yes I know
    I want to create api thats why I am asking how can I get the data

    in reply to: Sellers Search #54916
    MarsMars
    Participant
    in reply to: where can I get these data from #54584
    MarsMars
    Participant

    also, I tried to get products list by the vendor
    so when I was debugging,, I was wondering if this is correct it always return an error?
    in this file: class-wcfmapi-rest-controller.php

      /**
         * Get object.
         *
         * @param  int $id Object ID.
         * @return object WC_Data object or WP_Error object.
         */
        protected function get_object( $id ) {
            return new WP_Error( 'invalid-method', sprintf( __( "Method '%s' not implemented. Must be overridden in subclass.", 'wcfm-marketplace-rest-api' ), __METHOD__ ), array( 'status' => 405 ) );
        }
    
    in reply to: where can I get these data from #54552
    MarsMars
    Participant

    Hi
    I managed to get 1,3,4 and I think 2 will be done easily
    the issue is how can get the total average rating for a single store
    also How can I get the detailed ratings in a single store review

    in reply to: Sellers Search #54515
    MarsMars
    Participant

    Hi any update with this issue

    in reply to: is this correct #51995
    MarsMars
    Participant

    Hi
    I am not using stipe payment .. I have another third party for customers payments .. but vendors withdrawals will be done through bank transfer
    Is there a way to call you so I can understand how this works?

    in reply to: is this correct #51974
    MarsMars
    Participant

    I only have two payment methods
    cod.. which has to be reversed and Cridet cards that can be withdrawn
    I do not understand what do you mean by CC pay and where I can find it?

    in reply to: WCFM Marketplace – REST API #51114
    MarsMars
    Participant

    Great .. let me know when it is released

    in reply to: store manager is not mobile friendly #51113
    MarsMars
    Participant

    excellent…
    Thanks a lot

    in reply to: is this correct #51111
    MarsMars
    Participant

    please check attached

    Attachments:
    You must be logged in to view attached files.
    in reply to: theme design #51107
    MarsMars
    Participant

    I tried this .. it did not work the way I want dokan-lite
    and buying pro is not an option
    can you tell me which files I need to change to have the same design for store list and store pages

    in reply to: WCFM Marketplace – REST API #51043
    MarsMars
    Participant

    any update about the vendor store manager app??

    in reply to: is this correct #51042
    MarsMars
    Participant

    yes I activated the withdrawal and reverse withdrawal
    can you elaborate more
    if payment is done offline (COD),, it means I haven’t received my commission yet so why the status is paid and in the credit card I received my commission why it is unpaid

    Regards

    in reply to: theme design #51041
    MarsMars
    Participant
    in reply to: wallet and referral plugin #50713
    MarsMars
    Participant

    thanks,
    the referral I need it for the whole marketplace not specific vendor
    and the referral amount if customer purchased it will be addedd to the wallet

Viewing 25 posts - 51 through 75 (of 77 total)