ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Using ProductCart
  New Posts New Posts RSS Feed - Product Option default attribute
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Product Option default attribute

 Post Reply Post Reply
Author
Message
GreggS View Drop Down
Groupie
Groupie


Joined: 06-February-2012
Location: New Jersey
Status: Offline
Points: 60
Post Options Post Options   Thanks (0) Thanks(0)   Quote GreggS Quote  Post ReplyReply Direct Link To This Post Topic: Product Option default attribute
    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?
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 29-February-2012 at 8:51pm
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?
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 29-February-2012 at 9:13pm
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.
 
Back to Top
GreggS View Drop Down
Groupie
Groupie


Joined: 06-February-2012
Location: New Jersey
Status: Offline
Points: 60
Post Options Post Options   Thanks (0) Thanks(0)   Quote GreggS Quote  Post ReplyReply Direct Link To This Post Posted: 01-March-2012 at 11:30am

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
Back to Top
GreggS View Drop Down
Groupie
Groupie


Joined: 06-February-2012
Location: New Jersey
Status: Offline
Points: 60
Post Options Post Options   Thanks (0) Thanks(0)   Quote GreggS Quote  Post ReplyReply Direct Link To This Post Posted: 27-March-2012 at 1:07pm
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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.078 seconds.