Using this post you can set your product custom option on product listing page. If you want to show available product custom option on you product listing page or category page to your customer, you can easily do using this post.

You can set your custom options like color, size etc. to your product listing page or category page. You can also add your product to cart with selected option from list page. For that you just need to change in your list.phtml file of your current THEME. There is no need to change in your php file.

Our module is also available on magento connect for free. You can download here.

I've been trying to get this for some time, maybe it is a problem with Ver 1.7.0.2? Any help is appreciated. I can almost get it to work correctly Combining a few different pieces of code together. Your looks much cleaner.

Is it possible to use this to show a single product in a static block or cms page?I need to show just a single configurable product with attribute options on a static block without the all the catalogue stuff.

I can nearly get this to work but I get an error around line 115 with the code because of the comments about replacing the image. Have tried a few things but keep getting parse errors. Can anyone help with how the code should be at the start without the line about replacing the image?

Is there anyway for this to automatically update the price? So for example if one of my custom options adds $5.00 to the price, is there any way to update the price automatically before the customer add's it to the cart? Or minimally, can the price of the custom option be displayed in the drop down? This is a great modification, thank you for your work!

first i want to say thank you for that piece of code. it worked quite well out of the box for me. i got only one bigger issue.

i use an ajax cart extension fpr my magento shop 1.8.1. after adding your code the ajax extension thows an error when adding a item to the cart. after looking into your code i have seen that you use an input type=button" tag for sumbmitting the form. when i replace that input type=button tag with the magento default button tag the error is gone but i can´t add an item with options directly to the cart.

so my question, is it possible to use your code with the magento default button tag?

hello hardik can you help me? i am using a template have ajax add to cart feature. i had add code after learning your blog for show custom options on product listing page i need to add product (with selected option) in cart via ajax. can you help me?

i am using creatip theme & ajax add to cart is inbuild with theme. i made some changes after learning your blog show custom options are showing in list page. But how to add it in cart http://themeforest.net/item/creatip-responsive-magento-digital-themes/10935792

i have installed a color swatches it is working fine in product detail page but not coming in product listing pages i have tried various code but still not able to get the color swtaches on the product listing page can u help me.

I have implemented your code on list page its working fine but now i have custom option in checkbox acc. your code its only work with selection how can i set for checkbox custom option ,also please let me know about price change on choose value

Hi Hardik. Any news for a custom code to work on configurable products?This really is a pain.. I am loading "related-products" via a show/hide box in the product's view , i am able to display the configurable options there as dropdowns but any scenarios i tried after i select options and click addtocart it will redirect to the product page to "please fill required options" (although i have checked in my dropdowns) or will conflict with the main product addtocart function. I am using this in the product page view.phtml , i do not care for list.phtml categories. Thank you.

Hi,I see your post its very helpfull. i need like as below.My simple product have custom option, which are not requred. now i setted that in group product. so from group product when i do add to cart i want to send product in cart with first option auto select from custom option for every simple product.