Custom Checkout Fields - required check box for disclaimer

General ShopSite user discussion

Custom Checkout Fields - required check box for disclaimer

Postby Metolius Climbing » Wed Aug 08, 2012 8:41 am

I was asked by my boss if there is a way to have a disclaimer document you must check to agree to before an order can be processed. We make safety equipment and we want the buyer to understand if the equipment isn't used correctly they could be injured. I see the Custom Checkout Fields look like they could display a checkbox but how would I display the disclaimer document? Thanks
Metolius Climbing
 
Posts: 36
Joined: Mon Apr 27, 2009 12:52 pm

Re: Custom Checkout Fields - required check box for disclaim

Postby BFChris » Wed Aug 08, 2012 9:06 am

Once activating the custom field in the backoffice, you need to put the information (including the code to display the Checkbox) in one of the "text on checkout page" fields.

Like:

Code: Select all
<p align="center"><input name="field01" type="checkbox">Your disclaimer/agreement or link to it.</p>
Last edited by BFChris on Wed Aug 08, 2012 9:08 am, edited 1 time in total.
~~Barefoot Chris
--------------------------------
Barefoot Chris Web Design
www.barefootchris.net
--------------------------------
BFChris
 
Posts: 322
Joined: Mon Oct 09, 2006 3:28 pm
Location: PA

Re: Custom Checkout Fields - required check box for disclaim

Postby loren_d_c » Wed Aug 08, 2012 9:08 am

See also the 'Store Policy Checkbox' example in the Custom Checkout Fields documentation:

http://www.shopsite.com/help/11.2/en-US/sc/pro/custom.checkout.examples.html

-Loren
loren_d_c
 
Posts: 2572
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Re: Custom Checkout Fields - required check box for disclaim

Postby Metolius Climbing » Mon Jan 28, 2013 2:09 pm

Okay I have our disclaimer/release up and running but if the box is not checked a message come up "Please specify a valid value for the release" What do I put in the Invalid value field? Just a plain text message?


I got it figured out. I just changed the message to read " Please complete the required field: release checkbox" which made more sense than specify valid value to me. And I added a blue * to indicate it's a required field. I put it at the bottom and then added a <hr> tag to give it it's own space separate from the credit card fields.
Metolius Climbing
 
Posts: 36
Joined: Mon Apr 27, 2009 12:52 pm

Re: Custom Checkout Fields - required check box for disclaim

Postby Jim » Mon Jan 28, 2013 3:21 pm

From the help for Custom Checkout fields http://www.shopsite.com/help/11.3/en-US/sc/pro/custom.checkout.fields.html

Invalid Value - Enter the text of any invalid value for fields that have the Req. attribute set, specifically select lists or radio buttons. It is quite common for the first entry in a select list to be instructions to the customer, such as "Select a color," but that value is not valid if the field is required. Enter that same text in this parameter, and ShopSite will compare it with the value returned from the input field and prompt the customer to make a selection before continuing.

If you have a checkbox and have the Req field checked the shopper will not be able to checkout if the box is unchecked. So in this case I think you just leave the Invalid Value field blank. Since you received the message "Please specify a valid value for the release" it is indicating that you called the checkbox "release" and the shopper had not checked the box. The "Please specify a valid value for" text is used for all fields so perhaps renaming "release" field to something more descriptive would help it be more easily understood. Maybe call it "release checkbox" of something similar.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah


Return to User Forum

Who is online

Users browsing this forum: No registered users and 96 guests