Okay
  Public Ticket #3683445
commission invoice
Closed

Comments

  •  2
    Souk started the conversation

    Hi,

    There are 2 issues which I am facing in my website.

    1) I am facing issue in Commission Invoice. I have set up the commission rules and it is showing correctly in WooCommerce Product panel. Admin Commission is calculated correctly as per my set commission rule8696135777.jpg

    The Commission Invoice should be raised for the same including GST 18% in the invoice. But the Commission in the Invoice is showing the Remittance amount which the vendors are eligible to receive.

    Since the Commission invoice is raised by the vendor to the Admin, it should have Commission amount corresponding to the commission rules set by the admin. Could you check the issue and rectify this issue for me? I am using PDF Invoice WooCommerce. There is also a small square in the Price Column before any amount in the invoice. I need that removed. 

    The Commission invoice should have 17.52% amount of any order including GST 18%.

    The Code for VAT to be replaced with GST. 

    1629927813.jpg

    2) Vendor Dashboard > Orders > Status for order has only three options currently.

    I would like to add more options such as Accepted (default), Processing, On hold, Dispatched, Completed. Can you add these options as these were not available in WooCommerce ?

    1187331458.png


    I would appreciate fast resolution on this as my website is Live and invoicing is very wrong.

    Thanks in advance.

  •  2
    Souk replied

    Hi,

    I am still waiting for some solutions to my problems as my website is live.

    I would highly appreciate a reply soon.

    Thanks

  •  2,214
    WebWizards replied

    Hi there,

    Our apologies for any delay on this, we are seeing a very high volume of tickets at the moment,


    (1) To make those commission invoices show the reverse amount, please add the following PHP code snippet to your site:

    add_filter('marketking_use_reverse_commission_invoices','__return_true');
    

    This snippet can be added to functions.php, or by following our guide here: https://woocommerce-b2b-plugin.com/docs/how-to-add-a-snippet-php-or-js/



    (2) It is possible to add additional order statuses there, including custom statuses such as Accepted / Dispatched. You can add the following PHP code snippet to your site for this:

    https://pastecode.io/s/3bocmh13


    My code above assumes the names of the statuses are "accepted" and "dispatched" but it is possible they are slightly different, depending on how they are created (if so, you would need to change them in the code snippet). To find the names it would be useful to use "Inspect" on the backend order status, to see their names in the code: https://www.loom.com/share/7cf98538851c4f1ca3f357c4fbda0e80?sid=430b3c2f-74bb-4ef4-8d61-e37c6dffa32d



    (3) 

    Regarding the square symbol there in the PDF - I think that is the currency symbol but for some reason the PDF font cannot display it.

    Does this happen for all commission invoices?

    Is the problem also in normal invoices?



    Kind regards,

    Stefan

  •  2
    Souk replied

    Thank you.

    My team is working on the codes provided here.

    The font in the invoice is always the same for all invoices. I would like to display the currency symbol of the particular currency it is being billed in.


    There is one more issue:

    Vendor Dashboard > Products > Add new products > save drafts.

    When I click on save drafts, it is showing Draft Saved. But it is not showing in Product Status of Drafts. Drafts Status: Blank. 

  •  2,214
    WebWizards replied

    Vendor Dashboard > Products > Add new products > save drafts.

    When I click on save drafts, it is showing Draft Saved. But it is not showing in Product Status of Drafts. Drafts Status: Blank. 

    I am not sure what the issue could be here. I took a quick video of what I see when testing:

    https://www.loom.com/share/b23dea368c104811a7fa06c52f9c60b1?sid=9129e644-f08b-4f8b-9102-dd32ac86b026

    Is it possible that you have any custom template there for products.php?


    We can check it directly on your site if you would like. For that, we would need a backend login to the site or a staging site,


    The font in the invoice is always the same for all invoices. I would like to display the currency symbol of the particular currency it is being billed in.

    Let us check this further, and I will get back to you here with another message regarding this,


  •  2
    Souk replied

    can we schedule a zoom meet or video meet so you can look into problem ?

    Drafts are not showing up inspite of saving.


    Symbols on invoices have to be sorted out.

    I also tried to upload logo on Invoice of all bills as its being generated, but it's not showing that as well. I am using PDF woocommerce plugin.


  •  2,214
    WebWizards replied

    Hi again, 


    Regarding scheduling a video meet, I'm afraid we are not able to provide live session / phone support. Our customers are in many different time zones and it's thus not very feasible for us.


    Would you be able perhaps to create, and share access to a staging site? 

    Many hosting companies offer a staging site option: such a site would be an identical clone site, but disconnected from the real live site. I would suggest to check whether your hosting has that kind of option.


  •   Souk replied privately
  •   Souk replied privately
  •   Souk replied privately
  •  2,214
    WebWizards replied

    Hi again,


    (3) 

    - " Invoice Logo of admin not showing inspite of numerous uploads. it should be on every invoice being generated on every sale."

    MarketKing normally allows each vendor to set their own logo instead of the admin logo.

    I have added a code snippet to use the admin logo:

    9073403172.png

    You can then set an invoice logo as follows: https://www.loom.com/share/703a56f695af42ce9f1086abb2e4c044?sid=da1e55ee-c854-44b9-8586-d9c51f9c407c


    (4) 

     - "I would like to add more options such as Accepted, Processing, On hold, Dispatched, Completed. the code snippet provided by you was added by my team but it created a problem that Accepted status by vendor on updating the order changed it to pending payment and froze that panel. there was no option of Pending Payment in order Status"

    I checked this now on the site. First, in Litespeed cache, it is needed to exclude the dashboard here (because otherwise it caches the order page):

    8984384360.png

    Then I modified the code snippet to also make those custom statuses modifiable:

    8080657086.png

    The snippet can be found here: https://test.soukorium.com/wp-admin/admin.php?page=edit-snippet&id=7


    I took a video to test this: https://www.loom.com/share/c16e33d7bb574ff09d080b402af6940c?sid=fb971bc5-d99c-4dd6-bf16-a513455b392c

    (5)

    "I would also like to know how can Admin have access to vendor dashboard.

    I would like to keep a check on vendors especially their invoicing details and help them set up their products in the initial stages."

    To do this, I would advise to install a Login as User plugin, such as this free one: https://wordpress.org/plugins/login-as-user/ - you can then login as each vendor directly and access their vendor dashboard or set up products for them.


    (2) 

    - "When I click on save drafts, it is showing Draft Saved. But it is not showing in Product Status of Drafts. Drafts Status: Blank.

    Pending preview products are also not showing in many vendor dashboard> products> blank.

    All these products: Drafts, pending review & published are showing on the Admin Panel."

    I think problem here was that the vendor dashboard was cached by Litespeed, and it was not showing the real live dashboard, it was showing an older cache version.

    This will work different now that I have excluded the dashboard from caching.

    I took a video of what I am seeing now: https://www.loom.com/share/380b1c6256054b47bff6655382ad0b14


    (1) Regarding commission invoices, I have added a snippet as follows:

    add_filter('marketking_use_reverse_commission_invoices', function(){
        function change_woocommerce_currency_symbol( $currency_symbol, $currency ) {
            if ( 'INR' === $currency ) {
                $currency_symbol = 'INR';
            }
            return $currency_symbol;
        }
        add_filter( 'woocommerce_currency_symbol', 'change_woocommerce_currency_symbol', 10, 2 );
        return true;    
    });
    


    It was also required to update the MarketKing Core plugin to the latest version, as the site was using an older version.

    Now I see the following for that order:

    https://www.loom.com/share/3bcb4359cef8401290cc70c3fc31c3e0?sid=ef62971d-6cf4-483e-a1e6-966c8ff9f335


    2770302415.png




  •   Souk replied privately
  •   Souk replied privately
  •  2,214
    WebWizards replied

    Hi again,

    (1) I have set this up now:

    The snippet is here: https://test.soukorium.com/wp-admin/admin.php?page=edit-snippet&id=10

    7395350491.png


    (2) I want to disable this feature of SWATCHES  SETTING

    I have added a code snippet to hide this, I believe this is no longer showing now.

    Snippet link: https://test.soukorium.com/wp-admin/admin.php?page=edit-snippet&id=9

  •   Souk replied privately
  •   WebWizards replied privately