Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
joshine
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
joshine
Commits
ca60b27a
Commit
ca60b27a
authored
Mar 09, 2023
by
halweg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix : bug fix
parent
5fff78ad
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
app/code/Joshine/Review/Controller/Ajax/ReviewInfo.php
+0
-1
app/code/Joshine/Review/view/frontend/templates/product/view/list.phtml
+6
-3
app/code/Magento/Checkout/view/frontend/templates/cart/form.phtml
+1
-1
No files found.
app/code/Joshine/Review/Controller/Ajax/ReviewInfo.php
View file @
ca60b27a
<?php
<?php
namespace
Joshine\Review\Controller\Ajax
;
namespace
Joshine\Review\Controller\Ajax
;
use
Amasty\AdvancedReview\Model\ResourceModel\Images
as
ImagesModel
;
use
Joshine\Review\Helper\BlockHelper
;
use
Joshine\Review\Helper\BlockHelper
;
use
Joshine\Review\Helper\ImageHelper
;
use
Joshine\Review\Helper\ImageHelper
;
use
Magento\Catalog\Model\ProductFactory
;
use
Magento\Catalog\Model\ProductFactory
;
...
...
app/code/Joshine/Review/view/frontend/templates/product/view/list.phtml
View file @
ca60b27a
...
@@ -172,7 +172,7 @@ $imagesBlock = $helper->getReviewImagesBlock(15, $block->getProductId());
...
@@ -172,7 +172,7 @@ $imagesBlock = $helper->getReviewImagesBlock(15, $block->getProductId());
<div
class=
"joshine-rating-container joshine-col-xs-8"
>
<div
class=
"joshine-rating-container joshine-col-xs-8"
>
<div
class=
"joshine-rating-starts"
style=
"width:
<?=
$rating
?>
%;"
></div>
<div
class=
"joshine-rating-starts"
style=
"width:
<?=
$rating
?>
%;"
></div>
</div>
</div>
<h2
class=
"ave-rate-total"
style=
"margin-top: 0; margin-bottom: .35em;
"
>
<?=
$block
->
getRatingSummaryValue
()
?>
</h2>
<h2
class=
"ave-rate-total"
style=
"margin-top: 0; margin-bottom: .35em;
margin-left: .4em"
>
<?=
$block
->
getRatingSummaryValue
()
?>
</h2>
</div>
</div>
</div>
</div>
<div
class=
"joshine-review-item"
>
<div
class=
"joshine-review-item"
>
...
@@ -333,6 +333,7 @@ $imagesBlock = $helper->getReviewImagesBlock(15, $block->getProductId());
...
@@ -333,6 +333,7 @@ $imagesBlock = $helper->getReviewImagesBlock(15, $block->getProductId());
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
space-between
;
justify-content
:
space-between
;
flex-wrap
:
wrap
;
}
}
.modal-reviews-details__des-wrap
{
.modal-reviews-details__des-wrap
{
...
@@ -499,14 +500,16 @@ $imagesBlock = $helper->getReviewImagesBlock(15, $block->getProductId());
...
@@ -499,14 +500,16 @@ $imagesBlock = $helper->getReviewImagesBlock(15, $block->getProductId());
</div>
</div>
<div
class=
"modal-reviews-details__des-wrap joshine-col-xs-4"
>
<div
class=
"modal-reviews-details__des-wrap joshine-col-xs-4"
>
<div
class=
"joshine-review-des-head"
>
<div
class=
"joshine-review-des-head"
>
<span
class=
"joshine-review-nickname"
data-review-js=
"nickname"
style=
"font-size: .9em;"
>
<span
class=
"joshine-review-nickname
joshine-col-xs-6
"
data-review-js=
"nickname"
style=
"font-size: .9em;"
>
</span>
</span>
<div
class=
"joshine-rating-container joshine-rating-small"
style=
"margin-bottom: 3px;"
>
<div
class=
"joshine-rating-container joshine-rating-small"
style=
"margin-bottom: 3px;"
>
<div
class=
"joshine-rating-starts"
style=
"width: 100%;"
data-review-js=
"rating"
></div>
<div
class=
"joshine-rating-starts"
style=
"width: 100%;"
data-review-js=
"rating"
></div>
</div>
</div>
<span
class=
"joshine-review-date joshine-font-c-darkgray joshine-font-mini-plus joshine-pull-right"
data-review-js=
"date"
>
<span
class=
"joshine-review-date joshine-font-c-darkgray joshine-font-mini-plus"
style=
"margin-top: .4em;"
data-review-js=
"date"
>
</span>
</span>
</div>
</div>
<div
class=
"joshine-review-des-title joshine-font-w-bolder joshine-font-text joshine-font-c-deepin"
data-review-js=
"title"
>
<div
class=
"joshine-review-des-title joshine-font-w-bolder joshine-font-text joshine-font-c-deepin"
data-review-js=
"title"
>
...
...
app/code/Magento/Checkout/view/frontend/templates/cart/form.phtml
View file @
ca60b27a
...
@@ -127,7 +127,7 @@ require(['jquery'], function ($) {
...
@@ -127,7 +127,7 @@ require(['jquery'], function ($) {
'event'
:
'add_to_cart'
,
'event'
:
'add_to_cart'
,
'value'
:
<?=
$priceSum
?>
,
'value'
:
<?=
$priceSum
?>
,
'items'
:
<?=
json_encode
(
$items
,
true
)
?>
'items'
:
<?=
json_encode
(
$items
,
true
)
?>
);
}
);
</script>
</script>
<?=
$block
->
getChildHtml
(
'checkout.cart.order.actions'
)
?>
<?=
$block
->
getChildHtml
(
'checkout.cart.order.actions'
)
?>
<?=
$block
->
getChildHtml
(
'shopping.cart.table.after'
)
?>
<?=
$block
->
getChildHtml
(
'shopping.cart.table.after'
)
?>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment