Hiding a custom option on a product in Magento - php

I have several hundred products in my Magento store, all of which have a very similar set of custom options. I used one product as a template, and copied its custom options to all of the other products so that all of the products currently have the same set of custom options.
I would like to disable or hide certain custom options for some products in my store without deleting the option completely. Right now, I only have the ability to delete an option for a product entirely. For example, some products cannot currently be ordered in different colors, but they might be later; I'd like to be able to disable the color option rather than delete it and re-add the entire list of colors later.
Does anyone have any similar experience who can provide me with some help with this problem? Thanks, I really appreciate the help!

Using custom options for attributes like "color" is not a correct approach for Magento. Magento has special product type - Configurable product for the catalog structure you're trying to achieve.
Here's benefits you'll get from using configurable product instead of custom options:
Automatic stock management. You won't need to enable-disable your custom options as soon as some physical item is out of stock - Magento will do it for you.
You won't have to copy all custom options to a new product you create. The attribute for the Attribute set this product belongs to will automatically be available for new entries.
You will have ability to filter your products by the color attribute on Category page using Layered Navigation.
Here's the guide how to create configurable product from the official Magento wiki.

Related

Custom steps in add to cart functionality in magento 1.9

I am developing a magento store. We need two custom steps during add to cart functionality.
When we click add to cart button for a simple product, we need to open two pages with few selected options. One changing some option Price should be updated.
I am new in magento development. Please help.
Below is what we want.
Step1.
Step2
Step3
You can also use custom options for the products Go to
_admin->catalog->manage Product->[select a product]->custom options
But for each product you need to add options .
You can have an option for add price for each option and it will automatically reflected in your price.
If the pop up is necessary then you can design the custom option part in to a pop up with design customization.

How to assign extra fee to products for specific category in Magento?

I want for products of a specific category to add an additional field with extra cost for packages, as shown here: http://i.imgur.com/bm9ccBC.jpg
Is there any mechanism in Magento by which to do this or require additional module?
You can use
Custom Options
in order to fulfill your requirement.
You can add this option from the Magento admin for a particular product. Please refer screen-shot.
Click to view image
The answer that Anx submitted is absolutely right. But you'll have to assign custom option to each product of that category. If you want to repeat the same custom option in multiple products, it will be a lot of manual work.
The simplest solution to apply the same custom option to multiple products is through this free extension.
http://www.magentocommerce.com/magento-connect/custom-option-manger.html
first, apply the custom option as mentioned by Anx, and then use this extension to copy paste it to multiple products. I used it on my site and it worked fine.

Magento configurable product displayed as simple in backend

Magento version 1.9.1.0.
I've added attributes to a set. Some are applied to the simple product type and others to the configurable type.
When I create a new configurable product. I successfully got the correct attributes in the backend form. But once saved, the form renders only simple attributes on this configurable product.
The project is working on version 1.8.1.0. I've tried to disable all local modules but I keep getting this misconfiguration.
Database analysis show that all of SQL records are similar to the 1.8 database. No cache enabled. Cache folders cleaned.
Even a hint would be appreciated. Thanks !
Attributes that you selected to use for configurable product are not included within standard tabs while editing product.
Those attributes should be displayed on "Associated Products" tab of Edit product form for configurable product.
You should create simple products with different values of those (configurable) attributes and link them to your configurable product (creation as well as linking can be performed on mentioned tab).

Optional product in a Checkout Cart (/checkout/cart/)

I have created a warranty as a product in magento which has 2 custom checkbox options. This product (warranty) does not have any specific page so I would like to display both the custom options of a warranty products as checkbox when selected one of the custom option the product (warranty) also should get added to the cart. I want to display this addon product (warranty) only when the cart amount is larger then $2000. Is there any way to achieve this function without having to create a module. I have attached a screenshot below to illustrate the custom option.
without having to create a module.
No, there is not way to achieve this functionality without programming a custom module.

Magento: Nick-naming products added to the cart

I'm working on a storefront that sells bundled products, sort of like build-your-own-PCs.
Once the customer has selected their desired options, I'd like them to also give a (nick)name to the product before adding it to their cart. This would be a standard text field purely for the customer's reference.
This field will be displayed in the cart, during checkout, and in the order details once the order is submitted.
What is the best/proper way to implement this user-editable product field?
I had thought Custom Options would be best, however it states that a "Bundle with dynamic pricing cannot include custom defined options. Options will not be saved."
As I'm aware Magento doesn't have any built in way to implement this. You're options would be to find a third party extension or write a custom module.
I found and implemented the workaround shown here: http://amirshakya.wordpress.com/2012/07/08/custom-options-on-a-bundle-product-in-dynamic-pricing/ It essentially disables the warning and enforcement of that rule.
Yes, I realize this is a bit of a hack, but it works great because:
The custom option doesn't need to affect the price (which is why Magento blocks it I think)
It will show both the bundle options and the custom nickname option on the page
User selections will be saved for both

Categories