Okay
  Public Ticket #3511115
invoice gateway
Closed

Comments

  •  7
    Anette started the conversation

    we have a hybrid shop B2B + B2C - and one of the pages/categories requires a password to access. the category is set to be visible to both B2C users as well as the assigned group ( Juleshop 2023). In the group i have set up the payment to be invoice only.

    7959858522.png

    My question is - how do i make this rule the to be active when i also allow B2C users to login to this site/category. -it seems the B2C generel payment rules dominate.

    7748526880.png


    If I disable the B2C users - the products/kategory is not visible when entering the password giving access to the page.

    4801253446.png

    I hope you can help me out, many thanks in advance

    rgds

    Anette Lilja

  •  2,218
    WebWizards replied

    Hi Anette,

    Are you looking for a way to enable the invoice gateway, for B2C users, but only for this specific page/category ?

    Did I understand that correctly?


    Unfortunately we do not yet have a way in the plugin to have payment methods depending on which products / categories are being purchased. 

    The only similar feature we have for this is a feature to enable / disable methods based on a minimum or maximum order (For example you can set a rule that the invoice gateway is only usable for orders > $1000).


    Another option could be to replace purchasing with quotes for this category. Then instead of purchasing directly, users would add items in that category to a quote and send a quote request (and then you could manually discuss with them, send an invoice, etc).


    Let me know your thoughts,


    Kind regards,

    Stefan

  •  7
    Anette replied

    Hi Stefan

    so when i create a group - juleshop 2023 - and set the payment to invoice only, and i assign this group the the wanted page/category - I can not make that group rules to be the dominating - and "over rule" the b2c rules ?

    if i only make the page/category visible to the group -juleshop 2023 - do i then have to give people access by user role definition?  (like i do in our private shops). 

    Is this maybe possible with a snippet ?

    rgds

    Anette

  •  2,218
    WebWizards replied

    If you have a group, juleshop 2023, and this group is set to have 'invoice only', this group should only have the invoice method on all purchases. It would not matter that there is another group or b2c etc with different methods. 

    All users in the group juleshop 2023 should only have the invoice method available.

    Is the problem that you have a user in this group, but the user is seeing Mobilepay/Quickpay, not just invoice?


    Maybe it's easier if you can share a temporary access to the site and give me an example of the issue.

  •  7
    Anette replied

    i will be happy to give you access - I have sent you email to access our page.

  •  7
    Anette replied

    everyone schould be able to access the - juleshop 2023 - with a password. and all purchases will be by invoice only. my challenge is how people can access without me giving them acess by user role definition. 

  •  7
    Anette replied

    when customers chose the christmas shop in the menu - they will be asked for at password to get in, and once in the shop they can make orders by invoice only - but when i make the page/category visible to the group - juleshop 2023 - only - then the products/category is not visible on the page.


    1739066621.png
  •  2,218
    WebWizards replied

    Thank you, I can access the site,

    What password are you using for that page?


    but when i make the page/category visible to the group - juleshop 2023 - only - then the products/category is not visible on the page.

    Users in the group juleshop 2023 cannot see products or categories on the page?

    I'd be happy to check, perhaps there's a misconfiguration of the visibility.

  •  7
    Anette replied

    JUL2023 is pw for the page

  •  7
    Anette replied

    Hi Stefan

    sorry

    i did not see your question: Users in the group juleshop 2023 cannot see products or categories on the page?

    The page/category - Juleshop 2023 - does not have any users, the shop is supposed to be available to anyone who uses the login: JUL2023 , and when checking out, the only payment option should be invoice payment - therefore i created the group  - juleshop 2023 - in order to make that the only option for checkout. 

    Then if i make the category visible to juleshop 2023 only, the products are not visible to customers. If I then make the category visible to B2C customers as well as the group - then the group rules are "over ruled" by the standard B2C payment rules.

    How do i get the group rule to be the active one and "over rule" the B2C standard.

    -so that when checking out the only payment option is by invoice as defined in the group.

    I hope this makes sence.

    rgds

    Anette

  •  7
    Anette replied

    Hi Stefan

    Hope all is well. Do you need any further from me in order to help me out on this one ;O)

    rgds

    Anette

  •   WebWizards replied privately
  •   Anette replied privately
  •   Anette replied privately
  •  2,218
    WebWizards replied

    Thank you for the link, I believe the backend issue is now solved,


    Please also let me know whether the invoice gateway for juleshop is now working as you need it or not.

  •  7
    Anette replied

    Hi Stefan

    you are truly a wizard - ;) -i am back in ...

    Many many many million thanks..

    I will test the juleshop, and give you an update on how it works out... I am so gratefull for all your help.

    Till then - enjoy your day.

    rgds

    Anette

  •  7
    Anette replied

    Hi Stefan

    Amaizing work - thank you very much - the snippet works beautifully. :)

    Can we copy this snippet to work on other pages/shops if we want other pages with same possibilities for check out. ?

    rgds

    Anette

  •  2,218
    WebWizards replied

    Glad to hear that's working : ) 

    We can make that snippet apply for multiple pages / categories. If you need that kind of change, just let me know which pages or categories.

  •  7
    Anette replied

    That is brilliant. For now this is the only page/category we need to have this feature on, but i know we will need it for future projects. I will pin this ticket, at let you know next time we have the need for this.

    we can close this one,

    and once again... Thanks a million for all your help.

    rgds

    Anette

  •  2,218
    WebWizards replied

    My pleasure : ) If there's anything else I can help with, please let me know.

    Also, if you have a minute, I would really appreciate it if you considered leaving a quick rating here on our WordPress page: https://wordpress.org/plugins/b2bking-wholesale-for-woocommerce/#reviews  - it's a huge help to us

  •  7
    Anette replied

    offcourse i will help rating..

    if i could rate you 100 stars, i would..   :)

  •  2,218
    WebWizards replied

    Thank you so much, we appreciate it : )

  •   Anette replied privately
  •  2,218
    WebWizards replied

    Hi Anette,

    I have now updated the code snippet to make it apply to ELSINORE 2032 as well.

    Let me know if you see any issues please,


    Kind regards,

    Stefan

  •  7
    Anette replied

    Hi Stefan

    Everything works beautifully - thank you very very much. :)))

    Best regards 

    Anette