bigcommerce / b2b-buyer-portal

B2B Buyer Portal - BigCommerce B2B Edition
MIT License
25 stars 19 forks source link

Upgrade documentation without self-hosting #93

Open dio5 opened 1 month ago

dio5 commented 1 month ago

Information on upgrading from b2b stencil edition.

We are looking to upgrade to b2b-buyer portal but information on how to migrate while keeping existing extensions/code working and NOT having to self-host is limited.

There used to be a way of injection https://developer.bundleb2b.net/storefront/js.html - where we could grab the instance which then gave us access to various company info.

But I can't see any current equivalent?

There is a b2b variable but it doesn't seem to be as extensive and no documentation.

Screenshot from 2024-08-12 16-17-01

Is the only way now to self-host and change/extend the code, or maybe to get the token and then make the new necessary calls from the theme? We are doing various tweaks in the theme/cart that use b2b info.