Skip to content

How to run this on stencil but not run b2b from local #357

@dio5

Description

@dio5

What is the recommended way of getting this to run on local development if you are running for example cornerstone stencil from local - so just stencil start?

I do not wish to run/host the Buyerportal myself, nor do I want to work on it. I just want it to work while doing local theme development on a store that has the b2b enabled.

This used to work by just copying the rendered js (from production or sandbox env) into the base.html file on local - but lately it's giving all kinds of logout/login problems and has become an absolute nightmare to work on.

I need this to work not because I want to make changes to the B2B - but we do have things in the theme that depend on this and the whole flow with B2B is different than just on a standard theme.

FYI I have seen the documentation listed on https://github.com/bigcommerce/b2b-buyer-portal/blob/main/docs/stencil.md but that does not answer the question as I am not going to set the buyer portal to 'Custom'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions