Magento Configurable Product Page Update Custom Dropdown With Attribute ValuegetAttributetext() not working when there is only one value?Get stock values for bundled product in product gridAdd/Edit Product - Append selected attribute value to product titleNeed to get Simple Products with Configurable Option from Configurable ProductGetting custom attribute value from simple product load based on product collectionLeast selling special price should display on configurable product view pageset custom dropdown attribute for customerAdding custom options, to custom attribute ( Magento 1.9)How to get value of custom dropdown product attribute?Magento 1.9: validate custom attribute

Out of scope work duties and resignation

Which US defense organization would respond to an invasion like this?

Is “snitty” a popular American English term? What is its origin?

Endgame puzzle: How to avoid stalemate and win?

Feasibility of lava beings?

Should I simplify my writing in a foreign country?

What do "Sech" and "Vich" mean in this sentence?

How long would it take for people to notice a mass disappearance?

What was the first story to feature the plot "the monsters were human all along"?

Has a commercial or military jet bi-plane ever been manufactured?

How should I tell my manager I'm not paying for an optional after work event I'm not going to?

My first C++ game (snake console game)

Install LibreOffice-Writer Only not LibreOffice whole package

Can you use "едать" and "игрывать" in the present and future tenses?

A factorization game

Which sphere is fastest?

Will 700 more planes a day fly because of the Heathrow expansion?

How to deal with employer who keeps me at work after working hours

Why is my arithmetic with a long long int behaving this way?

Where are the "shires" in the UK?

When an imagined world resembles or has similarities with a famous world

How can Internet speed be 10 times slower without a router than when using the same connection with a router?

Is disk brake effectiveness mitigated by tyres losing traction under strong braking?

Are the Night's Watch still required?



Magento Configurable Product Page Update Custom Dropdown With Attribute Value


getAttributetext() not working when there is only one value?Get stock values for bundled product in product gridAdd/Edit Product - Append selected attribute value to product titleNeed to get Simple Products with Configurable Option from Configurable ProductGetting custom attribute value from simple product load based on product collectionLeast selling special price should display on configurable product view pageset custom dropdown attribute for customerAdding custom options, to custom attribute ( Magento 1.9)How to get value of custom dropdown product attribute?Magento 1.9: validate custom attribute






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








0















So I have a configurable product which has a number of associated simple products.



I am trying to obtain functionality on product page where the user can choose a colour for the product, and then this accordingly updates a second dropdown with the set value for the attribute in the simple product. This second dropdown uses the batch attribute which is a text field attribute and applies to simple products only.



Clearly there needs to be some functionality so the batch value is received in relation to the colour selected, which is the stumbling block at the moment. The current code is just displaying a batch value, which turns out to be the one for the last colour.



At the moment as you can see from the below code, I can get the last batch to be visible in the dropdown, but as described earlier this is not the required functionality. Ideally I need this value to change to the correct batch value which is assigned in the simple products options in the magento admin panel.



<select name="super_attribute[<?php echo $_product->getAttributeText('brand') ?>]"
"class="required-entry"
optitle="<?php echo strtolower($_product->getLabel()); ?>">
<option><?php echo $simple_product->getBatch();?></option>
</select>


This code is in the configurable.phtml file, all of which can be seen below



<?php

$_product = $this->getProduct();
$_attributes = Mage::helper('core')->decorateArray($this->getAllowAttributes());
?>

<?php if ($_product->isSaleable() && count($_attributes)):?>
<?php foreach($_attributes as $_attribute): ?>
<dt><label for="attribute<?php echo $_attribute->getAttributeId() ?>"><?php echo $_attribute->getLabel() ?></label></dt>
<dd<?php if ($_attribute->decoratedIsLast)?> class="last"<?php ?>>
<select name="super_attribute[<?php echo $_attribute->getAttributeId() ?>]"
id="attribute<?php echo $_attribute->getAttributeId() ?>"
class="required-entry super-attribute-select"
optitle="<?php echo strtolower($_attribute->getLabel()); ?>">
<option><?php echo $this->__('Choose an Option...') ?></option>
</select>
</dd>

<?php

$conf = Mage::getModel('catalog/product_type_configurable')->setProduct($_product);
$simple_collection = $conf->getUsedProductCollection()->addAttributeToSelect('*')->addFilterByRequiredOptions();

foreach($simple_collection as $simple_product)


echo $simple_product->getName() . "<br>" . $simple_product->getId() . "<br>" . $simple_product->getBatch() . "<br>" ;



?>

<select name="super_attribute[<?php echo $_product->getAttributeText('brand') ?>]" id="attribute<?php echo $_attribute->getAttributeId() ?>"
"class="required-entry" optitle="<?php echo strtolower($_product->getLabel()); ?>">

<option><?php echo $simple_product->getBatch(); ?></option>

</select>

<?php endforeach; ?>

<script type="text/javascript">
var spConfig = new Product.Config(<?php echo $this->getJsonConfig() ?>);
</script>

<?php endif;?>









share|improve this question






























    0















    So I have a configurable product which has a number of associated simple products.



    I am trying to obtain functionality on product page where the user can choose a colour for the product, and then this accordingly updates a second dropdown with the set value for the attribute in the simple product. This second dropdown uses the batch attribute which is a text field attribute and applies to simple products only.



    Clearly there needs to be some functionality so the batch value is received in relation to the colour selected, which is the stumbling block at the moment. The current code is just displaying a batch value, which turns out to be the one for the last colour.



    At the moment as you can see from the below code, I can get the last batch to be visible in the dropdown, but as described earlier this is not the required functionality. Ideally I need this value to change to the correct batch value which is assigned in the simple products options in the magento admin panel.



    <select name="super_attribute[<?php echo $_product->getAttributeText('brand') ?>]"
    "class="required-entry"
    optitle="<?php echo strtolower($_product->getLabel()); ?>">
    <option><?php echo $simple_product->getBatch();?></option>
    </select>


    This code is in the configurable.phtml file, all of which can be seen below



    <?php

    $_product = $this->getProduct();
    $_attributes = Mage::helper('core')->decorateArray($this->getAllowAttributes());
    ?>

    <?php if ($_product->isSaleable() && count($_attributes)):?>
    <?php foreach($_attributes as $_attribute): ?>
    <dt><label for="attribute<?php echo $_attribute->getAttributeId() ?>"><?php echo $_attribute->getLabel() ?></label></dt>
    <dd<?php if ($_attribute->decoratedIsLast)?> class="last"<?php ?>>
    <select name="super_attribute[<?php echo $_attribute->getAttributeId() ?>]"
    id="attribute<?php echo $_attribute->getAttributeId() ?>"
    class="required-entry super-attribute-select"
    optitle="<?php echo strtolower($_attribute->getLabel()); ?>">
    <option><?php echo $this->__('Choose an Option...') ?></option>
    </select>
    </dd>

    <?php

    $conf = Mage::getModel('catalog/product_type_configurable')->setProduct($_product);
    $simple_collection = $conf->getUsedProductCollection()->addAttributeToSelect('*')->addFilterByRequiredOptions();

    foreach($simple_collection as $simple_product)


    echo $simple_product->getName() . "<br>" . $simple_product->getId() . "<br>" . $simple_product->getBatch() . "<br>" ;



    ?>

    <select name="super_attribute[<?php echo $_product->getAttributeText('brand') ?>]" id="attribute<?php echo $_attribute->getAttributeId() ?>"
    "class="required-entry" optitle="<?php echo strtolower($_product->getLabel()); ?>">

    <option><?php echo $simple_product->getBatch(); ?></option>

    </select>

    <?php endforeach; ?>

    <script type="text/javascript">
    var spConfig = new Product.Config(<?php echo $this->getJsonConfig() ?>);
    </script>

    <?php endif;?>









    share|improve this question


























      0












      0








      0


      1






      So I have a configurable product which has a number of associated simple products.



      I am trying to obtain functionality on product page where the user can choose a colour for the product, and then this accordingly updates a second dropdown with the set value for the attribute in the simple product. This second dropdown uses the batch attribute which is a text field attribute and applies to simple products only.



      Clearly there needs to be some functionality so the batch value is received in relation to the colour selected, which is the stumbling block at the moment. The current code is just displaying a batch value, which turns out to be the one for the last colour.



      At the moment as you can see from the below code, I can get the last batch to be visible in the dropdown, but as described earlier this is not the required functionality. Ideally I need this value to change to the correct batch value which is assigned in the simple products options in the magento admin panel.



      <select name="super_attribute[<?php echo $_product->getAttributeText('brand') ?>]"
      "class="required-entry"
      optitle="<?php echo strtolower($_product->getLabel()); ?>">
      <option><?php echo $simple_product->getBatch();?></option>
      </select>


      This code is in the configurable.phtml file, all of which can be seen below



      <?php

      $_product = $this->getProduct();
      $_attributes = Mage::helper('core')->decorateArray($this->getAllowAttributes());
      ?>

      <?php if ($_product->isSaleable() && count($_attributes)):?>
      <?php foreach($_attributes as $_attribute): ?>
      <dt><label for="attribute<?php echo $_attribute->getAttributeId() ?>"><?php echo $_attribute->getLabel() ?></label></dt>
      <dd<?php if ($_attribute->decoratedIsLast)?> class="last"<?php ?>>
      <select name="super_attribute[<?php echo $_attribute->getAttributeId() ?>]"
      id="attribute<?php echo $_attribute->getAttributeId() ?>"
      class="required-entry super-attribute-select"
      optitle="<?php echo strtolower($_attribute->getLabel()); ?>">
      <option><?php echo $this->__('Choose an Option...') ?></option>
      </select>
      </dd>

      <?php

      $conf = Mage::getModel('catalog/product_type_configurable')->setProduct($_product);
      $simple_collection = $conf->getUsedProductCollection()->addAttributeToSelect('*')->addFilterByRequiredOptions();

      foreach($simple_collection as $simple_product)


      echo $simple_product->getName() . "<br>" . $simple_product->getId() . "<br>" . $simple_product->getBatch() . "<br>" ;



      ?>

      <select name="super_attribute[<?php echo $_product->getAttributeText('brand') ?>]" id="attribute<?php echo $_attribute->getAttributeId() ?>"
      "class="required-entry" optitle="<?php echo strtolower($_product->getLabel()); ?>">

      <option><?php echo $simple_product->getBatch(); ?></option>

      </select>

      <?php endforeach; ?>

      <script type="text/javascript">
      var spConfig = new Product.Config(<?php echo $this->getJsonConfig() ?>);
      </script>

      <?php endif;?>









      share|improve this question
















      So I have a configurable product which has a number of associated simple products.



      I am trying to obtain functionality on product page where the user can choose a colour for the product, and then this accordingly updates a second dropdown with the set value for the attribute in the simple product. This second dropdown uses the batch attribute which is a text field attribute and applies to simple products only.



      Clearly there needs to be some functionality so the batch value is received in relation to the colour selected, which is the stumbling block at the moment. The current code is just displaying a batch value, which turns out to be the one for the last colour.



      At the moment as you can see from the below code, I can get the last batch to be visible in the dropdown, but as described earlier this is not the required functionality. Ideally I need this value to change to the correct batch value which is assigned in the simple products options in the magento admin panel.



      <select name="super_attribute[<?php echo $_product->getAttributeText('brand') ?>]"
      "class="required-entry"
      optitle="<?php echo strtolower($_product->getLabel()); ?>">
      <option><?php echo $simple_product->getBatch();?></option>
      </select>


      This code is in the configurable.phtml file, all of which can be seen below



      <?php

      $_product = $this->getProduct();
      $_attributes = Mage::helper('core')->decorateArray($this->getAllowAttributes());
      ?>

      <?php if ($_product->isSaleable() && count($_attributes)):?>
      <?php foreach($_attributes as $_attribute): ?>
      <dt><label for="attribute<?php echo $_attribute->getAttributeId() ?>"><?php echo $_attribute->getLabel() ?></label></dt>
      <dd<?php if ($_attribute->decoratedIsLast)?> class="last"<?php ?>>
      <select name="super_attribute[<?php echo $_attribute->getAttributeId() ?>]"
      id="attribute<?php echo $_attribute->getAttributeId() ?>"
      class="required-entry super-attribute-select"
      optitle="<?php echo strtolower($_attribute->getLabel()); ?>">
      <option><?php echo $this->__('Choose an Option...') ?></option>
      </select>
      </dd>

      <?php

      $conf = Mage::getModel('catalog/product_type_configurable')->setProduct($_product);
      $simple_collection = $conf->getUsedProductCollection()->addAttributeToSelect('*')->addFilterByRequiredOptions();

      foreach($simple_collection as $simple_product)


      echo $simple_product->getName() . "<br>" . $simple_product->getId() . "<br>" . $simple_product->getBatch() . "<br>" ;



      ?>

      <select name="super_attribute[<?php echo $_product->getAttributeText('brand') ?>]" id="attribute<?php echo $_attribute->getAttributeId() ?>"
      "class="required-entry" optitle="<?php echo strtolower($_product->getLabel()); ?>">

      <option><?php echo $simple_product->getBatch(); ?></option>

      </select>

      <?php endforeach; ?>

      <script type="text/javascript">
      var spConfig = new Product.Config(<?php echo $this->getJsonConfig() ?>);
      </script>

      <?php endif;?>






      product configurable-product magento-1 upgrade dropdown-attribute






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 17 '17 at 6:02









      Teja Bhagavan Kollepara

      2,99442050




      2,99442050










      asked May 5 '16 at 15:05









      boombap123boombap123

      13




      13




















          1 Answer
          1






          active

          oldest

          votes


















          0














          Screenshots added for the size attribute.



          Step 1: Admin > Catalog Attributes > Manage Attributes > Properties



          Edit, then "Save and continue edit"



          Catalog-Attributes-Manage-Attributes-Properties



          Step 2: Same area but click "Manage Label / Options" from left hand column
          Manage Label / Options




          earlier response:
          Are you talking about this? I have it working but have to do each garment separately via Magento admin.



          [![configurable product with two required choices][3]][3]



          I copied this section of the code by viewing my working product page's browser developer tools. The page has color and size attributes dropdown boxes.



           <div class="clear"></div>
          <div class="product-options" id="product-options-wrapper">

          <dl>
          <dt><label class="required"><em>*</em>color</label></dt>
          <dd>
          <div class="input-box">
          <select name="super_attribute[85]" id="attribute85" class="required-entry super-attribute-select">
          <option>Choose an Option...</option>
          </select>
          </div>
          </dd>
          <dt><label class="required"><em>*</em>size</label></dt>
          <dd class="last">
          <div class="input-box">
          <select name="super_attribute[155]" id="attribute155" class="required-entry super-attribute-select">
          <option>Choose an Option...</option>
          </select>
          </div>
          </dd>
          </dl>





          share|improve this answer

























          • Can you provide some more detail on the size attribute please, what type of input is required in Magento admin? In my example the batch attribute isn't a super attribute, and is a text field. Also is your product a configurable product?

            – boombap123
            May 9 '16 at 9:30












          • Added screenshots. "Catalog input type for store owner" is "dropdown". In the Properties section "apply to" I have it set for simple and configurable products. Seeing the amounts of sizes I have to deal with, if you figure out how to do this with a spreadsheet, please let me know. I downloaded the product .csv and it includes super-attributes that I have not been able to correctly update for other products.

            – all4learning
            May 9 '16 at 12:50












          • This is where we differ, as my attribute is a text field I cannot add options like you have, but rather in the product page a text value has to be entered. So what I am trying to do is create a dropdown for an attribute that is a text field. But so that this dropdown changes in accordance with what colour is chosen in the first dropdown. As for your own question I'd recommending creating a separate question for wider reach if you haven't already.

            – boombap123
            May 9 '16 at 13:33











          • I already created my own question both about configurable products and super-attributes and no one has answered. Hope you get your answer.

            – all4learning
            May 9 '16 at 13:47











          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%2f114129%2fmagento-configurable-product-page-update-custom-dropdown-with-attribute-value%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









          0














          Screenshots added for the size attribute.



          Step 1: Admin > Catalog Attributes > Manage Attributes > Properties



          Edit, then "Save and continue edit"



          Catalog-Attributes-Manage-Attributes-Properties



          Step 2: Same area but click "Manage Label / Options" from left hand column
          Manage Label / Options




          earlier response:
          Are you talking about this? I have it working but have to do each garment separately via Magento admin.



          [![configurable product with two required choices][3]][3]



          I copied this section of the code by viewing my working product page's browser developer tools. The page has color and size attributes dropdown boxes.



           <div class="clear"></div>
          <div class="product-options" id="product-options-wrapper">

          <dl>
          <dt><label class="required"><em>*</em>color</label></dt>
          <dd>
          <div class="input-box">
          <select name="super_attribute[85]" id="attribute85" class="required-entry super-attribute-select">
          <option>Choose an Option...</option>
          </select>
          </div>
          </dd>
          <dt><label class="required"><em>*</em>size</label></dt>
          <dd class="last">
          <div class="input-box">
          <select name="super_attribute[155]" id="attribute155" class="required-entry super-attribute-select">
          <option>Choose an Option...</option>
          </select>
          </div>
          </dd>
          </dl>





          share|improve this answer

























          • Can you provide some more detail on the size attribute please, what type of input is required in Magento admin? In my example the batch attribute isn't a super attribute, and is a text field. Also is your product a configurable product?

            – boombap123
            May 9 '16 at 9:30












          • Added screenshots. "Catalog input type for store owner" is "dropdown". In the Properties section "apply to" I have it set for simple and configurable products. Seeing the amounts of sizes I have to deal with, if you figure out how to do this with a spreadsheet, please let me know. I downloaded the product .csv and it includes super-attributes that I have not been able to correctly update for other products.

            – all4learning
            May 9 '16 at 12:50












          • This is where we differ, as my attribute is a text field I cannot add options like you have, but rather in the product page a text value has to be entered. So what I am trying to do is create a dropdown for an attribute that is a text field. But so that this dropdown changes in accordance with what colour is chosen in the first dropdown. As for your own question I'd recommending creating a separate question for wider reach if you haven't already.

            – boombap123
            May 9 '16 at 13:33











          • I already created my own question both about configurable products and super-attributes and no one has answered. Hope you get your answer.

            – all4learning
            May 9 '16 at 13:47















          0














          Screenshots added for the size attribute.



          Step 1: Admin > Catalog Attributes > Manage Attributes > Properties



          Edit, then "Save and continue edit"



          Catalog-Attributes-Manage-Attributes-Properties



          Step 2: Same area but click "Manage Label / Options" from left hand column
          Manage Label / Options




          earlier response:
          Are you talking about this? I have it working but have to do each garment separately via Magento admin.



          [![configurable product with two required choices][3]][3]



          I copied this section of the code by viewing my working product page's browser developer tools. The page has color and size attributes dropdown boxes.



           <div class="clear"></div>
          <div class="product-options" id="product-options-wrapper">

          <dl>
          <dt><label class="required"><em>*</em>color</label></dt>
          <dd>
          <div class="input-box">
          <select name="super_attribute[85]" id="attribute85" class="required-entry super-attribute-select">
          <option>Choose an Option...</option>
          </select>
          </div>
          </dd>
          <dt><label class="required"><em>*</em>size</label></dt>
          <dd class="last">
          <div class="input-box">
          <select name="super_attribute[155]" id="attribute155" class="required-entry super-attribute-select">
          <option>Choose an Option...</option>
          </select>
          </div>
          </dd>
          </dl>





          share|improve this answer

























          • Can you provide some more detail on the size attribute please, what type of input is required in Magento admin? In my example the batch attribute isn't a super attribute, and is a text field. Also is your product a configurable product?

            – boombap123
            May 9 '16 at 9:30












          • Added screenshots. "Catalog input type for store owner" is "dropdown". In the Properties section "apply to" I have it set for simple and configurable products. Seeing the amounts of sizes I have to deal with, if you figure out how to do this with a spreadsheet, please let me know. I downloaded the product .csv and it includes super-attributes that I have not been able to correctly update for other products.

            – all4learning
            May 9 '16 at 12:50












          • This is where we differ, as my attribute is a text field I cannot add options like you have, but rather in the product page a text value has to be entered. So what I am trying to do is create a dropdown for an attribute that is a text field. But so that this dropdown changes in accordance with what colour is chosen in the first dropdown. As for your own question I'd recommending creating a separate question for wider reach if you haven't already.

            – boombap123
            May 9 '16 at 13:33











          • I already created my own question both about configurable products and super-attributes and no one has answered. Hope you get your answer.

            – all4learning
            May 9 '16 at 13:47













          0












          0








          0







          Screenshots added for the size attribute.



          Step 1: Admin > Catalog Attributes > Manage Attributes > Properties



          Edit, then "Save and continue edit"



          Catalog-Attributes-Manage-Attributes-Properties



          Step 2: Same area but click "Manage Label / Options" from left hand column
          Manage Label / Options




          earlier response:
          Are you talking about this? I have it working but have to do each garment separately via Magento admin.



          [![configurable product with two required choices][3]][3]



          I copied this section of the code by viewing my working product page's browser developer tools. The page has color and size attributes dropdown boxes.



           <div class="clear"></div>
          <div class="product-options" id="product-options-wrapper">

          <dl>
          <dt><label class="required"><em>*</em>color</label></dt>
          <dd>
          <div class="input-box">
          <select name="super_attribute[85]" id="attribute85" class="required-entry super-attribute-select">
          <option>Choose an Option...</option>
          </select>
          </div>
          </dd>
          <dt><label class="required"><em>*</em>size</label></dt>
          <dd class="last">
          <div class="input-box">
          <select name="super_attribute[155]" id="attribute155" class="required-entry super-attribute-select">
          <option>Choose an Option...</option>
          </select>
          </div>
          </dd>
          </dl>





          share|improve this answer















          Screenshots added for the size attribute.



          Step 1: Admin > Catalog Attributes > Manage Attributes > Properties



          Edit, then "Save and continue edit"



          Catalog-Attributes-Manage-Attributes-Properties



          Step 2: Same area but click "Manage Label / Options" from left hand column
          Manage Label / Options




          earlier response:
          Are you talking about this? I have it working but have to do each garment separately via Magento admin.



          [![configurable product with two required choices][3]][3]



          I copied this section of the code by viewing my working product page's browser developer tools. The page has color and size attributes dropdown boxes.



           <div class="clear"></div>
          <div class="product-options" id="product-options-wrapper">

          <dl>
          <dt><label class="required"><em>*</em>color</label></dt>
          <dd>
          <div class="input-box">
          <select name="super_attribute[85]" id="attribute85" class="required-entry super-attribute-select">
          <option>Choose an Option...</option>
          </select>
          </div>
          </dd>
          <dt><label class="required"><em>*</em>size</label></dt>
          <dd class="last">
          <div class="input-box">
          <select name="super_attribute[155]" id="attribute155" class="required-entry super-attribute-select">
          <option>Choose an Option...</option>
          </select>
          </div>
          </dd>
          </dl>






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited May 9 '16 at 12:48

























          answered May 7 '16 at 16:07









          all4learningall4learning

          109




          109












          • Can you provide some more detail on the size attribute please, what type of input is required in Magento admin? In my example the batch attribute isn't a super attribute, and is a text field. Also is your product a configurable product?

            – boombap123
            May 9 '16 at 9:30












          • Added screenshots. "Catalog input type for store owner" is "dropdown". In the Properties section "apply to" I have it set for simple and configurable products. Seeing the amounts of sizes I have to deal with, if you figure out how to do this with a spreadsheet, please let me know. I downloaded the product .csv and it includes super-attributes that I have not been able to correctly update for other products.

            – all4learning
            May 9 '16 at 12:50












          • This is where we differ, as my attribute is a text field I cannot add options like you have, but rather in the product page a text value has to be entered. So what I am trying to do is create a dropdown for an attribute that is a text field. But so that this dropdown changes in accordance with what colour is chosen in the first dropdown. As for your own question I'd recommending creating a separate question for wider reach if you haven't already.

            – boombap123
            May 9 '16 at 13:33











          • I already created my own question both about configurable products and super-attributes and no one has answered. Hope you get your answer.

            – all4learning
            May 9 '16 at 13:47

















          • Can you provide some more detail on the size attribute please, what type of input is required in Magento admin? In my example the batch attribute isn't a super attribute, and is a text field. Also is your product a configurable product?

            – boombap123
            May 9 '16 at 9:30












          • Added screenshots. "Catalog input type for store owner" is "dropdown". In the Properties section "apply to" I have it set for simple and configurable products. Seeing the amounts of sizes I have to deal with, if you figure out how to do this with a spreadsheet, please let me know. I downloaded the product .csv and it includes super-attributes that I have not been able to correctly update for other products.

            – all4learning
            May 9 '16 at 12:50












          • This is where we differ, as my attribute is a text field I cannot add options like you have, but rather in the product page a text value has to be entered. So what I am trying to do is create a dropdown for an attribute that is a text field. But so that this dropdown changes in accordance with what colour is chosen in the first dropdown. As for your own question I'd recommending creating a separate question for wider reach if you haven't already.

            – boombap123
            May 9 '16 at 13:33











          • I already created my own question both about configurable products and super-attributes and no one has answered. Hope you get your answer.

            – all4learning
            May 9 '16 at 13:47
















          Can you provide some more detail on the size attribute please, what type of input is required in Magento admin? In my example the batch attribute isn't a super attribute, and is a text field. Also is your product a configurable product?

          – boombap123
          May 9 '16 at 9:30






          Can you provide some more detail on the size attribute please, what type of input is required in Magento admin? In my example the batch attribute isn't a super attribute, and is a text field. Also is your product a configurable product?

          – boombap123
          May 9 '16 at 9:30














          Added screenshots. "Catalog input type for store owner" is "dropdown". In the Properties section "apply to" I have it set for simple and configurable products. Seeing the amounts of sizes I have to deal with, if you figure out how to do this with a spreadsheet, please let me know. I downloaded the product .csv and it includes super-attributes that I have not been able to correctly update for other products.

          – all4learning
          May 9 '16 at 12:50






          Added screenshots. "Catalog input type for store owner" is "dropdown". In the Properties section "apply to" I have it set for simple and configurable products. Seeing the amounts of sizes I have to deal with, if you figure out how to do this with a spreadsheet, please let me know. I downloaded the product .csv and it includes super-attributes that I have not been able to correctly update for other products.

          – all4learning
          May 9 '16 at 12:50














          This is where we differ, as my attribute is a text field I cannot add options like you have, but rather in the product page a text value has to be entered. So what I am trying to do is create a dropdown for an attribute that is a text field. But so that this dropdown changes in accordance with what colour is chosen in the first dropdown. As for your own question I'd recommending creating a separate question for wider reach if you haven't already.

          – boombap123
          May 9 '16 at 13:33





          This is where we differ, as my attribute is a text field I cannot add options like you have, but rather in the product page a text value has to be entered. So what I am trying to do is create a dropdown for an attribute that is a text field. But so that this dropdown changes in accordance with what colour is chosen in the first dropdown. As for your own question I'd recommending creating a separate question for wider reach if you haven't already.

          – boombap123
          May 9 '16 at 13:33













          I already created my own question both about configurable products and super-attributes and no one has answered. Hope you get your answer.

          – all4learning
          May 9 '16 at 13:47





          I already created my own question both about configurable products and super-attributes and no one has answered. Hope you get your answer.

          – all4learning
          May 9 '16 at 13:47

















          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%2f114129%2fmagento-configurable-product-page-update-custom-dropdown-with-attribute-value%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