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
Option 'Titles' on Cart Display and Order Form
Author Message
Reply with quote
Post Option 'Titles' on Cart Display and Order Form 
First some possibly helpful information then a quetion on how to best use this.

I have tested using combined alphanumeric option 'numbers' on my test cart and they work fine as long as the first character(s) numeric. For example:
Code:
option|1-Name|%%product_id%%
option|2-Full Name|%%product_id%%
option|3-DOB|%%product_id%%


These work fine and display in proper order on the cart. What I need is to be able to display this information on the order form so that the form can be easily imported into the business' database for processing. Having the field names along with the content of that field would allow them to parse the file easily and extract the necessary information.

Currently when I add option_ids to the cart display, they all bunch together on a single line seperated by a { character. Where might I find the insertion point for this character and can I change it to a <br> so that it will line break after each option on the final output so that I end up with something like this on the order:
Code:
1-Name*Mary
2-Full Name*Mary Smith
3-DOB*12/12/2000

instead of the current display which looks like this:
Code:
1-Name*Mary{2-Full Name*Mary Smith{3-DOB*12/12/2000

when I tell the cart to display the option_id.

I hope this makes sense. Any help would be greatly appreciated.

View user's profile Send private message
Reply with quote
Post  
various aspects of the options are handled in 3 core files mostly:

agora.cgi

and then two files in the library dir:
agora_html_lib.pl
agora_order_lib.pl

working with options is a bit messy, i just did a bit with options code on the new security aspects I changed for pro member versions this last week.

ME


_________________
Vote Mister Ed for Prez 2012, for a REAL change.

Need Low Cost Startup Option? Try NiftyPay's Pay to Play
http://www.NiftyPay.com
View user's profile Send private message Visit poster's website
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