Text fields do not show up in exceptions. I want to make the 2 text fields inaccessible if the drop down above is set to a certain value. All the drop downs are options in the exception mode, but the text fields are nowhere to be found !
Please please please tell me there is a way to fix this
If I am understanding this correctly, there is no way to accomplish this without modification - the software does not support options contingent on other options (e.g, Giftwrap message if gift wrap option is checked). I think there have been a few threads discussing this.
You could probably add some 'if" statements to /skins/YOURSKIN/customer/views/products/components/product_options.tpl checking for specific options to avoid the display in those specific situations. However, this would require hard coding your options.
You could add a feature request to the Bug Tracker so that a more flexible solution might be provided but you will not get short turnaround unless you are willing to pay for the mod.
Bob
Thanks Bob for your inputâŚI am not sure I explained it correctly :oops:
All I was trying to do is if âNo Engravingâ is chosen from a drop down of 3 choices (for instance: no engraving, fancy engraving. block engraving) for option 3, then options 5 & 6 can be disabled. I have done this with other options, but they were not âtextâ fields. These fields are the only ones that do not appear for âexceptionsâ.
2 groupings I am using:
I make custom wedding cake toppersâŚand one of the options is âMusicboxâ. If they choose âNo Musicâ with that checkbox by leaving it blank, then the âtune choicesâ is disabled. The other is for crystal covered cake toppers. If they choose âUp to 2 colors of crystalsâ from the drop down, then the options 5 & 6 are disabled because they cover those toppers where the customer wants âUp to 4 colors of crystalsâ. If they choose the âUp to 4 colorsâ option, then options 5 & 6 are not disabled.
You can see them here:
[URL=âhttp://www.affectionately-yours.com/cs_test/crystal-covered-cinderella-carriage-cake-topper-1.htmlâ]http://www.affectionately-yours.com/cs_test/crystal-covered-cinderella-carriage-cake-topper-1.html[/URL]
[URL=âhttp://www.affectionately-yours.com/cs_test/glittering-anniversary-custom-cake-topper.htmlâ]http://www.affectionately-yours.com/cs_test/glittering-anniversary-custom-cake-topper.html[/URL]
The options at the bottom of the crystal castle piece is what I am trying to work with. If they leave âNo Baseâ as their choice, then I want to be able to disable the âengravingâ options below.
This store has not gone live yetâŚat least not with this version cart.
Sorry, I misunderstood - I read âinaccessibleâ to mean not displayed.
The problem is that the exceptions are based on variant combinations and the text option has no variants (or essentially unlimited variants).
This would require a change in the admin so that exceptions of these types could be specified. You can see the check for types Selectbox, Radiogroup and Checkbox at line 31 in /skins/basic/admin/views/product_options/exceptions.tpl:
Thanks so much BobâŚI am trying to learn the lingo & make sense at the same time :oops:
{foreach from=$i.combination item="c" key="k"}
[COLOR="Red"]{if ($product_options.$k.option_type == "S") || ($product_options.$k.option_type == "R") || ($product_options.$k.option_type == "C")}[/COLOR]
At a minimum, the exception code would need to be modified to use option_id for any option of type âTextâ, âTextareaâ or âFileâ when creating the exceptions (basically, you would substitute the option_id for the variant when creating the combination). Additional changes would be required in the exceptions handling in the storefront.
Perhaps some of the more intrepid coders can figure this all out but, in the meantime, I would enter a feature request into the Bug Tracker.
Bob
Hopefully someone will come to my, and perhaps many others, rescue with this. In the meantime I will post it as you suggested. I also have an open ticket with CS-Cart & mentioned it to the rep I have been working with.
It was just odd that the exception mode did not recognize the text areasâŚbut the way you explained made sense.
AgainâŚthank you immensely for your time & help