Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Input Text Areas for Products


pixelstudios

Recommended Posts

I'm currently developing a site using osCommerce for a toy store but one of the things I need to be able to do is to let customers specify free-text options for the different products they want to order.

 

For example, the shop will sell Personalized toys, and I need to be able to let customers enter the text that they'd like on the toy (e.g. "Happy Birthday Mike").

 

Is this possible with osCommerce MS2, either in the core functionality, or using a contribution?

 

I have tried the contribution version " Product Attributes - Option Type Feature " and for some reason I cannont get it to run on our MS 2 version. Is there another fix or anything else that someone recommends? I can be reached at [email protected]

 

thanks alot!

 

Tommy

Link to comment
Share on other sites

Hi Starman, thanks for the link, however I did some research on that contribution and it doenst appear to do what I need? What is need is something that will collect the information when a customer supplys a different name for different products that they want to order (IE. a Train for Mike and a Car for John.) The information needs to transfer to the shopping cart and then to the order. The customer will input the names and any additional custom requests in these text fields. This contribution looks like it is for customer uploads and for files?

 

thanks for the help.

 

Tommy

 

 

 

 

***** For PA - Option Type Feature ****

 

This is a small enhancement to the contribution "File Upload .77 (for PA - Option Type Feature)"

 

When the customer Uploads a file for a product, there is no provision for the site admin to see it from interface.

 

Instead of going to the 'uploads' directory physically and check for the file uploaded by the user, this enhancement will facilitate the admin to view the same from the orders page. :huh:

Link to comment
Share on other sites

Hi Ed, thanks for the link. However, I posted on my first post a problem using that contribution:

 

I have tried the contribution version " Product Attributes - Option Type Feature " and for some reason I cannot get it to run on my OS Commerce MS 2 version. Is there a better fix or anything else that someone can recommends When using the supplied sylesheet.ccs file that is supplied with that contribution all images and formatting for the products is lost.

 

all help is appreciated!! thank you

 

Tommy

 

B)

Link to comment
Share on other sites

I was just reading the release notes and they say this version will work with MS 2. So it must be somthing that I am doing wrong with the install. >_< I am going to try the install again and see what happens. Is there anyone that has done this before and does anyone have any other tips?

 

thank you

Tommy

Link to comment
Share on other sites

Hi Ed, thanks for checking in. Well I have tried several times to get this right and I am just not having any luck. :'( I thought that I had the files merged correctly but there are things that are still not running right. (I'm not sure what areas not to merge?) 1st. when viewing a product (product_info.php) the page is putting the product information on the top of the page and the field to enter the name is showing up as a pull down menu and not the text field that it needs to be as well as the add to cart and function doesn't work Here is the link to the site with a empty data base and OS system. The admin area is available too.

 

www.toysfromsanta.com/catalog

 

Any and all help is greatly appreciated. If you could assist me in helping me with installing or help re-install OS or files I can be reached at [email protected]

 

thank you so much!!!!

 

 

Tommy

Link to comment
Share on other sites

Tommy,

 

First, you're missing an end comment tag. This is why the top of the page is missing.

Find:

</script> 
</head>

 

Replace with:

--></script> 
</head>

 

Second, I don't think your admin/products_attributes file is updated correctly. I'm e-mailing you my products_attributes.php. Back your's up first! Then upload mine and see if it helps.

 

ed

Link to comment
Share on other sites

Hi Ed, thanks for the info on the comment tag. The products_info.php page works great now after I made the change!

 

I tried the file you sent though and it didn't work? :( Im still trying to figure out why the fields on the product page are viewing as pull downs? these should be input fields for the customer to fill in. any ideas why this is happening?

 

thank you for all the help it's greatly appreciated! thanks!

 

Tommy

Link to comment
Share on other sites

:'( Does anyone know why the input field is showing up as a pull down menu. Everything else from the contribution seems to be working correctly except for this input function?

 

www.toysfromsanta.com/catalog

 

 

thanks for the help! :rolleyes:

 

Tommy

Link to comment
Share on other sites

Tommy,

 

It is still not set up correctly. You should have a pull down added to the upper left section of the attributes page in admin. It's not there.

 

ed

Link to comment
Share on other sites

:rolleyes: Yes!! that was the problem. The Admin file: product_attributes.php needed to have that line of code added to the code. Here is the code that needs to be put into product_attributes.php around line 414 and it works great! :rolleyes: There needs to be a new version created 1.71 for download.

 

thanks for the help!

 

 

//CLR 030212 - Add column for option type

?>

<td align="center" class="smallText"> <?php echo $next_id; ?> </td>

<td class="smallText" colspan="2"><?php echo $inputs; ?></td>

<?php // Line that seems to be missing is the very next line below ?>

<td class="smallText"><?php echo draw_optiontype_pulldown('option_type'); ?></td>

<td align="center" class="smallText"> <?php echo tep_image_submit('button_insert.gif', IMAGE_INSERT); ?> </td>

<?php

echo '</form>';

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...