Magento 2 edit price field in configurable product in admin panelHow to make a form field readonly using ui-components?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlCannot edit configurable product in Magento AdminData population in UI formmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Can't edit configurable product page from admin panelMagento 2.2.5: Overriding Admin Controller sales/orderEdit price field in configurable product adminMagento 2.2.5: Add, Update and Delete existing products Custom Options

What is a solution?

Why did Harry Potter get a bedroom?

Why are they 'nude photos'?

How were Martello towers supposed to work?

Multiple DUI convictions 12 years ago. Do I disclose if I know they will do a background check?

Storming Area 51

Why does the U.S. tolerate foreign influence from Saudi Arabia and Israel on its domestic policies while not tolerating that from China or Russia?

Are randomly-generated passwords starting with "a" less secure?

Why were Er and Onan punished if they were under 20?

Are neural networks prone to catastrophic forgetting?

Is a request to book a business flight ticket for a graduate student an unreasonable one?

How can I get a player to accept that they should stop trying to pull stunts without thinking them through first?

Print the last, middle and first character of your code

RPI3B+: What are the four components below the HDMI connector called?

How can a dictatorship government be beneficial to a dictator in a post-scarcity society?

Why are Hobbits so fond of mushrooms?

Ownership of a PhD Student's Research

Credit score and financing new car

Should disabled buttons give feedback when clicked?

How to md5 a list of filepaths contained in a file?

Using Newton's shell theorem to accelerate a spaceship

How can one write good dialogue in a story without sounding wooden?

Referring to different instances of the same character in time travel

How would my creatures handle groups without a strong concept of numbers?



Magento 2 edit price field in configurable product in admin panel


How to make a form field readonly using ui-components?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlCannot edit configurable product in Magento AdminData population in UI formmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Can't edit configurable product page from admin panelMagento 2.2.5: Overriding Admin Controller sales/orderEdit price field in configurable product adminMagento 2.2.5: Add, Update and Delete existing products Custom Options






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















In magento 2 admin, when we edit product page. Product price field is read only for configurable product.



So that Admin can't change product price for configurable product.



I want to make change so that admin can change product price from admin for configurable product.



enter image description here



I have created module Mymodule_ConfigurablePrice.
So, I created product_form.xml file at app/code/Mymodule/ConfigurablePrice/view/adminhtml/ui_component directory.



code in product_form.xml file is:



<?xml version="1.0" encoding="UTF-8"?>
<form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
<fieldset name="product-details">
<field name="price">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="disabled" xsi:type="boolean">false</item>
</item>
</argument>
</field>
</fieldset>
</form>


Questions:



  • fieldset name is correct? if not, please suggest.

  • code for xml is correct? if not, please suggest.

  • Else please suggest best way to
    achieve this.









share|improve this question
























  • What is your purpose of assigning configurable product price? Each configurable product's child product has their own attributes (price, quantity, etc.), that child product attributes are used in quote, order, etc.

    – Rendy Eko Prastiyo
    Apr 26 '17 at 6:46











  • Currently as a magento default. It is showing lowest price of simple product of Configurable product price on list page. I want ot change it so it will display whatever admin entered in configurable product. Configurable product => $12..... (1). Simple Product 1=> $12...... (2). Simple Product 2=> $10...... (3). Simple Product 3=> $14...... Now it will display price $10 on listing page. I want it so it will display $12(Whatever entered from configurable product). I had a log customization and based on that this is my requirement to display custom added price on front-end.

    – Gopal Kacha
    Apr 26 '17 at 11:07












  • @GopalKacha Did you get the solution? or the full module? Please share.. I am stuck in the same problem

    – Jsparo30
    Apr 23 '18 at 11:14











  • Yes, I have created module.. I will share with you.

    – Gopal Kacha
    Apr 24 '18 at 15:14











  • I have solved this issue by creating plugin method of Magento2. You can get complete detail of the module at: kachagopal.blogspot.com/2018/08/…

    – Gopal Kacha
    Aug 1 '18 at 21:13

















0















In magento 2 admin, when we edit product page. Product price field is read only for configurable product.



So that Admin can't change product price for configurable product.



I want to make change so that admin can change product price from admin for configurable product.



enter image description here



I have created module Mymodule_ConfigurablePrice.
So, I created product_form.xml file at app/code/Mymodule/ConfigurablePrice/view/adminhtml/ui_component directory.



code in product_form.xml file is:



<?xml version="1.0" encoding="UTF-8"?>
<form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
<fieldset name="product-details">
<field name="price">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="disabled" xsi:type="boolean">false</item>
</item>
</argument>
</field>
</fieldset>
</form>


Questions:



  • fieldset name is correct? if not, please suggest.

  • code for xml is correct? if not, please suggest.

  • Else please suggest best way to
    achieve this.









share|improve this question
























  • What is your purpose of assigning configurable product price? Each configurable product's child product has their own attributes (price, quantity, etc.), that child product attributes are used in quote, order, etc.

    – Rendy Eko Prastiyo
    Apr 26 '17 at 6:46











  • Currently as a magento default. It is showing lowest price of simple product of Configurable product price on list page. I want ot change it so it will display whatever admin entered in configurable product. Configurable product => $12..... (1). Simple Product 1=> $12...... (2). Simple Product 2=> $10...... (3). Simple Product 3=> $14...... Now it will display price $10 on listing page. I want it so it will display $12(Whatever entered from configurable product). I had a log customization and based on that this is my requirement to display custom added price on front-end.

    – Gopal Kacha
    Apr 26 '17 at 11:07












  • @GopalKacha Did you get the solution? or the full module? Please share.. I am stuck in the same problem

    – Jsparo30
    Apr 23 '18 at 11:14











  • Yes, I have created module.. I will share with you.

    – Gopal Kacha
    Apr 24 '18 at 15:14











  • I have solved this issue by creating plugin method of Magento2. You can get complete detail of the module at: kachagopal.blogspot.com/2018/08/…

    – Gopal Kacha
    Aug 1 '18 at 21:13













0












0








0








In magento 2 admin, when we edit product page. Product price field is read only for configurable product.



So that Admin can't change product price for configurable product.



I want to make change so that admin can change product price from admin for configurable product.



enter image description here



I have created module Mymodule_ConfigurablePrice.
So, I created product_form.xml file at app/code/Mymodule/ConfigurablePrice/view/adminhtml/ui_component directory.



code in product_form.xml file is:



<?xml version="1.0" encoding="UTF-8"?>
<form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
<fieldset name="product-details">
<field name="price">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="disabled" xsi:type="boolean">false</item>
</item>
</argument>
</field>
</fieldset>
</form>


Questions:



  • fieldset name is correct? if not, please suggest.

  • code for xml is correct? if not, please suggest.

  • Else please suggest best way to
    achieve this.









share|improve this question
















In magento 2 admin, when we edit product page. Product price field is read only for configurable product.



So that Admin can't change product price for configurable product.



I want to make change so that admin can change product price from admin for configurable product.



enter image description here



I have created module Mymodule_ConfigurablePrice.
So, I created product_form.xml file at app/code/Mymodule/ConfigurablePrice/view/adminhtml/ui_component directory.



code in product_form.xml file is:



<?xml version="1.0" encoding="UTF-8"?>
<form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
<fieldset name="product-details">
<field name="price">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="disabled" xsi:type="boolean">false</item>
</item>
</argument>
</field>
</fieldset>
</form>


Questions:



  • fieldset name is correct? if not, please suggest.

  • code for xml is correct? if not, please suggest.

  • Else please suggest best way to
    achieve this.






magento2 configurable-product adminform






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 1 '18 at 21:10







Gopal Kacha

















asked Apr 24 '17 at 12:49









Gopal KachaGopal Kacha

1711 silver badge11 bronze badges




1711 silver badge11 bronze badges












  • What is your purpose of assigning configurable product price? Each configurable product's child product has their own attributes (price, quantity, etc.), that child product attributes are used in quote, order, etc.

    – Rendy Eko Prastiyo
    Apr 26 '17 at 6:46











  • Currently as a magento default. It is showing lowest price of simple product of Configurable product price on list page. I want ot change it so it will display whatever admin entered in configurable product. Configurable product => $12..... (1). Simple Product 1=> $12...... (2). Simple Product 2=> $10...... (3). Simple Product 3=> $14...... Now it will display price $10 on listing page. I want it so it will display $12(Whatever entered from configurable product). I had a log customization and based on that this is my requirement to display custom added price on front-end.

    – Gopal Kacha
    Apr 26 '17 at 11:07












  • @GopalKacha Did you get the solution? or the full module? Please share.. I am stuck in the same problem

    – Jsparo30
    Apr 23 '18 at 11:14











  • Yes, I have created module.. I will share with you.

    – Gopal Kacha
    Apr 24 '18 at 15:14











  • I have solved this issue by creating plugin method of Magento2. You can get complete detail of the module at: kachagopal.blogspot.com/2018/08/…

    – Gopal Kacha
    Aug 1 '18 at 21:13

















  • What is your purpose of assigning configurable product price? Each configurable product's child product has their own attributes (price, quantity, etc.), that child product attributes are used in quote, order, etc.

    – Rendy Eko Prastiyo
    Apr 26 '17 at 6:46











  • Currently as a magento default. It is showing lowest price of simple product of Configurable product price on list page. I want ot change it so it will display whatever admin entered in configurable product. Configurable product => $12..... (1). Simple Product 1=> $12...... (2). Simple Product 2=> $10...... (3). Simple Product 3=> $14...... Now it will display price $10 on listing page. I want it so it will display $12(Whatever entered from configurable product). I had a log customization and based on that this is my requirement to display custom added price on front-end.

    – Gopal Kacha
    Apr 26 '17 at 11:07












  • @GopalKacha Did you get the solution? or the full module? Please share.. I am stuck in the same problem

    – Jsparo30
    Apr 23 '18 at 11:14











  • Yes, I have created module.. I will share with you.

    – Gopal Kacha
    Apr 24 '18 at 15:14











  • I have solved this issue by creating plugin method of Magento2. You can get complete detail of the module at: kachagopal.blogspot.com/2018/08/…

    – Gopal Kacha
    Aug 1 '18 at 21:13
















What is your purpose of assigning configurable product price? Each configurable product's child product has their own attributes (price, quantity, etc.), that child product attributes are used in quote, order, etc.

– Rendy Eko Prastiyo
Apr 26 '17 at 6:46





What is your purpose of assigning configurable product price? Each configurable product's child product has their own attributes (price, quantity, etc.), that child product attributes are used in quote, order, etc.

– Rendy Eko Prastiyo
Apr 26 '17 at 6:46













Currently as a magento default. It is showing lowest price of simple product of Configurable product price on list page. I want ot change it so it will display whatever admin entered in configurable product. Configurable product => $12..... (1). Simple Product 1=> $12...... (2). Simple Product 2=> $10...... (3). Simple Product 3=> $14...... Now it will display price $10 on listing page. I want it so it will display $12(Whatever entered from configurable product). I had a log customization and based on that this is my requirement to display custom added price on front-end.

– Gopal Kacha
Apr 26 '17 at 11:07






Currently as a magento default. It is showing lowest price of simple product of Configurable product price on list page. I want ot change it so it will display whatever admin entered in configurable product. Configurable product => $12..... (1). Simple Product 1=> $12...... (2). Simple Product 2=> $10...... (3). Simple Product 3=> $14...... Now it will display price $10 on listing page. I want it so it will display $12(Whatever entered from configurable product). I had a log customization and based on that this is my requirement to display custom added price on front-end.

– Gopal Kacha
Apr 26 '17 at 11:07














@GopalKacha Did you get the solution? or the full module? Please share.. I am stuck in the same problem

– Jsparo30
Apr 23 '18 at 11:14





@GopalKacha Did you get the solution? or the full module? Please share.. I am stuck in the same problem

– Jsparo30
Apr 23 '18 at 11:14













Yes, I have created module.. I will share with you.

– Gopal Kacha
Apr 24 '18 at 15:14





Yes, I have created module.. I will share with you.

– Gopal Kacha
Apr 24 '18 at 15:14













I have solved this issue by creating plugin method of Magento2. You can get complete detail of the module at: kachagopal.blogspot.com/2018/08/…

– Gopal Kacha
Aug 1 '18 at 21:13





I have solved this issue by creating plugin method of Magento2. You can get complete detail of the module at: kachagopal.blogspot.com/2018/08/…

– Gopal Kacha
Aug 1 '18 at 21:13










1 Answer
1






active

oldest

votes


















1














SIMPLE WAY OF CHANGE ANY CONFIGURABLE PRODUCT PRICE IN MAGENTO 2 CE & EE



There is a simple way change configurable product price after created product and assign its simple products.



  1. firstly require to unassigned all simple products of configurable product and change price according to your choice.



  2. After change the price successfully and now assign its simple product and save it. you find change in your configurable prodot.



    I simple way work for me with testing another way i have not find on google.



All The Best.






share|improve this answer























  • I have solved this issue by creating plugin method of Magento2. You can get complete detail of the module at: kachagopal.blogspot.com/2018/08/…

    – Gopal Kacha
    Aug 1 '18 at 21:11












  • @GopalKacha then I assume if the price of the simple products change, the admin then have to change the price of the configurable product manually?

    – Mohammed Joraid
    May 28 at 10:38













Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f171452%2fmagento-2-edit-price-field-in-configurable-product-in-admin-panel%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














SIMPLE WAY OF CHANGE ANY CONFIGURABLE PRODUCT PRICE IN MAGENTO 2 CE & EE



There is a simple way change configurable product price after created product and assign its simple products.



  1. firstly require to unassigned all simple products of configurable product and change price according to your choice.



  2. After change the price successfully and now assign its simple product and save it. you find change in your configurable prodot.



    I simple way work for me with testing another way i have not find on google.



All The Best.






share|improve this answer























  • I have solved this issue by creating plugin method of Magento2. You can get complete detail of the module at: kachagopal.blogspot.com/2018/08/…

    – Gopal Kacha
    Aug 1 '18 at 21:11












  • @GopalKacha then I assume if the price of the simple products change, the admin then have to change the price of the configurable product manually?

    – Mohammed Joraid
    May 28 at 10:38















1














SIMPLE WAY OF CHANGE ANY CONFIGURABLE PRODUCT PRICE IN MAGENTO 2 CE & EE



There is a simple way change configurable product price after created product and assign its simple products.



  1. firstly require to unassigned all simple products of configurable product and change price according to your choice.



  2. After change the price successfully and now assign its simple product and save it. you find change in your configurable prodot.



    I simple way work for me with testing another way i have not find on google.



All The Best.






share|improve this answer























  • I have solved this issue by creating plugin method of Magento2. You can get complete detail of the module at: kachagopal.blogspot.com/2018/08/…

    – Gopal Kacha
    Aug 1 '18 at 21:11












  • @GopalKacha then I assume if the price of the simple products change, the admin then have to change the price of the configurable product manually?

    – Mohammed Joraid
    May 28 at 10:38













1












1








1







SIMPLE WAY OF CHANGE ANY CONFIGURABLE PRODUCT PRICE IN MAGENTO 2 CE & EE



There is a simple way change configurable product price after created product and assign its simple products.



  1. firstly require to unassigned all simple products of configurable product and change price according to your choice.



  2. After change the price successfully and now assign its simple product and save it. you find change in your configurable prodot.



    I simple way work for me with testing another way i have not find on google.



All The Best.






share|improve this answer













SIMPLE WAY OF CHANGE ANY CONFIGURABLE PRODUCT PRICE IN MAGENTO 2 CE & EE



There is a simple way change configurable product price after created product and assign its simple products.



  1. firstly require to unassigned all simple products of configurable product and change price according to your choice.



  2. After change the price successfully and now assign its simple product and save it. you find change in your configurable prodot.



    I simple way work for me with testing another way i have not find on google.



All The Best.







share|improve this answer












share|improve this answer



share|improve this answer










answered Jan 9 '18 at 8:30









Siyaram GurjarSiyaram Gurjar

111 bronze badge




111 bronze badge












  • I have solved this issue by creating plugin method of Magento2. You can get complete detail of the module at: kachagopal.blogspot.com/2018/08/…

    – Gopal Kacha
    Aug 1 '18 at 21:11












  • @GopalKacha then I assume if the price of the simple products change, the admin then have to change the price of the configurable product manually?

    – Mohammed Joraid
    May 28 at 10:38

















  • I have solved this issue by creating plugin method of Magento2. You can get complete detail of the module at: kachagopal.blogspot.com/2018/08/…

    – Gopal Kacha
    Aug 1 '18 at 21:11












  • @GopalKacha then I assume if the price of the simple products change, the admin then have to change the price of the configurable product manually?

    – Mohammed Joraid
    May 28 at 10:38
















I have solved this issue by creating plugin method of Magento2. You can get complete detail of the module at: kachagopal.blogspot.com/2018/08/…

– Gopal Kacha
Aug 1 '18 at 21:11






I have solved this issue by creating plugin method of Magento2. You can get complete detail of the module at: kachagopal.blogspot.com/2018/08/…

– Gopal Kacha
Aug 1 '18 at 21:11














@GopalKacha then I assume if the price of the simple products change, the admin then have to change the price of the configurable product manually?

– Mohammed Joraid
May 28 at 10:38





@GopalKacha then I assume if the price of the simple products change, the admin then have to change the price of the configurable product manually?

– Mohammed Joraid
May 28 at 10:38

















draft saved

draft discarded
















































Thanks for contributing an answer to Magento Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f171452%2fmagento-2-edit-price-field-in-configurable-product-in-admin-panel%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form