magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.59k stars 9.32k forks source link

Configurable product - can not use custom options #2739

Closed dexterityzx closed 6 years ago

dexterityzx commented 8 years ago

it shows 'We can't save custom-defined options with price type "percent" for configurable product.' even when the price type is 'fixed'. Please check this.

tanya-soroka commented 8 years ago

Hello @dexteritycc , thanks for reporting this issue. Could you please tell us which version do you use?

dexterityzx commented 8 years ago

Magento 2 (Community Edition) 2.0.0

dexterityzx commented 8 years ago

untitled1

jialing1000 commented 8 years ago

I'm on Magento 2 (Community Edition) ver.2.0.2, has the same issue.

I have to work around it by removing the configurations of that product, let it turned back to simple product. Then, apply the custom options beforehand, then, to update it to configurations.

davidverholen commented 8 years ago

we have the same Problem on Magento 2.0.4.

Our Customer created a simple Product with Custom Options. After that he created Configurations and the Product became a configurable Product.

Now when opening the Custom Options tab, we get this error Message:

We can't save custom-defined options with price type "percent" for configurable product.

When I try to save the Product, the following Error Message is shown:

SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (db-3.catalog_product_entity, CONSTRAINT CAT_PRD_ENTT_ATTR_SET_ID_EAV_ATTR_SET_ATTR_SET_ID FOREIGN KEY (attribute_set_id) REFERENCES eav_attribute_set (attribute_set_id) ON DELETE C), query was: UPDATE catalog_product_entity SET attribute_set_id = ?, type_id = ?, sku = ?, has_options = ?, required_options = ?, created_at = '2016-04-27 09:17:59', updated_at = '2016-04-28 08:38:26' WHERE (entity_id=46)

Edit: The second Problem actually seems to be another issue. It's trying to update attribute_set_id to 0 which does not exist. I'll try to invesitgate and add a new issue for this

vzabaznov commented 8 years ago

Please try to check fresh magento version. If the problem still actual, please, specify it and create new bug.

vzabaznov commented 8 years ago

Hi, @dexteritycc thanks for contributing, we will close this issue as not updated more than 2 week, if this issue still reproducible please feel free to create new one.

gesell commented 8 years ago

Hi. I also have this issue in CE 2.1.0. Will Percentage Price be available in future for config. products?

Regards

sumihiro commented 8 years ago

Hi, @vzabaznov I have same issue in CE 2.0.9. When I try to update my configurable item, I get "We can't save custom-defined options with price type "percent" for configurable product." error.

2016-08-29 13 41 51

How can I update it?

pboisvert commented 8 years ago

@gesell @sumihiro i have reopened the ticket but we will need someone to provide full information per the reporting guidelines to allow us to reproduce the issue.

sumihiro commented 8 years ago

@pboisvert thanks, please give a link to the reporting guidelines.

pboisvert commented 8 years ago

@sumihiro when you click the "New issue" button you will see placeholder text that is intended as a template for bug reporting including preconditions and steps to reproduce.

sumihiro commented 8 years ago

@pboisvert This is my report.

Preconditions

  1. Amazon Linux AMI
  2. PHP 5.6.24
  3. MySQL 5.6.30 MySQL Community Server
  4. (by composer info) magento/magento2-base 2.0.9 Magento 2 Base (Community Edition)

Steps to reproduce

  1. Create an attribute set with attribute with color, named "Test Color". 2016-08-29 14 00 55
  2. Create a New Product, and select "Test Color" attribute set. 2016-08-29 14 07 50
  3. Make Configurations with "color" attribute. 2016-08-29 14 01 41
  4. Add a custom option, set "Input Type" to "Area". 2016-08-29 14 00 23
  5. Push "Save" button.

Expected result

  1. This product will be saved.

Actual result

  1. Custom option got error message, "We can't save custom-defined options with price type "percent" for configurable product.". And never be saved.
2016-08-29 13 41 51
sumihiro commented 8 years ago

@pboisvert Oops, I fix my report. The Product is saved, but never updated with error message, "We can't save custom-defined options with price type "percent" for configurable product.".

artem-dryha commented 8 years ago

I facing that issue too. Now trying to set up custom options for configurable product and even with price type "fixed" I get the message "Invalid Option Value".

Currently using 2.1.1 version

TomoNZ commented 7 years ago

Does anyone actually fix these issues? There seems to be hundreds of unresolved issues on this forum for MAgento2. Maybe it's too early to migrate from Magento1 to Magento 2!!!

HugoRojasExplogic commented 7 years ago

Same issue here, after a product it's edited and updated. There's no way to add custom option. The product has to be deleted and re-created in order to get all product properties desired

magento-engcom-team commented 7 years ago

@dexterityzx, thank you for your report. We've created internal ticket(s) MAGETWO-82379 to track progress on the issue.

vishalnyati commented 6 years ago

Hello Team , We are using Magento v2.2.1 and still getting the same issue . Can we expect any solution soon. Issue is still open even after more than year. picture998-1

pbaum83 commented 6 years ago

I found another thread with I believe to be the same or similar issue: https://github.com/magento/magento2/issues/2989

Using Magento Enterprise 2.2.2 and are experiencing problems after creating a product.

simonmaass commented 6 years ago

is there a solution yet - having the same issue in magento 2.2.5 - a configurable product with variations and if u try to create customizable options in the configrable product you get the following error:

unbenannt

ghost commented 6 years ago

We were not able to reproduce this issue. Please provide more detailed steps to reproduce or try to reproduce this issue on a clean installation

kennysinkeler commented 3 years ago

Does anyone have a (quick) fix? I have the same problem on 2.4.2