Removing product from item-options in magento checkout cart - magento

Is it possible to show up the product separately in checkout/cart ,
I like to show up item-options added product separately, Is it possible in checkoout/cart ?
Please check this screenshot : https://docs.google.com/file/d/0BxQWcg4HaqrsUEgwV2o1V09zUGs/edit?usp=drivesdk , Thanks.

What added in the screenshot is a configurable product. I think what you are looking for is having 3 different line items in cart : 1)Actual Product 2) Plug 3) Cable
If you want to do so in 2 ways :
1) Override addAction in CartController.php and check if item is a configurable product. Load its simples and add them to cart instead of their parent configurable product.
2) Instead of having a configurable product, you can integrate a functionality something called freebie in which you will specify items you with the main product in backend. Override addAction in CartController.php and load the freeitems when their parent is added to cart. Add them to cart with the main product which will make different line item entries for all 3. Freebie functionality is not default in magento but you can get good modules for free in magentoconnect

Related

How to remove information in Magento catalog, but only for specific product type

I am wondering how can I delete this two divs -
in Magento catalog, but only for specific product type. In short, I would like to have product type which would appear in catalog only with product-image and product-name, without - price, Out of stock, Add to Wishlist, Add to Compare.
It's possible to load different layout updates depending on loaded product type. You can see an example of how it's done in Magento for configurable products here: https://github.com/LokeyCoding/magento-mirror/blob/magento-1.7/app/design/frontend/base/default/layout/catalog.xml#L275-L287
It's possible because view action of product controller makes this to be executed: https://github.com/LokeyCoding/magento-mirror/blob/magento-1.7/app/code/core/Mage/Catalog/Helper/Product/View.php#L59-L60
You can change the design for any product from the admin.
You need to create a separate theme with a different product page which will have only the attributes you would like.
Then you can select the design for that specific product. Please see the screenshot, how you can change design for any product

make configurable product options independent on product view page --Magento

I am working on a Magento project and I need to know if there is a way to make a product's options independent to each other or unrequired. I need to use one of several at a time (I have 6 dropdowns).
I have tried add to cart by query string but all dropdown values were still required. I also tried to make all the options default, then modify the selected options in the observer, but I did not meet with success. See the screenshot below for more details.
Any help will be appreciated
Screenshot http://secure.justhost.com/~sharpwe1/img/imf.png
Configurable Products in Magneto are only parent products of Simple Products. Whatever you have as an attribute of a Configurable - a Simple Product has to be present for each. To do this out of the box in Magento, you should be looking into setting up a Simple Product with Custom Options.

How to save additional attributes when purchasing a product?

I have products in Magento which are heavily customized by the manufacturer (i.e. color) but these attributes do not change the product price. For example you can select white or blue product, but the price is the same. I have 4-5 similar attributes for the product, which customer selects via javascript, and gets a preview right there on the Product view page.
Any idea how to pass these attributes on (to the following steps in the checkout process), so that I can a) show them in the Shopping Cart (under product name) b) get them in the order and admin module (where I need to regenerate preview again, this time for the merchant).
I already have a custom module so if I have to override some Magento code and/or templates that is fine.
You could:
Create a custom module that add these options programmatically to additional_options when your items are added to cart. See Add options to quote item
Create custom option for each product or configurable products. See Adding Custom Product Options in Magento

Hide buy button in product page in same products

I have one issue. It's able to make in magento that in some products don't show add to cart button. Because I want make these products just informational and not buyable.
Is any hack in magento like this?
You could add a custom attribute to your products that would mark them as not available for sale. After doing this, you can just modify your templates to not show the buy/add to cart buttons if the attribute is set to true.
Of course, good practice would suggest that you also prevent these products from actually being added to the cart manually, just hook an observer to the card add event and check for the attribute and skip if it's set to true.
It's not necessary to customize code
just set product stock 0 then enable Display Out of Stock Products
set product stock 0
Enable Display Out of Stock Products
Set Minimum Qty Allowed in Shopping Cart to 1
that's it.
When customer want to add product to cart, the system will not accept is because of the stock level.
PS : I suggest this technique is because of your request which you specified "but buyable" in your question.
Here is the extension Click here for extension which I guess is suitable for your question:
Call For Price

Add two products to magento Shopping Cart simultaneously on click of add to cart button

I have been working on a LiftSuggest - an automatic Product Recommendations generator.
Now,I have introduced a bundling functionality which will bundle two products and assign discount.
For example,
On product page of A of the client's site,I(LiftSuggest) displays a bundle Saying "Buy A and B together and avail 10% off on net value". Now, when the user clicks on the add to cart button , I want both the products to be added simultaneously to cart. I had implemented the solution proposed on this link, but I need the products to be added on click of add to cart button,without entering the quantity or providing the check box.Just imagine that you can see a box( container) containing two products and on click of add to cart button-in that div container itself, both of them should be added to cart.I can make out that I need to store both the products in session, but I don't know exactly how to proceed.
Scripting language used:PHP
Please Help!
There are cart rules for various shopping carts. You can manipulate those rules through coding and achieve the desired output.

Resources