Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

B2B and next 14 #7737

Closed
1 of 2 tasks
hrohwer opened this issue Jun 16, 2024 · 7 comments
Closed
1 of 2 tasks

B2B and next 14 #7737

hrohwer opened this issue Jun 16, 2024 · 7 comments

Comments

@hrohwer
Copy link

hrohwer commented Jun 16, 2024

Preliminary Checks

Issue Summary

hi guys this recipe no longer seems to work, I'm wondering if it has something to do with the next 14 update?

How can this issue be resolved?

...

Are you interested in working on this issue?

  • I would like to fix this issue
@shahednasser
Copy link
Member

Hi @hrohwer can you provide more details on the issue?

@hrohwer
Copy link
Author

hrohwer commented Jun 28, 2024

Sure, if I follow the following recipe it no longer works.

https://docs.medusajs.com/recipes/b2b

My assumption is that it is due to the upgrade to next 14 separating server and client side components? But I am still learning.

The idea is to show VAT incl for B2C and vat excl B2B

@shahednasser
Copy link
Member

The recipe has code snippets for the Medusa backend, not Next.js

@hrohwer
Copy link
Author

hrohwer commented Jun 28, 2024

ok, however it implements the frontend usage of a B2B meta flag which can not be accessed?
excuse my ignorance however ....In short for some reason the recipe does not work if I follow it to the point.

@shahednasser
Copy link
Member

Do you mean the code black in the example of this section? If not please point me to the exact place that's not working

@hrohwer
Copy link
Author

hrohwer commented Jun 29, 2024

@shahednasser
Copy link
Member

Unfortunately, we don't keep blog posts updated. You can follow the steps to get a general idea of the changes you need to make in the storefront, but there's no plan on making updates at the moment.

Will close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants