In this guide we will show you how to add a product attribute to your osCommerce website. This allows you to add additional options to an existing product. For example you can sell a T-shirt and add more options, such as colors, and let customers choose from a drop-down menu. You can also add additional prices for the attribute, for example extra large shirts can cost $4.00 more than a large, and a small can be $3.00 less.

This will be accomplished in the osCommerce Admin section by creating a new Product Option, adding values to the option, then adding the option to the product.

Creating a Product Attribute & Adding Values:

  1. Login to the Admin section of osCommerce.
  2. Click the Catalog option in the menu, then click Products Attributes.
  3. In the blank field under Product Options enter your new attribute, then click the Insert button.
  4. Now, click your new Option Name under the Option Values section, and enter the new option to the right. Click the Insert button to save, then repeat for additional options (in my tests I added Black, and White color options).

Add an Attribute to a Product:

  1. Under the Products Attributes section, choose your product from the drop-down box (in my test I am choosing T-Shirt).
  2. To the right, click the Option name from the drop-down menu (in my tests I am choosing Color).
  3. Beneath the Option Value section choose your option (in my tests I selected Black).
  4. Under the Value Price menu, enter the price difference, then enter a '+' or '-' under the Prefix field if you want to add or subtract.
  5. Click the Insert Button to save.
    Before:


    After:


Congratulations, now you know how to add a Product Atttriubte in osCommerce!
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve our Support Center:
Email Address
Optional, but our team may contact you for more information.
Like this Article?

Comments

Post a comment
2014-01-12 10:33 am
Hi there,
Very useful info.
I suppose you could also apply a similar command to a few products, or a category, or products from one producer only.
It would be great if someone could point out how it would be done..

many thanks
Staff
10,078 Points
2014-01-13 11:25 am
Hello marcelezaaa,

Thank you for your question. It appears that by default, osCommerce does not have the ability to add attributes to all products in a category or for a single producer all at once. There may be an addon that can handle that funtion, however I did not see one during my initial search.

Kindest Regards,
Scott M

Post a Comment

Name:
Email Address:
Comment:
Are you a bot?
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Write New!
Do you want to publish a tutorial to our support center?

News / Announcements

SSL Certficate Warnings
Updated 2014-04-14 11:34 am EST
Hits: 2229
Heartbleed 0-day OpenSSL security bug
Updated 2014-04-14 04:43 pm EST
Hits: 5653

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!