Magento2 : Issues in default Enterprise Edition RMA extension
Clash Royale CLAN TAG#URR8PPP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;
up vote
4
down vote
favorite
I am facing some issues in Magento2 EE default RMA extension.
In create new return under "Return item information".
1) Form is not getting validated: reason to order, item condition, resolution are required yet form gets submitted and request is created.
2) On "Add item to return": I do not found any option to delete that added item.
3) On successful submitting RMA form getting error : "We can't create a return right now. Please try again later.".
Has anyone else have faced same issue.
Any help.
[edit]:
Figured out the 3 rd point, this error is occurring as sendNewRmaEmail() function is called on creating rma. So as emails were not been send so it was throwing error. But yet first two problems still persists.
magento2 knockoutjs magento2-enterprise rma
add a comment |Â
up vote
4
down vote
favorite
I am facing some issues in Magento2 EE default RMA extension.
In create new return under "Return item information".
1) Form is not getting validated: reason to order, item condition, resolution are required yet form gets submitted and request is created.
2) On "Add item to return": I do not found any option to delete that added item.
3) On successful submitting RMA form getting error : "We can't create a return right now. Please try again later.".
Has anyone else have faced same issue.
Any help.
[edit]:
Figured out the 3 rd point, this error is occurring as sendNewRmaEmail() function is called on creating rma. So as emails were not been send so it was throwing error. But yet first two problems still persists.
magento2 knockoutjs magento2-enterprise rma
add a comment |Â
up vote
4
down vote
favorite
up vote
4
down vote
favorite
I am facing some issues in Magento2 EE default RMA extension.
In create new return under "Return item information".
1) Form is not getting validated: reason to order, item condition, resolution are required yet form gets submitted and request is created.
2) On "Add item to return": I do not found any option to delete that added item.
3) On successful submitting RMA form getting error : "We can't create a return right now. Please try again later.".
Has anyone else have faced same issue.
Any help.
[edit]:
Figured out the 3 rd point, this error is occurring as sendNewRmaEmail() function is called on creating rma. So as emails were not been send so it was throwing error. But yet first two problems still persists.
magento2 knockoutjs magento2-enterprise rma
I am facing some issues in Magento2 EE default RMA extension.
In create new return under "Return item information".
1) Form is not getting validated: reason to order, item condition, resolution are required yet form gets submitted and request is created.
2) On "Add item to return": I do not found any option to delete that added item.
3) On successful submitting RMA form getting error : "We can't create a return right now. Please try again later.".
Has anyone else have faced same issue.
Any help.
[edit]:
Figured out the 3 rd point, this error is occurring as sendNewRmaEmail() function is called on creating rma. So as emails were not been send so it was throwing error. But yet first two problems still persists.
magento2 knockoutjs magento2-enterprise rma
magento2 knockoutjs magento2-enterprise rma
edited 1 hour ago


Sourabh Kumar Sharma
427214
427214
asked 2 hours ago
Narendra
327
327
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
You can try this way if it works for you. Its just a fixed.
1) Override module-rma/view/frontend/templates/form/renderer/select.phtml in your theme or module. add data-validate="required:true" for required attributes.
select.phtml.
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
// @codingStandardsIgnoreFile
?>
<?php
/**
* Create account form template
/* @var $block MagentoRmaBlockFormRendererSelect */
$validate = ($block->isRequired()) ? 'data-validate="required:true"' : '';
?>
<div class="field <?= $block->getHtmlId() ?><%- data._index_ %><?php if ($block->isRequired())
echo ' required' ?>">
<label for="items:<?= $block->getHtmlId() ?><%- data._index_ %>" class="label"><span><?= /* @escapeNotVerified */ $block->getLabel() ?></span></label>
<div class="control">
<select id="items:<?= $block->getHtmlId() ?><%- data._index_ %>" name="items[<%- data._index_ %>][<?= /* @escapeNotVerified */ $block->getFieldName() ?>]"<?php if ($block->getFieldName() == 'reason'): ?> data-args='"index":<%- data._index_ %>' <?php endif;
?> <?=$validate?> >
<?php foreach ($block->getOptions() as $option):?>
<option value="<?= /* @escapeNotVerified */ $option['value'] ?>"<?php if ($option['value'] == $block->getValue()):?> selected="selected"<?php endif;?>><?= $block->escapeHtml($option['label']) ?></option>
<?php endforeach;?>
<?php if ($block->getFieldName() == 'reason'): ?>
<?php $attribute = $block->getAttribute('reason_other'); ?>
<?php if ($attribute): ?>
<option value="other"<?php if ($option['value'] == 'other'):?> selected="selected"<?php endif;?>><?= $block->escapeHtml($attribute->getStoreLabel()) ?></option>
<?php endif; ?>
<?php endif; ?>
</select>
</div>
</div>
2) For second issue please add below html before fieldset ends in create.phtml.
<div class="actions-toolbar text-right">
<div class="secondary" id="delete<%- data._index_ %>">
<button type="button" class="action remove delete"><span><?= /* @escapeNotVerified */ __('Remove') ?></span></button>
</div>
</div>
3) For third issue I think if point 1 resolved from this fix then you won't face this issue anymore.
I hope it will work for you, Let me know if you face any further issue from these fixes.
Thanks a lot Ramkishan.
– Narendra
1 hour ago
Your most welcome @Narendra
– Ramkishan
1 hour ago
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
You can try this way if it works for you. Its just a fixed.
1) Override module-rma/view/frontend/templates/form/renderer/select.phtml in your theme or module. add data-validate="required:true" for required attributes.
select.phtml.
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
// @codingStandardsIgnoreFile
?>
<?php
/**
* Create account form template
/* @var $block MagentoRmaBlockFormRendererSelect */
$validate = ($block->isRequired()) ? 'data-validate="required:true"' : '';
?>
<div class="field <?= $block->getHtmlId() ?><%- data._index_ %><?php if ($block->isRequired())
echo ' required' ?>">
<label for="items:<?= $block->getHtmlId() ?><%- data._index_ %>" class="label"><span><?= /* @escapeNotVerified */ $block->getLabel() ?></span></label>
<div class="control">
<select id="items:<?= $block->getHtmlId() ?><%- data._index_ %>" name="items[<%- data._index_ %>][<?= /* @escapeNotVerified */ $block->getFieldName() ?>]"<?php if ($block->getFieldName() == 'reason'): ?> data-args='"index":<%- data._index_ %>' <?php endif;
?> <?=$validate?> >
<?php foreach ($block->getOptions() as $option):?>
<option value="<?= /* @escapeNotVerified */ $option['value'] ?>"<?php if ($option['value'] == $block->getValue()):?> selected="selected"<?php endif;?>><?= $block->escapeHtml($option['label']) ?></option>
<?php endforeach;?>
<?php if ($block->getFieldName() == 'reason'): ?>
<?php $attribute = $block->getAttribute('reason_other'); ?>
<?php if ($attribute): ?>
<option value="other"<?php if ($option['value'] == 'other'):?> selected="selected"<?php endif;?>><?= $block->escapeHtml($attribute->getStoreLabel()) ?></option>
<?php endif; ?>
<?php endif; ?>
</select>
</div>
</div>
2) For second issue please add below html before fieldset ends in create.phtml.
<div class="actions-toolbar text-right">
<div class="secondary" id="delete<%- data._index_ %>">
<button type="button" class="action remove delete"><span><?= /* @escapeNotVerified */ __('Remove') ?></span></button>
</div>
</div>
3) For third issue I think if point 1 resolved from this fix then you won't face this issue anymore.
I hope it will work for you, Let me know if you face any further issue from these fixes.
Thanks a lot Ramkishan.
– Narendra
1 hour ago
Your most welcome @Narendra
– Ramkishan
1 hour ago
add a comment |Â
up vote
2
down vote
accepted
You can try this way if it works for you. Its just a fixed.
1) Override module-rma/view/frontend/templates/form/renderer/select.phtml in your theme or module. add data-validate="required:true" for required attributes.
select.phtml.
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
// @codingStandardsIgnoreFile
?>
<?php
/**
* Create account form template
/* @var $block MagentoRmaBlockFormRendererSelect */
$validate = ($block->isRequired()) ? 'data-validate="required:true"' : '';
?>
<div class="field <?= $block->getHtmlId() ?><%- data._index_ %><?php if ($block->isRequired())
echo ' required' ?>">
<label for="items:<?= $block->getHtmlId() ?><%- data._index_ %>" class="label"><span><?= /* @escapeNotVerified */ $block->getLabel() ?></span></label>
<div class="control">
<select id="items:<?= $block->getHtmlId() ?><%- data._index_ %>" name="items[<%- data._index_ %>][<?= /* @escapeNotVerified */ $block->getFieldName() ?>]"<?php if ($block->getFieldName() == 'reason'): ?> data-args='"index":<%- data._index_ %>' <?php endif;
?> <?=$validate?> >
<?php foreach ($block->getOptions() as $option):?>
<option value="<?= /* @escapeNotVerified */ $option['value'] ?>"<?php if ($option['value'] == $block->getValue()):?> selected="selected"<?php endif;?>><?= $block->escapeHtml($option['label']) ?></option>
<?php endforeach;?>
<?php if ($block->getFieldName() == 'reason'): ?>
<?php $attribute = $block->getAttribute('reason_other'); ?>
<?php if ($attribute): ?>
<option value="other"<?php if ($option['value'] == 'other'):?> selected="selected"<?php endif;?>><?= $block->escapeHtml($attribute->getStoreLabel()) ?></option>
<?php endif; ?>
<?php endif; ?>
</select>
</div>
</div>
2) For second issue please add below html before fieldset ends in create.phtml.
<div class="actions-toolbar text-right">
<div class="secondary" id="delete<%- data._index_ %>">
<button type="button" class="action remove delete"><span><?= /* @escapeNotVerified */ __('Remove') ?></span></button>
</div>
</div>
3) For third issue I think if point 1 resolved from this fix then you won't face this issue anymore.
I hope it will work for you, Let me know if you face any further issue from these fixes.
Thanks a lot Ramkishan.
– Narendra
1 hour ago
Your most welcome @Narendra
– Ramkishan
1 hour ago
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
You can try this way if it works for you. Its just a fixed.
1) Override module-rma/view/frontend/templates/form/renderer/select.phtml in your theme or module. add data-validate="required:true" for required attributes.
select.phtml.
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
// @codingStandardsIgnoreFile
?>
<?php
/**
* Create account form template
/* @var $block MagentoRmaBlockFormRendererSelect */
$validate = ($block->isRequired()) ? 'data-validate="required:true"' : '';
?>
<div class="field <?= $block->getHtmlId() ?><%- data._index_ %><?php if ($block->isRequired())
echo ' required' ?>">
<label for="items:<?= $block->getHtmlId() ?><%- data._index_ %>" class="label"><span><?= /* @escapeNotVerified */ $block->getLabel() ?></span></label>
<div class="control">
<select id="items:<?= $block->getHtmlId() ?><%- data._index_ %>" name="items[<%- data._index_ %>][<?= /* @escapeNotVerified */ $block->getFieldName() ?>]"<?php if ($block->getFieldName() == 'reason'): ?> data-args='"index":<%- data._index_ %>' <?php endif;
?> <?=$validate?> >
<?php foreach ($block->getOptions() as $option):?>
<option value="<?= /* @escapeNotVerified */ $option['value'] ?>"<?php if ($option['value'] == $block->getValue()):?> selected="selected"<?php endif;?>><?= $block->escapeHtml($option['label']) ?></option>
<?php endforeach;?>
<?php if ($block->getFieldName() == 'reason'): ?>
<?php $attribute = $block->getAttribute('reason_other'); ?>
<?php if ($attribute): ?>
<option value="other"<?php if ($option['value'] == 'other'):?> selected="selected"<?php endif;?>><?= $block->escapeHtml($attribute->getStoreLabel()) ?></option>
<?php endif; ?>
<?php endif; ?>
</select>
</div>
</div>
2) For second issue please add below html before fieldset ends in create.phtml.
<div class="actions-toolbar text-right">
<div class="secondary" id="delete<%- data._index_ %>">
<button type="button" class="action remove delete"><span><?= /* @escapeNotVerified */ __('Remove') ?></span></button>
</div>
</div>
3) For third issue I think if point 1 resolved from this fix then you won't face this issue anymore.
I hope it will work for you, Let me know if you face any further issue from these fixes.
You can try this way if it works for you. Its just a fixed.
1) Override module-rma/view/frontend/templates/form/renderer/select.phtml in your theme or module. add data-validate="required:true" for required attributes.
select.phtml.
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
// @codingStandardsIgnoreFile
?>
<?php
/**
* Create account form template
/* @var $block MagentoRmaBlockFormRendererSelect */
$validate = ($block->isRequired()) ? 'data-validate="required:true"' : '';
?>
<div class="field <?= $block->getHtmlId() ?><%- data._index_ %><?php if ($block->isRequired())
echo ' required' ?>">
<label for="items:<?= $block->getHtmlId() ?><%- data._index_ %>" class="label"><span><?= /* @escapeNotVerified */ $block->getLabel() ?></span></label>
<div class="control">
<select id="items:<?= $block->getHtmlId() ?><%- data._index_ %>" name="items[<%- data._index_ %>][<?= /* @escapeNotVerified */ $block->getFieldName() ?>]"<?php if ($block->getFieldName() == 'reason'): ?> data-args='"index":<%- data._index_ %>' <?php endif;
?> <?=$validate?> >
<?php foreach ($block->getOptions() as $option):?>
<option value="<?= /* @escapeNotVerified */ $option['value'] ?>"<?php if ($option['value'] == $block->getValue()):?> selected="selected"<?php endif;?>><?= $block->escapeHtml($option['label']) ?></option>
<?php endforeach;?>
<?php if ($block->getFieldName() == 'reason'): ?>
<?php $attribute = $block->getAttribute('reason_other'); ?>
<?php if ($attribute): ?>
<option value="other"<?php if ($option['value'] == 'other'):?> selected="selected"<?php endif;?>><?= $block->escapeHtml($attribute->getStoreLabel()) ?></option>
<?php endif; ?>
<?php endif; ?>
</select>
</div>
</div>
2) For second issue please add below html before fieldset ends in create.phtml.
<div class="actions-toolbar text-right">
<div class="secondary" id="delete<%- data._index_ %>">
<button type="button" class="action remove delete"><span><?= /* @escapeNotVerified */ __('Remove') ?></span></button>
</div>
</div>
3) For third issue I think if point 1 resolved from this fix then you won't face this issue anymore.
I hope it will work for you, Let me know if you face any further issue from these fixes.
edited 6 mins ago
answered 2 hours ago


Ramkishan
7861628
7861628
Thanks a lot Ramkishan.
– Narendra
1 hour ago
Your most welcome @Narendra
– Ramkishan
1 hour ago
add a comment |Â
Thanks a lot Ramkishan.
– Narendra
1 hour ago
Your most welcome @Narendra
– Ramkishan
1 hour ago
Thanks a lot Ramkishan.
– Narendra
1 hour ago
Thanks a lot Ramkishan.
– Narendra
1 hour ago
Your most welcome @Narendra
– Ramkishan
1 hour ago
Your most welcome @Narendra
– Ramkishan
1 hour ago
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f245185%2fmagento2-issues-in-default-enterprise-edition-rma-extension%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password