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

Shared SKU between products? #39

Open
d3vilsn0w opened this issue Apr 1, 2024 · 3 comments
Open

Shared SKU between products? #39

d3vilsn0w opened this issue Apr 1, 2024 · 3 comments

Comments

@d3vilsn0w
Copy link

Hello, is there any plugin or native support for using same SKU for multiple products?

@guangdaYY
Copy link
Contributor

There is currently no plug-in that can support the same SKU. After the upgrade, the current system does not support the same SKU by default.

@d3vilsn0w
Copy link
Author

d3vilsn0w commented Apr 2, 2024

There is currently no plug-in that can support the same SKU. After the upgrade, the current system does not support the same SKU by default.

Thanks for a quick response, you mentioned "After the upgrade" Does it mean that it used to support in the past?
I need use same SKUs for multiple products, can you refer me to best way to do it.

I modified core codebase before creating plug-in that does it. I saw front-end from product page, sends the SKUs to the backend then the product is fetched from the SKU. I modified the code to make it all work, but i am not quite sure, if a plugin can do the same, since that might require to rewrite some part of common.js BK.addCart to send additional parameter.

PS: The reason i want to do this with Plug-in development, so i can do upgrades in future as you release more versions without modifying the code internally.

@guangdaYY
Copy link
Contributor

We cannot officially handle this. You can consult other third-party beikeshop developers.

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

No branches or pull requests

2 participants