The Foxy forums are on the move!

We're in the process of moving our forums over to a new system, and so these forums are now read-only.
If you have a question about your store in the meantime, please don't hesitate to reach out to us via email.

You must specify a name to add a product to your shopping cart.

newismnewism Member
in Bugs & Feature Requests edited March 2008
Hey Guys,

I am receiving this error when trying to add a new product to a cart: "You must specify a name to add a product to your shopping cart."

My form code looks like:
<form name='coolcommerce_21' method='post' action='' class='foxycart'><input type="hidden" name="phpMyAdmin" value="fbc82b46d67e062279320c2d5bfa4a74" />
<input type='hidden' name='sku' value='21' />
<input type='hidden' name='category' value='accessories' />
<fieldset><input type="hidden" name="phpMyAdmin" value="fbc82b46d67e062279320c2d5bfa4a74" />
	<div class='price'>Price: $120.00</div>
	<div class='select'>
		<label for="product-URBR01-Colour">Colour</label>
		<select name="Colour" id="product-URBR01-Colour" class='product-colours'>
			<option value='Nero' class='nero'>Nero</option>
			<option value='Chalk' class='chalk'>Chalk</option>
			<option value='Slate' class='slate'>Slate</option>
			<option value='Rose Quartz' class='rose_quartz'>Rose Quartz</option>
			<option value='Fuschia' class='fuschia'>Fuschia</option>
	<div class='text'>
		<label for="product-URBR01-quantity">Quantity</label>
		<em>* is required</em>
		<input name='quantity' type='text' size='3' value='1' id="product-URBR01-quantity" />
	<div class='button'>
		<input type='submit' name='submit' value='Add to Cart' />

"Colour" is a custom field which is associated with the product.

This is happening on both Safari 3.1 and firefox 2.

Any ideas?
  • brettbrett FoxyCart Team
    Could you whisper me the URL?
  • I would love to but its actually running on my local machine at the moment
  • I just opened up that page so you can see :)
  • <input type='hidden' name='name' value='Carmilla Rose Bangle' />

    Might help :)
  • Just for anyone else ... I am using CoolCommerce with EE 1.6.2. If your item is not marked as shippable the name hidden field doesn't seem to be added to generated form
  • lukeluke FoxyCart Team
    That sounds like a CoolCommerce bug. Have you contacted them about it?
Sign In or Register to comment.