Custom Option Validation Dependent on another Custom Option - php

I need a help to apply a validation on custom option, that is dependent on another custom option value.
Here is the image, which describes what I actually want :
Please suggest, I am using Custom Options, Not Configurable Products

For this type of products, Configurable products type is the best option. First create the attribtues as shown then create the configurable products. Actually this can be set while you create those attributes like blouse size, length and customization. Go to the admin panel. Catalog->Attributes->Manage Attributes. Here search for your attribute that are using for those COnfigurable products. Then after edit those attributes and then you can see a field like "Required Values"-> Make this as Yes. Attaching a screenshot for ur reference.
Edit the other attributes as you required. Then make an ReIndex management and clear the cache. Refresh the frontend...Hope this helps.. :)

Related

How I can add input type to attribute in Woo commerce

How I can add input type to attribute. For example I want to add option to input custom size for product. Maybe I add image and hope this will be helpful.Thank your for help!!
http://s14.postimg.org/cl6an48k1/Ughjgntitled.png
Have you tried Advanced Custom Fields Plugin?
You're able to add images, textboxes, inputs and a great deal more by attaching them to the Products post type.
Their documentation is fantastic – worth a look if you're going to customise products
http://advancedcustomfields.com/

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 Attribute Sort Order in Configurable Product

I need help with the following:
In Magento I have created a configurable product and assigned some simple products to it. They have an individual attribute set with individual, numeric attributes that I have created.
One attribute is for example "length". This attribute has the following values:
3,4,5,6,7,8,9,10,12,14,16,18,20
If I open the drop-down menu on the article details page, the values get displayed like that:
10,12,14,16,18,20,3,4,5,6,7,8,9
Thus, it seems that the attributes are saved as text (alphanumerical?) and not as numbers (numerical)?!
I need some advice on how I can change that. I have tried to work with "Input Validation for Store Owner" in "Manage Attributes", but that doesn't work. Is there f.e. any field in my database where I can simply switch the way my attributes are saved/displayed?
I have created many products and attributes, thus I don't want to re-create all of them again, if not necessary.
Thanks for any reply.
It has been a long time since you asked and might be you have already found a solution to it. I am just writing so that anyone coming on this page for the same problem does not have to go thru the same pain what i went thru.
When you create the attribute(length), you would have created the options (like 3/4/5.. etc) create the sort of that options in the attribute section and they will sort as per your requirement.

Hiding a custom option on a product in Magento

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.

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