I am just now learning JavaScripting... I have chosen to use the jQuery Library just because I have been able to find lots of plug-in's for it and it seems easy to understand so far.
I have created (with some help for another forum 'cause this one or one like it didn't exist before) a kick butt script that functions a bit like the "Attributes" feature of the ecommerce module but would be more conducive to the High number of options my client wanted to offer on every product.
Too much duplication.
So my idea was to include in the Large Product template a scrollable lists (a list per choice - 4 choices) with radio buttons for each option. When selected the radio button would update the {tag_capturedetails} Which by the way renders a text field called
- Code:
I got it working on a test page... http://cutiepetutiejewelry.designedbyjeff.com/test.htm
but to my dismay found it not working when I pulled up the a sample product...
Arrrrrg!!!!! Come to find out that there was a conflict. Business Catalyst uses JavaScript too and when the shopping cart is activated you will notice that there is a lot of other scripts being referenced in the head as well. My script was using code that was being used in this other script and because the BC script was listed first mine was canceled out.
SO if you plan on using script in BC it is a good idea to try and be unique in your naming conventions for name= and id=.
and
use a javascript library that BC uses.
Hope this helps.
Last edited by Admin on Mon Jun 01, 2009 9:04 am; edited 1 time in total (Reason for editing : clarify)


» Conflicting Script
» State Drop Down for US