• Resolved tobbecokta

    (@tobbecokta)


    Hi!

    We would like to use two different pages for Svea Checkout.

    One for B2B and one for B2C.

    For the B2B page, we would like to load Svea Checkout with B2B pre choosen, and opposite for B2C.

    Is there a way to achieve this?

Viewing 1 replies (of 1 total)
  • Plugin Author The Generation

    (@thegeneration)

    Hi,

    As of now this can be achieved but only by a bit a programming.
    You can modify the data being sent to Svea by using the filter “woocommerce_sco_create_order” where you can modify “IsCompany” within “PresetValues” to be true on the page for B2B and false on B2C pages. If you’d like to lock the options you can also set “IsReadonly” to true.

    You can read more here:
    https://checkoutapi.svea.com/docs/#/data-types?id=presetvalue

    Best regards

Viewing 1 replies (of 1 total)
  • The topic ‘Pre load business or individual’ is closed to new replies.