![]() |
Product Option default attribute |
Post Reply ![]() |
Author | |
GreggS ![]() Groupie ![]() Joined: 06-February-2012 Location: New Jersey Status: Offline Points: 60 |
![]() ![]() ![]() ![]() ![]() Posted: 29-February-2012 at 5:02pm |
We are starting to incorporate product options on some of our products. It's really efficient compared to the current storefront we use. It's almost like we are writing code to make product options.
There is a particular option we want to add that has just one attribute. It's special terms and conditions that we add for expensive equipment; we call it Commercial Terms. We have it as an option mainly so that it shows up on the order when it's printed.
I believe everything works the way it should work. On the product page, the product option has a heading and a drop down box. If we check that its a required option they can't click "Add To Cart" until they select the one option.
I'm trying to look at it from a customer's point of view and i think they might find this annoying even if it's a couple clicks. By default in the drop down box it says "Select One." Is there a way to have a product option make one of the attributes be selected by default?
|
|
![]() |
|
Hamish ![]() Admin Group ![]() Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
![]() ![]() ![]() ![]() ![]() |
On a BTO store, in a BTO configuration that is possible, but for normal options You can make the selection of an option required.
Greg, I think I recall you having something like this requirement on one of your customer stores? |
|
![]() |
|
Greg Dinger ![]() Certified ProductCart Developers ![]() ![]() Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
![]() ![]() ![]() ![]() ![]() |
Good memory Hamish. I think you are referring to this. Gregg, look for the reference to "agreement". that is stock functionality other than the fact that we force only a single value to be an acceptable entry.
|
|
![]() |
|
GreggS ![]() Groupie ![]() Joined: 06-February-2012 Location: New Jersey Status: Offline Points: 60 |
![]() ![]() ![]() ![]() ![]() |
On that page you posted, there is the product option named "Use." The attributes under that are "Personal Use" and "Professionally Supervised" but what is currently visible is "Select One." Under that is another product option name "Agreement" with a box and the user must type in "YES" in order to add to the cart. So the steps to add the product to the cart are:
1. Click on the drop box under "Use" and select which option you want.
2. Click the text box under "Agreement" and type in YES.
3. Click the "Add to Cart" button.
Very very simple. Very very painless.
Unfortunately some of our customers(I'm pretty sure) would have issue with this. On our product page, we have a product option name "Terms and Conditions of Sale." The attribute under that is "Commercial Terms" and what is currently visible is "Select One." Basically we want what is currently visible to be "Commercial Terms."
So the steps to add the product to the cart on our site would be:
1. Click the "Add to Cart" button.
Here is a screenshot of what I see in the product options page.
![]() Edited by GreggS - 02-March-2012 at 2:10am |
|
![]() |
|
GreggS ![]() Groupie ![]() Joined: 06-February-2012 Location: New Jersey Status: Offline Points: 60 |
![]() ![]() ![]() ![]() ![]() |
I think I found the code that displays the product options. viewPrdCode.asp
1 <div><%=pcv_strOptionGroupDesc%>:</div>
2 <select name="idOption<%=pcv_strOptionGroupCount%>" style="margin-top: 3px;"> 3 <% '// Only execute when the Remove Option Feature is activated. 4 if pcv_strRemoveFeature<>"1" then %> 5 <option value=""><%=dictLanguage.Item(Session("language")&"_viewPrd_61")%></option> 6 <% end if %> Here is a page on our site.
I'm trying to get the option under "Terms and Conditions of Sale" to show "Parts Terms" right off the bat instead of "Select One." I tried changing the 5th line to <option value="" selected><%=dictLanguage.Item(Session("language")&"_viewPrd_61")%></option>
but that didn't work.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |