jpweber Posted June 28, 2006 Posted June 28, 2006 Hello all. I'm a novice to PHP, but not HTML, and my OSC is coming along great so far. I've set it up, have added products, images, etc., and edited the layout. It's great so far! BUt I have run into my first major roadblock. I sell various mounts that go into factories on assembly lines. Now I know how to make standard html forms, and types of <input> things. When an end-user clicks on a fixture, they have the option to buy it. That's great. But what I'd like to do is set it up so that they can see the mount, and underneath that, they will have these options/forms, so that I know what to build them. If they wish, they can fill out the 3 forms I provide below, and then purchase -- or they don't have to fill 'em out and they can still purchase. Here are the three forms I would like to include (if possible): Number of holes: 1 2 3 4 5 <------------- they should have to check off one of 'em Dimesnsions of holes: ( ? )cm ( ? )inch <------------- The should be able to fill in how many inches their holes are Any additional notes: <----------------- Let end-user put a couple sentences in case they need to specify Can these things be submitted with their purchase? It won't affect the price, and I'll let 'em know that on the website. But can I receive an e-mail, or whatever, telling me if they filled out these forms, and what they filled out? Additionally, would I have to create more tables in my database, or tinker with the database at all? That's kinda scary to me. Well, this is a tough one; I know it, so anyone who can take the time to read this, understand this, and offer me a solution would be greatly appreciated! J Jason Simple 1-2-3 Intructions on how to get, install and configure SSL The Google Sandbox explained Simple to follow instructions on how to change the look of your OSC How To Make A Horrible OSC Website my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...
Guest Posted June 28, 2006 Posted June 28, 2006 The Custom Computer Creator contribution should do what you need, I don't know of an working example for you to see though. There might be some images that come with the file.
Terra Posted June 28, 2006 Posted June 28, 2006 I think you've got two options - either make clever use of attributes (if you can predefine the choices) OR you need to tinker with the database. There are various attribute contribs around which give you a better layout etc. so might be worth checking those out. The hardest part is the free text field - you've already got a comments field during checkout but that's order-specific, not product-specific. If that isn't enough, then you'll need to amend the product tablebase structure to contain extra fields. all the best, Terra My code for combining PayPal IPN with ** QTPro 4.25 ** osC Affiliate ** CCGV(trad) and how to solve the invoice already paid error General info: Allow customer to delete order comment ** FTP Programs & Text Editors ** Amending order email **
Guest Posted June 28, 2006 Posted June 28, 2006 you can use one of the attributes contributions where the visitor has the ability to enter information. http://www.oscommerce.com/community/contributions,160
Recommended Posts
Archived
This topic is now archived and is closed to further replies.