New Zenner
- Join Date:
- Oct 2007
- Posts:
- 5
- Plugin Contributions:
- 0
Removing [brackets] from <input name="id[x]"
Hi guys, quick question for someone who knows Zen a bit better than me.
I need to remove the brackets from the input name generated by the attributes system.
e.g.
<input name="id[2]"
would become
<input name="id2"
I've managed to get rid of the brackets by editing attributes.php, but this breaks the functionality of the attribute. Selecting the attribute before adding to cart results in no attribute ending up in the cart.
I'm assuming I need to edit another file, but can't find what to change, or where.
Please could somebody point me in the right direction! Many thanks..