Bundle product: Add to cart instead of select optionadd to cart button to refresh the pageBundle products add to cart issueMagento 2: How I can add Configurable products to cart from category view with selected optionsMagento 2 add to cart button validationMagento 2 : Configurable Product Quick Add to Cart Not WorkingWhy the product button aren't adding into the cart?add custom quantity in cartCustom Add to Cart on Bundle product page: Magento2How to add custom option before adding to cart by code in Magento 2?Add existing custom option to cart item if the option was not included initially
What is the most efficient way to write 'for' loops in Matlab?
Suggestions for protecting jeans from saddle clamp bolt
Isolated audio without a transformer
Vertical tennis ball into fancy new enumerate
Why force the nose of 737 Max down in the first place?
TSA asking to see cell phone
What are the different qualities of the intervals?
Could the rotation of a black hole cause other planets to rotate?
How can I rectify up to 85 kV
Send a single HTML email from Thunderbird, overriding the default "plain text" setting
Is there a wealth gap in Boston where the median net worth of white households is $247,500 while the median net worth for black families was $8?
Is a topological space considered to be a class in set theory?
Seaborn style plot of pandas dataframe
Does a Rogue's Evasion work for spells?
Is there an antonym for "spicy" or "hot" regarding food (NOT "seasoned" but "spicy")?
Use cases for M-0 & C-0?
Converting 8V AC to 8V DC - bridge rectifier gets very hot while idling
How did Mysterio have these drones?
Why was Sauron preparing for war instead of trying to find the ring?
Correlation length anisotropy in the 2D Ising model
If my pay period is split between 2 calendar years, which tax year do I file them in?
Assuring luggage isn't lost with short layover
What is the use of で in this sentence?
What do I do with a party that is much stronger than their level?
Bundle product: Add to cart instead of select option
add to cart button to refresh the pageBundle products add to cart issueMagento 2: How I can add Configurable products to cart from category view with selected optionsMagento 2 add to cart button validationMagento 2 : Configurable Product Quick Add to Cart Not WorkingWhy the product button aren't adding into the cart?add custom quantity in cartCustom Add to Cart on Bundle product page: Magento2How to add custom option before adding to cart by code in Magento 2?Add existing custom option to cart item if the option was not included initially
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I want to add add to cart on product detail page instead of select option, how can it be done?
As of now it shows select option on product detail page , but i want add to cart button that will just add item to cart with all available options
Please guide me way to do this.
Will adding below code work?
onclick="productAddToCartForm.submit(this)"
addtocart bundled-product
add a comment |
I want to add add to cart on product detail page instead of select option, how can it be done?
As of now it shows select option on product detail page , but i want add to cart button that will just add item to cart with all available options
Please guide me way to do this.
Will adding below code work?
onclick="productAddToCartForm.submit(this)"
addtocart bundled-product
add a comment |
I want to add add to cart on product detail page instead of select option, how can it be done?
As of now it shows select option on product detail page , but i want add to cart button that will just add item to cart with all available options
Please guide me way to do this.
Will adding below code work?
onclick="productAddToCartForm.submit(this)"
addtocart bundled-product
I want to add add to cart on product detail page instead of select option, how can it be done?
As of now it shows select option on product detail page , but i want add to cart button that will just add item to cart with all available options
Please guide me way to do this.
Will adding below code work?
onclick="productAddToCartForm.submit(this)"
addtocart bundled-product
addtocart bundled-product
edited Mar 5 '16 at 13:19
Anna Völkl
15.8k3 gold badges50 silver badges136 bronze badges
15.8k3 gold badges50 silver badges136 bronze badges
asked Mar 5 '16 at 13:04
mcodermcoder
4081 gold badge10 silver badges32 bronze badges
4081 gold badge10 silver badges32 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
The trick is to configure the bundle so that there is only one possible combination:
Fore each single item, create a separate option with only one selection. Choose the type "checkbox" and make it "required".
Then no "select options" shows up and the customer can add the product directly to the cart.
add a comment |
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
);
);
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%2f104843%2fbundle-product-add-to-cart-instead-of-select-option%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The trick is to configure the bundle so that there is only one possible combination:
Fore each single item, create a separate option with only one selection. Choose the type "checkbox" and make it "required".
Then no "select options" shows up and the customer can add the product directly to the cart.
add a comment |
The trick is to configure the bundle so that there is only one possible combination:
Fore each single item, create a separate option with only one selection. Choose the type "checkbox" and make it "required".
Then no "select options" shows up and the customer can add the product directly to the cart.
add a comment |
The trick is to configure the bundle so that there is only one possible combination:
Fore each single item, create a separate option with only one selection. Choose the type "checkbox" and make it "required".
Then no "select options" shows up and the customer can add the product directly to the cart.
The trick is to configure the bundle so that there is only one possible combination:
Fore each single item, create a separate option with only one selection. Choose the type "checkbox" and make it "required".
Then no "select options" shows up and the customer can add the product directly to the cart.
answered Mar 5 '16 at 18:17
Fabian SchmenglerFabian Schmengler
55.8k21 gold badges148 silver badges365 bronze badges
55.8k21 gold badges148 silver badges365 bronze badges
add a comment |
add a comment |
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%2f104843%2fbundle-product-add-to-cart-instead-of-select-option%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