Skip to content

Commit

Permalink
Merge pull request #4 from magmodules/release/1.0.4
Browse files Browse the repository at this point in the history
Release/1.0.4
  • Loading branch information
Marvin-Magmodules authored Jan 25, 2025
2 parents 37c3f1e + e79b3c1 commit c74a7b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"require": {
"magento/framework": "*",
"hyva-themes/magento2-compat-module-fallback": "*",
"magmodules/magento2-reviewreminder": "~1.12.0"
"magmodules/magento2-reviewreminder": "^1.12"
},
"autoload": {
"files": [
Expand Down
5 changes: 3 additions & 2 deletions src/view/frontend/templates/review/form.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ $steps = $viewModel->getSteps();
<input class="absolute right-1/2 bottom-1/2 opacity-0 w-0 h-0"
required="true" name="reviewReminderProductStep1" type="checkbox"
id="review-reminder_product_<?= $escaper->escapeHtmlAttr($index) ?>"
x-ref="input_<?= $escaper->escapeHtmlAttr($index) ?>">
x-ref="input_<?= $escaper->escapeHtmlAttr($index) ?>"
<?= $index === 0 ? 'checked' : '' ?>>

<label class="mb-0 w-full p-4 text-center text-sm flex flex-col
cursor-pointer rounded-lg transition-shadow duration-300
Expand Down Expand Up @@ -413,7 +414,7 @@ $steps = $viewModel->getSteps();
function initReviewReminder() {
return {
activeStep: 0,
productChecked: [],
productChecked: [0],
nickname: '<?= $escaper->escapeJs($viewModel->getNickname()) ?>',
countOfProduct: <?= json_encode((int) count($viewModel->getItems())) ?>,
shopreviewActive: <?= json_encode($viewModel->isAddShopreview()) ?>,
Expand Down

0 comments on commit c74a7b3

Please sign in to comment.