Now that you have set up your global options in the previous tutorial, you can begin to apply them to specific products. That way, your customers can order specific sizes, colors, and versions of your products. Adding options to a product is done through your OpenCart Dashboard.

  1. Log into your OpenCart Dashboard
  2. Go to Catalog > Products
  3. Select the product you want to add an option to by clicking on “Edit
  4. Go to the “Option” tab
  5. product_option_1

  6. In the box with the green+” icon, start typing the name of the “option” you created in the previous tutorial and choose the option from the auto suggest
  7. product_option_2

  8. Click on the green+” icon
  9. Depending on the option you will see different fields. Click on “Add Option Value
  10. Choose the Option Value, Stock, Price, Weight, etc. that you want to set for that product when a user chooses the specific option. Click “Save” when you have set all the option values
  11. product_option_3

OpenCart allows you to use “Options” globally. If your options are generic like colors or sizes you can use them on multiple products to save time without adding them to the options page in OpenCart. Just edit the next product and start typing the option again and the option will appear.

If you need further assistance please feel free to ask a question on our support center.  Try hosting OpenCart with InMotion Hosting!  Go to InMotion Web Hosting for OpenCart!

Continued Education in Course 101: Installing OpenCart and Adding Products
You are viewing Section 13: Adding Options to Products in OpenCart
Section 12: Setting up Options in OpenCart
Section 14: How to add Related Products in OpenCart:
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 this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

n/a Points
2014-04-28 8:42 am

product color list changing everytime i edit the colors in the colors option 

Staff
20,113 Points
2014-04-28 2:56 pm
Hello radhamani,

What type of specific behavior are you seeing when editing your options?

Kindest Regards,
Scott M
n/a Points
2014-06-05 3:29 am

I make a select option for different color and also i add some price for those different color. But in the product list details page, i show the selectbox without the options. can you please tell me the solutions?

Staff
9,384 Points
2014-06-05 9:00 am
Could you clarify exactly what you see? Be sure that the quantity is set and all options are properly configured as this article describes. I would be able to better recognize the issue with a screenshot of what you are seeing if you could provide it.
n/a Points
2014-06-26 8:33 am

hi  friend,

 

i need solution for my product options.

if i change the product type means image also change. examplely if i add 6 type of color in similar bag. if i go to change color means bag image also change.

thanks,

nesan

Staff
9,384 Points
2014-06-26 9:21 am
Functionality to change the product image when changing the options is not available within the stock OpenCart installation, but there are additional plugins that allow you to change the product image based on the options selected. I do not have experience with any of these plugins, but they should be what you are looking for.
n/a Points
2014-06-27 10:25 am

thanks a lot for your response.. 

n/a Points
2014-06-29 12:00 pm

Hi Scott, 

I'm having the same issue as Radhamani I think. I've set the global product options and added these options to my product as described in all documentation. The dropdowns appear on my product page with a default option of 'Please Select', but when clicking on the arrows, none of my options are available to select.

Please can you tell me why this is, and how to fix this issue? I have refreshed page several times and cleared cache, etc, but still no product options...

Staff
9,384 Points
2014-06-30 9:03 am
This can happen if you do not add the various option values within the product. Clicking the Add Option Value will allow you to add the various option values to the option itself.
n/a Points
2014-06-30 9:06 am

hi chalky,

i solved that issue using one vqmod file.

link here:http: //www.opencart.com/index.php?route=extension/extension/info&extension_id=10817

n/a Points
2014-06-30 10:06 am

Thanks. My issue was that I didn't specify Quantity and had Subtract Stock set to Yes, and this was resolved by setting Subtract Stock to No. I'm sure I could alternatively have simply specified a Quantity :)

n/a Points
2014-07-02 5:27 am

Hi,

How to I add the size to the colour options I have created?

Say White - medium and large

Black - small

Staff
20,113 Points
2014-07-02 7:52 am
Hello Gemin,

If you want all medium and large shirts to be white and all small shirts to be black, you can simply make the options as they are in the article and just name them as such "large white" "medium white" "small black".

Or if you wish to offer both sizes and colors as different options, simply make an option for each one.

Kindest Regards,
Scott M
n/a Points
2014-07-09 4:58 am

Hi i'm having a problem with the quantity.

Ive added 10 to the quantity, but when i try to "buy" 6 pieces it says out of stock, althought its set to 10. It work if i buy 5 pieces? but not more.

The orginal product is 5 left in stock(1kg), but i cant raise that number if a custom buys 6 of them and i only have 5 left.

Here is a screenshot

http://example.com/outofstock.jpg

Sorry for my english, hope you understand =),

best regards Andreas

Staff
9,968 Points
2014-07-09 5:57 am
Hello Andreas,

From taking a look at your screenshot, it seems that you could be editing the quantity of a different product than the one you're ordering from what I can tell. Either that or you have a special or discount activated.

It looks like the Option Value is the same of 200g (ej spole) between the item in your admin dashboard, and the one in your cart. But the Price is showing 120.0000 in your admin, and with you having 6 of them in your cart it is showing 45.00SEK as the price, and 270.000SEK as the total.

It looks like it should cost 720.00SEK if you were ordering 6 of the same product you've modified the quantity for.

If you do have a special setup, and this is the same product. I might suggest looking at the Data tab for the parent product of these options. Does it have a quantity for the product itself set to 5? I don't think that's the way it's suppose to work, but it seems like your Option Value quantity isn't what the cart is pulling, so perhaps it's basing it off the actual product with no options set?

Please let us know if this helps at all!

- Jacob
n/a Points
2014-07-09 7:39 am

I have a product named: pla filament 3mm and i have 5 of those in stock, those weigh 1kg each.I now want to sell 200g of those spools. Same product but i cut 200g of 1kg, for those who dont want to order 1kg spools.thats why its 270sek totalt, 45x6. 200gx6. I also sell those 1kg thats 195sek each.120 (ex vat) in the option is the subtraction from the price (195/1kg) so its correct for 200g. Same with the weight -0.8kg , 200g.The product itself is set to quantity of 5 left in stock. I havent any specials or discounts availible. I just want the customer to have a chance to buy a smaller quantity.Hope you understand my explanation :)Best regards Andreas

Staff
20,113 Points
2014-07-09 7:52 am
Hello Andreas,

Typically when people sell a product at different weights, they create a separate product. For instance if I sold a 5lb block of cheese and a 1lb block of cheese they would be created as two separate products. Options may be used in this case as well, but separate products tends to have less confusion and accidental purchasing of the wrong amount which can lead to more returns.

Kindest Regards,
Scott M
n/a Points
2014-07-09 10:25 am

Hi!Yepp its probably better. But do you know any solution to this problem? Is there a setting or something that i can try to change?Best regards

Staff
10,207 Points
2014-07-09 12:50 pm
Hello Andreas,

Thank you for your question. A possible option, could be to create a 200g product, then create discounts for multiple purchases.

For example: If you by 5 of the 200g products, it would be be equal to 1kg, and result in a discount.

Aside from this, you would most likely have to use a 3rd party OpenCart extension.

If you have any further questions, feel free to post them below.
Thank you,

-John-Paul
n/a Points
2014-09-30 11:33 pm

hello, need help urgently here, the "Add option value" button just doesn't work. When I click on it, there is no response,,meaning it doesnt not add the option value.

 

pls help, many thanks in advance 

Staff
20,113 Points
2014-10-01 8:47 am
Hello Raya,

This is not normal behavior for the software, meaning that there is an underlying problem. Please provide a bit more information on the issue. What version of OpenCart are you using? Did this work previously? Did you add anything to your OpenCart or make changes between the last time it worked and now? Is it for a specific product? Does it do this every time? Does it do this on multiple browsers or just one? Which browsers have you tested and what versions of the browsers are you using?

Kindest Regards,
Scott M

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

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

21 Questions & Comments

Post a comment

Back to first comment | top

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!