The Official Website of AgoraCart and Agora.cgi
AgoraCart.com Demos Download AgoraCart User Manuals & Wiki Gold Members Forum Go Gold Now! Gold Version Memberships

AgoraCart.com

About
Features
Download
Payment Gateways
Send a Donation
Founders Club
BLOG: News & Updates

Showcases & Demos

AgoraCart Demos
Shop Live Stores

Downloads & Add-ons

Gold Version Downloads
DBwizz Database Mgr.
AgoraCart.com Store

Help & Support

User Manuals
Gold Version Users Forum
Gold Version Chat
Tech Support
Certified Agora Pros
Certified Designers
Hire a Freelancer

Gold Version Members

Member Benefits
Join Today!
Gold Members Home
Gold Version Users Forum
Gold Version Chat Rooms
Gold Version Downloads

For Store Owners

Merchant Accounts
Cool Resources
Advertise Here
"Powered by" Logos
Web Hosting Search

Misc.

Contact Us
MEET's Talking Guide
The Ancient Greek Agora






AgoraCart Free User Forums

This is the official FAQ and Cool Tips guide For the AgoraCart shopping Cart software


Official Sponsors of the AgoraCart Project:

       


RegisterSearchFAQLog in
Reply to topic Page 1 of 1
How can I disable the checkout form validation?
Author Message
Reply with quote
Post How can I disable the checkout form validation? 
Hi,
I want people to be able to gather items into their cart, proceed to checkout and sumit a list of their items and contact info without having to select or submit payment info. Sounds wierd I know. I have tweaked the look of the offline order form not to show pament related fields, but is there a file I can tweak to turn off the form validation? Thanks for your help. :twisted:

View user's profile Send private message Visit poster's website
Reply with quote
Post  
i assume you're using the offline checkout files... so what you'll want to do is to open up the Offline-order_lib.pl file from your libary folder and about 1/10 of the way down you'll see a function called Offline_fields... inside of that just edit the @sc_order_form_required_fields variable....

Reply with quote
Post  
Thanks Eric,
Do you know exactly how to tweak it or what to take out? I found where you were talking about and tried removing anything that looked like it might be forcing the payment issue, but it's still not working. I'm a little out of my element reading / writing scripts.

Thanks again for your help.

View user's profile Send private message Visit poster's website
Reply with quote
Post  
well as always make sure you have a back up copy of the original.... then the fileds you'll want to remove are....
Code:
Ecom_Payment_Card_Type
Ecom_Payment_Card_Number

and you'll also want to remove
Code:
if ($sc_paid_by_ccard =~ /yes/i) {
   push(@sc_order_form_required_fields,"Ecom_Payment_Card_ExpDate_Month");
   push(@sc_order_form_required_fields,"Ecom_Payment_Card_ExpDate_Year");
   push(@sc_order_form_required_fields,"Ecom_Payment_Card_CVV");
 }

and that should do the trick for ya.....

Reply with quote
Post  
Did you get this working? I guess I'm not certain as to what you want to do but I have a thread that has info regarding taking out credit card info.

http://www.agoraguide.com/faq/viewtopic.php?t=97


_________________
Carol aka SouperMom
http://www.soupermom.com
View user's profile Send private message Visit poster's website
Reply with quote
Post  
No, I haven't yet. I stopped messing with it because it's not an immediate concern at the moment. I have a "potential" customer that wants shopping cart functionality in terms of gathering prop rental items into a cart and submiting the list for a price quote. I actually had come across the thread you mentioned and tried that but still couldn't get it to work, I'm sure it's just me doing something wrong.

You seem to know your stuff, maybe you could help me with this -
I want to be able to put a paragraph of text at the top of my product page but I don't want it in the header file because I only want it to appear on the product page and not the cart page. No matter how I try to place it into the product inc file it just ends up being generated as many times as there are products. Is this possible, or is there a way to set up multiple headers?

Thanks for the reply and any insight you may have on this other issue!

View user's profile Send private message Visit poster's website
Reply with quote
Post  
what you'll want to do is to edit the productPage.inc file from the html-templates folder... that is the one that controls the layout of the products... if you want a paragraph of text i would probably put it at the top of the file before the following line
Code:
<!--agorascript-pre
the first line will be part of a table... so you'll want to form it like so
Code:
<tr><td colspan=3>put something here</td></tr>
That should do the trick for ya....

Best of Luck

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum