Restrict buying of only the related product The Next CEO of Stack OverflowMini-Cart displaying Parent Product Image instead of Product ImageNeed some help with random related products codebuy “y” only if you buy “x”Programatically modify related productsMagento Rule Based Related ProductsOnly Collect in Store for Certain ProductsaddImageToMediaGallery creates two image entries while having only one fileButton with assigned product?Magento : Same Product Adds to Different Line in CartChanging logic - jQuery
Some questions about different axiomatic systems for neighbourhoods
Chain wire methods together in Lightning Web Components
Newlines in BSD sed vs gsed
Can MTA send mail via a relay without being told so?
Rotate a column
Should I tutor a student who I know has cheated on their homework?
Which one is the true statement?
Is it okay to majorly distort historical facts while writing a fiction story?
How to install OpenCV on Raspbian Stretch?
Why does standard notation not preserve intervals (visually)
How to scale a tikZ image which is within a figure environment
Reference request: Grassmannian and Plucker coordinates in type B, C, D
Why the difference in type-inference over the as-pattern in two similar function definitions?
unclear about Dynamic Binding
Are police here, aren't itthey?
What steps are necessary to read a Modern SSD in Medieval Europe?
Proper way to express "He disappeared them"
Need help understanding a power circuit (caps and diodes)
Example of a Mathematician/Physicist whose Other Publications during their PhD eclipsed their PhD Thesis
Where do students learn to solve polynomial equations these days?
If the updated MCAS software needs two AOA sensors, doesn't that introduce a new single point of failure?
Is it ever safe to open a suspicious HTML file (e.g. email attachment)?
Is wanting to ask what to write an indication that you need to change your story?
Why don't programming languages automatically manage the synchronous/asynchronous problem?
Restrict buying of only the related product
The Next CEO of Stack OverflowMini-Cart displaying Parent Product Image instead of Product ImageNeed some help with random related products codebuy “y” only if you buy “x”Programatically modify related productsMagento Rule Based Related ProductsOnly Collect in Store for Certain ProductsaddImageToMediaGallery creates two image entries while having only one fileButton with assigned product?Magento : Same Product Adds to Different Line in CartChanging logic - jQuery
I'm using Magento 2.3. I need to have the feature, where I've a two products A & B.
Now, a customer can buy product A and can buy product B only with product A. Product B cannot be sold separately.
Thus, if the customer adds product A and B, and deletes product A from the cart, then product B must also get deleted. However, if product B is only deleted, then product A must still remain in the cart.
Please suggest a solution.
Thanks.
product product-relations restriction
New contributor
Siddharth Naik is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I'm using Magento 2.3. I need to have the feature, where I've a two products A & B.
Now, a customer can buy product A and can buy product B only with product A. Product B cannot be sold separately.
Thus, if the customer adds product A and B, and deletes product A from the cart, then product B must also get deleted. However, if product B is only deleted, then product A must still remain in the cart.
Please suggest a solution.
Thanks.
product product-relations restriction
New contributor
Siddharth Naik is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Have you considered adding a configuration to product A "Include product B". This way you can buy product A separated or together with product B. The downside of this is that you will not have a separated stock, configurations, description,... for product B?
– Arno Vande Cappelle
2 days ago
@ArnoVandeCappelle Yes. However, since Product B is a separate SKU, with its own independent stock, we can't have that.
– Siddharth Naik
yesterday
add a comment |
I'm using Magento 2.3. I need to have the feature, where I've a two products A & B.
Now, a customer can buy product A and can buy product B only with product A. Product B cannot be sold separately.
Thus, if the customer adds product A and B, and deletes product A from the cart, then product B must also get deleted. However, if product B is only deleted, then product A must still remain in the cart.
Please suggest a solution.
Thanks.
product product-relations restriction
New contributor
Siddharth Naik is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I'm using Magento 2.3. I need to have the feature, where I've a two products A & B.
Now, a customer can buy product A and can buy product B only with product A. Product B cannot be sold separately.
Thus, if the customer adds product A and B, and deletes product A from the cart, then product B must also get deleted. However, if product B is only deleted, then product A must still remain in the cart.
Please suggest a solution.
Thanks.
product product-relations restriction
product product-relations restriction
New contributor
Siddharth Naik is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Siddharth Naik is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Siddharth Naik is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 2 days ago
Siddharth NaikSiddharth Naik
1
1
New contributor
Siddharth Naik is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Siddharth Naik is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Siddharth Naik is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Have you considered adding a configuration to product A "Include product B". This way you can buy product A separated or together with product B. The downside of this is that you will not have a separated stock, configurations, description,... for product B?
– Arno Vande Cappelle
2 days ago
@ArnoVandeCappelle Yes. However, since Product B is a separate SKU, with its own independent stock, we can't have that.
– Siddharth Naik
yesterday
add a comment |
Have you considered adding a configuration to product A "Include product B". This way you can buy product A separated or together with product B. The downside of this is that you will not have a separated stock, configurations, description,... for product B?
– Arno Vande Cappelle
2 days ago
@ArnoVandeCappelle Yes. However, since Product B is a separate SKU, with its own independent stock, we can't have that.
– Siddharth Naik
yesterday
Have you considered adding a configuration to product A "Include product B". This way you can buy product A separated or together with product B. The downside of this is that you will not have a separated stock, configurations, description,... for product B?
– Arno Vande Cappelle
2 days ago
Have you considered adding a configuration to product A "Include product B". This way you can buy product A separated or together with product B. The downside of this is that you will not have a separated stock, configurations, description,... for product B?
– Arno Vande Cappelle
2 days ago
@ArnoVandeCappelle Yes. However, since Product B is a separate SKU, with its own independent stock, we can't have that.
– Siddharth Naik
yesterday
@ArnoVandeCappelle Yes. However, since Product B is a separate SKU, with its own independent stock, we can't have that.
– Siddharth Naik
yesterday
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Siddharth Naik is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f267847%2frestrict-buying-of-only-the-related-product%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Siddharth Naik is a new contributor. Be nice, and check out our Code of Conduct.
Siddharth Naik is a new contributor. Be nice, and check out our Code of Conduct.
Siddharth Naik is a new contributor. Be nice, and check out our Code of Conduct.
Siddharth Naik is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f267847%2frestrict-buying-of-only-the-related-product%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Have you considered adding a configuration to product A "Include product B". This way you can buy product A separated or together with product B. The downside of this is that you will not have a separated stock, configurations, description,... for product B?
– Arno Vande Cappelle
2 days ago
@ArnoVandeCappelle Yes. However, since Product B is a separate SKU, with its own independent stock, we can't have that.
– Siddharth Naik
yesterday