
Making all product options + add to cart visible by default

Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
- Shopping Cart Admin
- AbleCommerce Admin
- Posts: 3055
- Joined: Mon Dec 01, 2003 8:41 pm
- Location: Vancouver, WA
- Contact:
- Shopping Cart Admin
- AbleCommerce Admin
- Posts: 3055
- Joined: Mon Dec 01, 2003 8:41 pm
- Location: Vancouver, WA
- Contact:
Hello All,
I didn't notice it initially, but a patch is attached to the following bug if anyone wants to give this a try.
http://bugs.ablecommerce.com/show_bug.cgi?id=6338
I didn't notice it initially, but a patch is attached to the following bug if anyone wants to give this a try.
http://bugs.ablecommerce.com/show_bug.cgi?id=6338
- compunerdy
- Admiral (ADM)
- Posts: 1283
- Joined: Sun Nov 18, 2007 3:55 pm
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Ditto on the thanks!
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Any word.
Yes, I would love to have the first option be the default selection.
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Posted earlier in this topic- I think this will still work to remove the blank at start of dropdown-- remove this line from producthelper.cs:
aspOptions.Items.Add(String.Empty);
aspOptions.Items.Add(String.Empty);
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Thanks
Awesome I will give it a try.
No Go
That doesn't work if you are using swatches.
- Logan Rhodehamel
- Developer
- Posts: 4116
- Joined: Wed Dec 10, 2003 5:26 pm
Don't do this if you are doing either one of the following:jmestep wrote:Posted earlier in this topic- I think this will still work to remove the blank at start of dropdown-- remove this line from producthelper.cs:
aspOptions.Items.Add(String.Empty);
using option inventory
using variant level overrides (like specifying a price for a specific option combination or marking a particular combination unavailable)
using swatches
Otherwise there probably isn't any harm. Very soon a new version of this code will be available. It improves even further the problems with Ajax and product purchase. As someone mentioned above, it's just not as cool as it should be.
Cheers,
Logan
.com
If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
Logan

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
-
- Commander (CMDR)
- Posts: 172
- Joined: Mon Oct 15, 2007 2:53 pm
- Location: Palo Alto, CA
- Contact:
Re: Making all product options + add to cart visible by default
Hello Logan,
I thought this was going to be in RC3 to show a default? Yet I looked all over the Dashboard in the Options settings and could not find anyplace to set the Default Option or Variant.
Looking at the date of your above post, it was before RC3 came out. So to make a default color show up, do we need to make the code change as per Judys post above?
Please explain where we are at now with RC3and how it will be changed ( it at all ) in the future? I think a number of people are interested.
Thanks, Don
I thought this was going to be in RC3 to show a default? Yet I looked all over the Dashboard in the Options settings and could not find anyplace to set the Default Option or Variant.
Looking at the date of your above post, it was before RC3 came out. So to make a default color show up, do we need to make the code change as per Judys post above?
Please explain where we are at now with RC3and how it will be changed ( it at all ) in the future? I think a number of people are interested.
Thanks, Don

- Logan Rhodehamel
- Developer
- Posts: 4116
- Joined: Wed Dec 10, 2003 5:26 pm
Re: Making all product options + add to cart visible by default
The "default" change in RC3 was to show all of the options by default, not to select one of the choices by default. The change Judy suggested would probably still work, but factor in the list of situations I gave when you should not do this.
Cheers,
Logan
.com
If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
Logan

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
Re: Making all product options + add to cart visible by default
Hi Judy or Logan. What is the empty option for? Is it used to force an update (such as inventory display) when an option is chosen other than blank?
Thanks,
Bruce.
Thanks,
Bruce.
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Making all product options + add to cart visible by default
I don't know, but I would like an explanation from Logan as to why it wouldn't work in some instances that he mentioned. I'm curious.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: Making all product options + add to cart visible by default
All issues would be solved if there was a default selection. (Just my two cents)
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Making all product options + add to cart visible by default
my 2 cents also.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: Making all product options + add to cart visible by default
is there any way to make aspOptions.Items.Add(String.Empty); display some text like "Select Option?" That way it isn't just blank..