How to add bundled products to the cart simultaneously with checkboxes in magento - magento

In Magento, I created a list of bundled products. In the frontend, along with each bundled product a checkbox is placed, so the user could select any number of bundled products with checkboxes, and add all of them in a cart simultaneously.
I wanted to know how I would be able to add all the selected bundled products to the shopping cart in a bulk.
Please check the link:
https://dl.dropbox.com/u/53435938/bundled-product-list.png
Any help would be much appreciated.

You can either:
Use ajax to post items to cart.
Use a use custom controller to add multiple items to cart (magento allows to add related items but you can't specify qty)
Maybe look at http://inchoo.net/ecommerce/magento/how-to-increase-magento-sales-with-one-simple-extension/ for inspiration on the module

Are you using the out-of-the-box bundle product type?
There is a way to setup such a bundle so that all of the items are "required" when purchasing the bundle. It should work out-of-the-box and you shouldn't have to pass anything to the add-to-cart function other than the ID of the entire bundle.
What you will want to do is edit the bundle product to have a single selectable product for each bundled option. Be sure to set the user-defined quantity to "no". See attached screenshot.

Related

Magento drop down to be selected by buyer

I am new to Magento. The website I am working on sells contact lenses and some custom attributes need to be added on the product page. Now requirement states that user has to select some prescription values from drop-down fields before adding the product to cart. I am totally lost on how to do it. This question asks the same thing:
Fields to be filled by the buyer in magento product page
But the answer points to dead link. How to retrieve some custom information from user on product page and store it along with order?
This is possible with custom option. Magento provide custom option facility. when you create custom option then it displayed on product page and you will get information from customer and that information stored in order automatically.
reference link : https://www.youtube.com/watch?v=wfZCXjWqrSM
You can create Dynamic custom option. I have answered thw whole process here:
dynamically add product custom options magento
As the Custom option applicaple to particular category. so you need to add required conditionon on precription form on product detail page.
You can manage this using custom option and there is a great module available in magento connect to achieve your goal.
http://www.magentocommerce.com/magento-connect/custom-option-manger.html

Dynamic SKU change with "Simple Configurable Products" Magento

I have the free extension "Simple Configurable Products" installed but unfortunately, any updates/responses to it over on github are slow or nonexistant.
What I need the cart to do is to dynamically update the SKU when simple products are selected within the configurable product page.
I am able to get the cart to show the configurable product SKU, but it does not dynamically update when I select any of the simple products via the dropdown menu.
How can I get around this? Thanks!
I ended up figuring this out using the steps at this URL:
http://ashpointlane.com/2011/03/magento-dynamic-sku-display-on-configurable-products/
However it wasn't totally accurate, so I also made the changes afterwards suggested here after placing in that code: Display Dynamic SKU on configurable product view Magento
It's a little more tricky also if you have a custom theme, you'll have to do some more work getting the dynamic SKU to show on the frontend, and place where you want it to display.

add-on options of product in magento?

I want to add a product with add-on options, and we should be able to manage the inventory of main product as well as add-ons. Also, its not compulsory to select add ons.
We want to add product Similiar to this product.
I have tried to implement it in two ways:
1. Using configurable products: Added a configurable product and added associated products. [Problem: Associated products becomes compulsory to select and also we are not able to manage inventory of the main product.
2. Using Bundled Products: Added a Bundled product and then assigned associated products to it. But here also we can't manage the inventory of the main bundled product.
Please help.
Use bundled product with custom changes. I dont think magento provide such functionality by default
Why doesn't a bundle product work for you?
You don't need to manage stock of the bundle product, only for the simples that are contained within.
You can set one bundle option with only the simple product that is your main product in and make it 'not user selectable qty' and 'required', then you have another product option underneath with your options, these can be a drop down or multi select and you make these 'not required' so they can choose these if they like.
Does that make sense?
I think this tutorial explains exactly what you need:
http://www.magentocommerce.com/knowledge-base/entry/tutorial-creating-a-configurable-product

Display Custom options of simple associated products in Configurable products of Magento

I have a few simple products with custom options defined for them in a Magento online shop. On the product view page, the custom options of the simple products are displayed and the page works as expected. When I associate those simple products with custom options for a configurable product, I want the custom options of the selected simple product need to be displayed on the view page. on changing the simple product in the dropdown, the custom options also need to be changed, just like the product price changes. And when adding the product to the cart, the custom options properties of the selected simple product also need to be appended to the configurable product property.
This seems to be somewhat complex. Please help me in getting this task done.
Checkout out this extension Simple Configurable Products Extension For Magento by Organic.

"Please specify the product's option(s)" in Magento.

In Magento, I am using bundled products and I have a configurable product as an associated product of the bundled product. This configurable product has 4 simple product as associated products of the configurable product.
The chain goes like:
- bundle product - configurrable product (associated with bundled product) - simple products (associated with configurable products)
Now, in the bundled product view page in the frontend, I'm getting this message:
Please specify product option(s)
although I have filled out all the required fields for all the products as required,
This validation error message occurs while adding the product to the cart.
Any advice? I've been stuck for day with this problem.
For others experiencing this message with a different product configuration...
The underlying error message can be easily reproduced via the standard Magento admin screens (any downloadable added to a group or bundle will cause it - regardless of the "link can be purchased separately" setting).
In the case of grouped or bundled downloadable products, this is a known bug (see http://www.magentocommerce.com/bug-tracking/issue?issue=10864). The bug report describes a suitable fix for these, and although it is supposed to have been patched in newer distributions, remains unresolved in Magento ver. 1.5.0.1.
To expand on Andrey's answer, if you want a configurable product in a bundle that includes required options, you'll need to modify the templates to output the product options during rendering. If there are price differences, you'll basically be rewriting the JS to support the dynamic pricing mechanism on the page.
Once the form is submitted, you'll need to modify the cart classes and controllers to support saving the product options as the items are placed in the cart. You'll also need to override pricing as before to support whatever custom pricing this entails. Make sure that the cart resource classes properly save the simple products underneath the configurable products underneath the bundle product.
I've probably missed several items. This is why it is currently not supported. :/
Thanks,
Joe
Magento does not support bundle products with selections of products that have some required options (configurables, downloadables with links, simple products with any required option and so on).
Your configuration is not valid for a system and not supported. In fact Magento does not show mentioned above products as a possible choice for bundle option selection. If you were able to make such a bundle using standard Magento admin panel - report a bug with detailed step-by-step case at http://www.magentocommerce.com

Resources