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
241d5099
Commit
241d5099
authored
Feb 04, 2023
by
lmf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化首页产品评论格式
parent
f377c2a2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/design/frontend/Joshine/breeze/Magento_Cms/templates/default/flashsaleproduct.phtml
+1
-1
app/design/frontend/Joshine/breeze/Magento_Cms/templates/default/homenewproduct.phtml
+1
-1
No files found.
app/design/frontend/Joshine/breeze/Magento_Cms/templates/default/flashsaleproduct.phtml
View file @
241d5099
...
...
@@ -3,7 +3,7 @@ if(!$id = $block->getProductIds()){
return
;
}
$ids
=
explode
(
','
,
$id
);
$templateType
=
\Magento\Catalog\Block\Product\ReviewRendererInterface
::
SHORT
_VIEW
;
$templateType
=
\Magento\Catalog\Block\Product\ReviewRendererInterface
::
FULL
_VIEW
;
$objectManager
=
\Magento\Framework\App\ObjectManager
::
getInstance
();
$pr
=
$objectManager
->
create
(
'Magento\Catalog\Model\ProductRepository'
);
$blocklist
=
$objectManager
->
get
(
'\Magento\Catalog\Block\Product\ListProduct'
);
...
...
app/design/frontend/Joshine/breeze/Magento_Cms/templates/default/homenewproduct.phtml
View file @
241d5099
...
...
@@ -3,7 +3,7 @@ $ids = array();
if
(
$id
=
$block
->
getProductIds
()){
$ids
=
explode
(
','
,
$id
);
}
$templateType
=
\Magento\Catalog\Block\Product\ReviewRendererInterface
::
SHORT
_VIEW
;
$templateType
=
\Magento\Catalog\Block\Product\ReviewRendererInterface
::
FULL
_VIEW
;
$objectManager
=
\Magento\Framework\App\ObjectManager
::
getInstance
();
$pr
=
$objectManager
->
create
(
'Magento\Catalog\Model\ProductRepository'
);
$blocklist
=
$objectManager
->
get
(
'\Magento\Catalog\Block\Product\ListProduct'
);
...
...
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