Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

quantity variable - change drop down menu to text field

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-16-2005, 10:29 PM
 
zilker zilker is offline
 

Advanced Member
  
Join Date: Feb 2003
Posts: 89
 

Default quantity variable - change drop down menu to text field

Anyone know how to do this? I need to change the drop down menu into a text field so people can input their own amount. This will work with products that my client chooses to sell per square foot. This will allow the visitor to purchase 1 or 1,000 square feet. It will look much better as a blank text field than a dropdown box that has 1,000 selections ~ it will also be more user friendly.

As always, thanks for your time and suggestions.
__________________
~zilker

uummm...perhaps you should tell me again.

http://www.designertrends.com
Version 4.0.6
Unix
Reply With Quote
  #2  
Old 01-21-2005, 09:10 AM
 
Lingerieblowout Lingerieblowout is offline
 

X-Adept
  
Join Date: Sep 2003
Location: Annapolis, MD
Posts: 415
 

Default Look at this

Why don't you just make a text box for that product in the description.

Look at my giftbaskets with code entered into a product this way I can have it or not have it. It using the product options word so that it saves in the DB and you can see it under admin. If you want the code for that I will paste it in a reply.

www.lingerieblowout.com

Michael
__________________
http://www.lingerieblowout.com
Version 4.1.10

http://www.topnichewebsites.com
Version 4.4.5

Michael
Reply With Quote
  #3  
Old 01-21-2005, 10:26 AM
 
zilker zilker is offline
 

Advanced Member
  
Join Date: Feb 2003
Posts: 89
 

Default

Thanks for the reply but I don't think that will work in my situation. I'm using the text field so they can enter large numbers. One project may require 5000 sq ft. That would be too much to enter into the product options field.

I figured out how to do it. I also applied a quantity validation function on the product.tpl page as outlined in this post:

http://forum.x-cart.com/viewtopic.php?t=3117&highlight=input+field

Now the only thing that I'm trying to do is validate the quantity on the products.tpl file when the buy it now function is enabled.
__________________
~zilker

uummm...perhaps you should tell me again.

http://www.designertrends.com
Version 4.0.6
Unix
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:04 AM.

   

 
X-Cart forums © 2001-2020