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
5abc067c
Commit
5abc067c
authored
Sep 09, 2022
by
王东红
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://47.99.244.21:9999/root/joshine
parents
e4243772
673e4275
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
561 additions
and
15 deletions
+561
-15
app/design/frontend/Joshine/breeze/Magento_Catalog/layout/catalog_category_view.xml
+63
-0
app/design/frontend/Joshine/breeze/Magento_Catalog/layout/catalog_category_view_type_default.xml
+14
-0
app/design/frontend/Joshine/breeze/Magento_Catalog/layout/catalog_category_view_type_default_without_children.xml
+10
-0
app/design/frontend/Joshine/breeze/Magento_Catalog/layout/catalog_product_compare_index.xml
+19
-0
app/design/frontend/Joshine/breeze/Magento_Catalog/layout/catalog_product_gallery.xml
+19
-0
app/design/frontend/Joshine/breeze/Magento_Catalog/layout/catalog_product_opengraph.xml
+19
-0
app/design/frontend/Joshine/breeze/Magento_Catalog/layout/catalog_product_view.xml
+0
-0
app/design/frontend/Joshine/breeze/Magento_Catalog/layout/catalog_product_view_type_simple.xml
+15
-0
app/design/frontend/Joshine/breeze/Magento_Catalog/layout/catalog_product_view_type_virtual.xml
+15
-0
app/design/frontend/Joshine/breeze/Magento_Catalog/layout/checkout_cart_item_renderers.xml
+19
-0
app/design/frontend/Joshine/breeze/Magento_Catalog/layout/default.xml
+70
-0
app/design/frontend/Joshine/breeze/Magento_Catalog/templates/category/cms.phtml
+18
-0
app/design/frontend/Joshine/breeze/Magento_Catalog/templates/category/description.phtml
+24
-0
app/design/frontend/Joshine/breeze/Magento_Catalog/templates/category/image.phtml
+32
-0
app/design/frontend/Joshine/breeze/Magento_Catalog/templates/category/products.phtml
+16
-0
app/design/frontend/Joshine/breeze/Magento_Catalog/templates/category/rss.phtml
+12
-0
app/design/frontend/Joshine/breeze/Magento_Catalog/templates/navigation/left.phtml
+47
-0
app/design/frontend/Joshine/breeze/Magento_LayeredNavigation/templates/layer/state.phtml
+53
-0
app/design/frontend/Joshine/breeze/Magento_LayeredNavigation/templates/layer/view.phtml
+63
-0
app/design/frontend/Joshine/breeze/Magento_Theme/templates/html/footer.phtml
+6
-6
app/design/frontend/Joshine/breeze/web/css/_custom.less
+27
-9
No files found.
app/design/frontend/Joshine/breeze/Magento_Catalog/layout/catalog_category_view.xml
0 → 100644
View file @
5abc067c
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<page
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
layout=
"2columns-left"
xsi:noNamespaceSchemaLocation=
"urn:magento:framework:View/Layout/etc/page_configuration.xsd"
>
<body>
<referenceContainer
name=
"columns.top"
>
<container
name=
"category.view.container"
htmlTag=
"div"
htmlClass=
"category-view"
after=
"-"
>
<block
class=
"Magento\Catalog\Block\Category\View"
name=
"category.image"
template=
"Magento_Catalog::category/image.phtml"
>
<arguments>
<argument
name=
"image"
xsi:type=
"object"
>
Magento\Catalog\ViewModel\Category\Image
</argument>
<argument
name=
"output"
xsi:type=
"object"
>
Magento\Catalog\ViewModel\Category\Output
</argument>
</arguments>
</block>
<block
class=
"Magento\Catalog\Block\Category\View"
name=
"category.description"
template=
"Magento_Catalog::category/description.phtml"
/>
<block
class=
"Magento\Catalog\Block\Category\View"
name=
"category.cms"
template=
"Magento_Catalog::category/cms.phtml"
/>
</container>
</referenceContainer>
<referenceContainer
name=
"content"
>
<block
class=
"Magento\Catalog\Block\Category\View"
name=
"category.products"
template=
"Magento_Catalog::category/products.phtml"
>
<block
class=
"Magento\Catalog\Block\Product\ListProduct"
name=
"category.products.list"
as=
"product_list"
template=
"Magento_Catalog::product/list.phtml"
>
<container
name=
"category.product.list.additional"
as=
"additional"
/>
<block
class=
"Magento\Framework\View\Element\RendererList"
name=
"category.product.type.details.renderers"
as=
"details.renderers"
>
<block
class=
"Magento\Framework\View\Element\Template"
name=
"category.product.type.details.renderers.default"
as=
"default"
/>
</block>
<block
class=
"Magento\Catalog\Block\Product\ProductList\Item\Container"
name=
"category.product.addto"
as=
"addto"
>
<block
class=
"Magento\Catalog\Block\Product\ProductList\Item\AddTo\Compare"
name=
"category.product.addto.compare"
as=
"compare"
template=
"Magento_Catalog::product/list/addto/compare.phtml"
/>
</block>
<block
class=
"Magento\Catalog\Block\Product\ProductList\Toolbar"
name=
"product_list_toolbar"
template=
"Magento_Catalog::product/list/toolbar.phtml"
>
<block
class=
"Magento\Theme\Block\Html\Pager"
name=
"product_list_toolbar_pager"
/>
</block>
<action
method=
"setToolbarBlockName"
>
<argument
name=
"name"
xsi:type=
"string"
>
product_list_toolbar
</argument>
</action>
</block>
</block>
<block
class=
"Magento\Cookie\Block\RequireCookie"
name=
"require-cookie"
template=
"Magento_Cookie::require_cookie.phtml"
>
<arguments>
<argument
name=
"triggers"
xsi:type=
"array"
>
<item
name=
"compareProductLink"
xsi:type=
"string"
>
.action.tocompare
</item>
</argument>
</arguments>
</block>
</referenceContainer>
<referenceBlock
name=
"page.main.title"
>
<arguments>
<argument
name=
"id"
xsi:type=
"string"
>
page-title-heading
</argument>
<argument
name=
"add_base_attribute_aria"
xsi:type=
"string"
>
page-title-heading toolbar-amount
</argument>
</arguments>
<block
class=
"Magento\Catalog\Block\Category\Rss\Link"
name=
"rss.link"
template=
"Magento_Catalog::category/rss.phtml"
/>
</referenceBlock>
<referenceBlock
name=
"category.products.list"
>
<arguments>
<argument
name=
"viewModel"
xsi:type=
"object"
>
Magento\Catalog\ViewModel\Product\OptionsData
</argument>
</arguments>
</referenceBlock>
</body>
</page>
app/design/frontend/Joshine/breeze/Magento_Catalog/layout/catalog_category_view_type_default.xml
0 → 100644
View file @
5abc067c
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<page
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation=
"urn:magento:framework:View/Layout/etc/page_configuration.xsd"
>
<body>
<referenceContainer
name=
"sidebar.main"
>
<block
class=
"Magento\Catalog\Block\Navigation"
name=
"catalog.leftnav"
before=
"-"
template=
"Magento_Catalog::navigation/left.phtml"
/>
</referenceContainer>
</body>
</page>
app/design/frontend/Joshine/breeze/Magento_Catalog/layout/catalog_category_view_type_default_without_children.xml
0 → 100644
View file @
5abc067c
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<page
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation=
"urn:magento:framework:View/Layout/etc/page_configuration.xsd"
>
<body/>
</page>
app/design/frontend/Joshine/breeze/Magento_Catalog/layout/catalog_product_compare_index.xml
0 → 100644
View file @
5abc067c
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<page
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
layout=
"1column"
xsi:noNamespaceSchemaLocation=
"urn:magento:framework:View/Layout/etc/page_configuration.xsd"
>
<body>
<referenceBlock
name=
"page.main.title"
>
<action
method=
"setPageTitle"
>
<argument
translate=
"true"
name=
"page_title"
xsi:type=
"string"
>
Compare Products
</argument>
</action>
</referenceBlock>
<referenceContainer
name=
"content"
>
<block
class=
"Magento\Catalog\Block\Product\Compare\ListCompare"
name=
"catalog.compare.list"
template=
"Magento_Catalog::product/compare/list.phtml"
cacheable=
"false"
/>
</referenceContainer>
</body>
</page>
app/design/frontend/Joshine/breeze/Magento_Catalog/layout/catalog_product_gallery.xml
0 → 100644
View file @
5abc067c
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<page
layout=
"1column"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation=
"urn:magento:framework:View/Layout/etc/page_configuration.xsd"
>
<body>
<referenceBlock
name=
"root"
>
<action
method=
"setTemplate"
>
<argument
name=
"template"
xsi:type=
"string"
>
popup.phtml
</argument>
</action>
</referenceBlock>
<referenceContainer
name=
"content"
>
<block
class=
"Magento\Catalog\Block\Product\Gallery"
name=
"catalog_product_gallery"
template=
"Magento_Catalog::product/gallery.phtml"
/>
</referenceContainer>
</body>
</page>
app/design/frontend/Joshine/breeze/Magento_Catalog/layout/catalog_product_opengraph.xml
0 → 100644
View file @
5abc067c
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<page
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation=
"urn:magento:framework:View/Layout/etc/page_configuration.xsd"
>
<head>
<attribute
name=
"prefix"
value=
"og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# product: http://ogp.me/ns/product#"
/>
</head>
<body>
<referenceBlock
name=
"head.additional"
>
<block
class=
"Magento\Catalog\Block\Product\View"
name=
"opengraph.general"
template=
"Magento_Catalog::product/view/opengraph/general.phtml"
>
<block
class=
"Magento\Directory\Block\Currency"
name=
"opengraph.currency"
as=
"meta.currency"
template=
"Magento_Catalog::product/view/opengraph/currency.phtml"
/>
</block>
</referenceBlock>
</body>
</page>
app/design/frontend/Joshine/breeze/Magento_Catalog/layout/catalog_product_view.xml
0 → 100644
View file @
5abc067c
This diff is collapsed.
Click to expand it.
app/design/frontend/Joshine/breeze/Magento_Catalog/layout/catalog_product_view_type_simple.xml
0 → 100644
View file @
5abc067c
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<page
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation=
"urn:magento:framework:View/Layout/etc/page_configuration.xsd"
>
<body>
<referenceContainer
name=
"product.info.type"
>
<block
class=
"Magento\Catalog\Block\Product\View\Type\Simple"
name=
"product.info.simple"
as=
"product_type_data"
template=
"Magento_Catalog::product/view/type/default.phtml"
/>
<container
name=
"product.info.simple.extra"
after=
"product.info.simple"
as=
"product_type_data_extra"
label=
"Product Extra Info"
/>
</referenceContainer>
</body>
</page>
app/design/frontend/Joshine/breeze/Magento_Catalog/layout/catalog_product_view_type_virtual.xml
0 → 100644
View file @
5abc067c
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<page
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation=
"urn:magento:framework:View/Layout/etc/page_configuration.xsd"
>
<body>
<referenceContainer
name=
"product.info.type"
>
<block
class=
"Magento\Catalog\Block\Product\View\Type\Virtual"
name=
"product.info.virtual"
as=
"product_type_data"
template=
"Magento_Catalog::product/view/type/default.phtml"
/>
<container
name=
"product.info.virtual.extra"
after=
"product.info.virtual"
as=
"product_type_data_extra"
label=
"Product Extra Info"
/>
</referenceContainer>
</body>
</page>
app/design/frontend/Joshine/breeze/Magento_Catalog/layout/checkout_cart_item_renderers.xml
0 → 100644
View file @
5abc067c
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<page
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation=
"urn:magento:framework:View/Layout/etc/page_configuration.xsd"
>
<body>
<referenceBlock
name=
"checkout.cart.item.renderers"
>
<block
class=
"Magento\Checkout\Block\Cart\Item\Renderer"
name=
"checkout.cart.item.renderers.virtual"
as=
"virtual"
template=
"Magento_Checkout::cart/item/default.phtml"
>
<block
class=
"Magento\Checkout\Block\Cart\Item\Renderer\Actions"
name=
"checkout.cart.item.renderers.virtual.actions"
as=
"actions"
>
<block
class=
"Magento\Checkout\Block\Cart\Item\Renderer\Actions\Edit"
name=
"checkout.cart.item.renderers.virtual.actions.edit"
template=
"Magento_Checkout::cart/item/renderer/actions/edit.phtml"
/>
<block
class=
"Magento\Checkout\Block\Cart\Item\Renderer\Actions\Remove"
name=
"checkout.cart.item.renderers.virtual.actions.remove"
template=
"Magento_Checkout::cart/item/renderer/actions/remove.phtml"
/>
</block>
</block>
</referenceBlock>
</body>
</page>
app/design/frontend/Joshine/breeze/Magento_Catalog/layout/default.xml
0 → 100644
View file @
5abc067c
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<page
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation=
"urn:magento:framework:View/Layout/etc/page_configuration.xsd"
>
<body>
<referenceContainer
name=
"before.body.end"
>
<block
class=
"Magento\Catalog\Block\FrontendStorageManager"
name=
"frontend-storage-manager"
before=
"-"
template=
"Magento_Catalog::frontend_storage_manager.phtml"
>
<arguments>
<argument
name=
"configuration"
xsi:type=
"array"
>
<item
name=
"recently_viewed_product"
xsi:type=
"array"
>
<item
name=
"requestConfig"
xsi:type=
"array"
>
<item
name=
"syncUrl"
xsi:type=
"url"
path=
"catalog/product/frontend_action_synchronize"
/>
</item>
</item>
<item
name=
"recently_compared_product"
xsi:type=
"array"
>
<item
name=
"requestConfig"
xsi:type=
"array"
>
<item
name=
"syncUrl"
xsi:type=
"url"
path=
"catalog/product/frontend_action_synchronize"
/>
</item>
</item>
<item
name=
"product_data_storage"
xsi:type=
"array"
>
<item
name=
"updateRequestConfig"
xsi:type=
"array"
>
<item
name=
"url"
xsi:type=
"serviceUrl"
path=
"/products-render-info"
/>
</item>
<item
name=
"requestConfig"
xsi:type=
"array"
>
<item
name=
"syncUrl"
xsi:type=
"url"
path=
"catalog/product/frontend_action_synchronize"
/>
</item>
</item>
</argument>
</arguments>
</block>
</referenceContainer>
<referenceBlock
name=
"top.links"
>
<block
class=
"Magento\Framework\View\Element\Template"
name=
"catalog.compare.link"
before=
"-"
template=
"Magento_Catalog::product/compare/link.phtml"
>
<arguments>
<argument
name=
"jsLayout"
xsi:type=
"array"
>
<item
name=
"components"
xsi:type=
"array"
>
<item
name=
"compareProducts"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
Magento_Catalog/js/view/compare-products
</item>
</item>
</item>
</argument>
</arguments>
</block>
</referenceBlock>
<referenceContainer
name=
"sidebar.additional"
>
<block
class=
"Magento\Framework\View\Element\Template"
name=
"catalog.compare.sidebar"
template=
"Magento_Catalog::product/compare/sidebar.phtml"
>
<arguments>
<argument
name=
"jsLayout"
xsi:type=
"array"
>
<item
name=
"components"
xsi:type=
"array"
>
<item
name=
"compareProducts"
xsi:type=
"array"
>
<item
name=
"component"
xsi:type=
"string"
>
Magento_Catalog/js/view/compare-products
</item>
</item>
</item>
</argument>
</arguments>
</block>
</referenceContainer>
<referenceContainer
name=
"after.body.start"
>
<block
class=
"Magento\Framework\View\Element\Js\Components"
name=
"head.components"
as=
"components"
template=
"Magento_Catalog::js/components.phtml"
/>
</referenceContainer>
<block
class=
"Magento\Framework\View\Element\Template"
name=
"head.additional"
as=
"head.additional"
template=
"Magento_Theme::html/container.phtml"
/>
</body>
</page>
app/design/frontend/Joshine/breeze/Magento_Catalog/templates/category/cms.phtml
0 → 100644
View file @
5abc067c
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
?>
<?php
/**
* Category view template
*
* @var $block \Magento\Catalog\Block\Category\View
*/
?>
<?php
if
(
$block
->
isContentMode
()
||
$block
->
isMixedMode
())
:?>
<
div
class
="
category
-
cms
">
<?=
$block->getCmsBlockHtml
() ?>
</div>
<?php endif; ?>
app/design/frontend/Joshine/breeze/Magento_Catalog/templates/category/description.phtml
0 → 100644
View file @
5abc067c
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
?>
<?php
// phpcs:disable Magento2.Templates.ThisInTemplate.FoundThis
/**
* Category view template
*
* @var $block \Magento\Catalog\Block\Category\View
*/
?>
<?php
if
(
$_description
=
$block
->
getCurrentCategory
()
->
getDescription
())
:?>
<
div
class
="
category
-
description
">
<?= /* @noEscape */
$this->helper
(Magento\Catalog\Helper\Output::class)->categoryAttribute(
$block->getCurrentCategory
(),
$_description
,
'description'
) ?>
</div>
<?php endif; ?>
app/design/frontend/Joshine/breeze/Magento_Catalog/templates/category/image.phtml
0 → 100644
View file @
5abc067c
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
?>
<?php
/**
* Category view template
*
* @var $block \Magento\Catalog\Block\Category\View
*/
// phpcs:disable Magento2.Templates.ThisInTemplate.FoundThis
// phpcs:disable Generic.WhiteSpace.ScopeIndent.IncorrectExact
// phpcs:disable Magento2.Security.LanguageConstruct.DirectOutput
?>
<?php
$_category
=
$block
->
getCurrentCategory
();
$_imgHtml
=
''
;
if
(
$_imgUrl
=
$block
->
getImage
()
->
getUrl
(
$_category
))
{
$_imgHtml
=
'<div class="category-image"><img src="'
.
$block
->
escapeUrl
(
$_imgUrl
)
.
'" alt="'
.
$block
->
escapeHtmlAttr
(
$_category
->
getName
())
.
'" title="'
.
$block
->
escapeHtmlAttr
(
$_category
->
getName
())
.
'" class="image" /></div>'
;
$_imgHtml
=
$block
->
getOutput
()
->
categoryAttribute
(
$_category
,
$_imgHtml
,
'image'
);
/* @noEscape */
echo
$_imgHtml
;
}
?>
app/design/frontend/Joshine/breeze/Magento_Catalog/templates/category/products.phtml
0 → 100644
View file @
5abc067c
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
?>
<?php
/**
* Category view template
*
* @var $block \Magento\Catalog\Block\Category\View
*/
?>
<?php
if
(
!
$block
->
isContentMode
()
||
$block
->
isMixedMode
())
:?>
<?=
$block
->
getProductListHtml
()
?>
<?php
endif
;
?>
app/design/frontend/Joshine/breeze/Magento_Catalog/templates/category/rss.phtml
0 → 100644
View file @
5abc067c
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
/** @var $block \Magento\Catalog\Block\Category\Rss\Link */
?>
<?php
if
(
$block
->
isRssAllowed
()
&&
$block
->
getLink
()
&&
$block
->
isTopCategory
())
:?>
<
a
href
=
"<?=
$block->escapeUrl
(
$block->getLink
()) ?>"
class
="
action
link
rss
"><span><?=
$block->escapeHtml
(
$block->getLabel
()) ?></span></a>
<?php endif; ?>
app/design/frontend/Joshine/breeze/Magento_Catalog/templates/navigation/left.phtml
0 → 100644
View file @
5abc067c
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
/**
* Category left navigation
*
* @var $block \Magento\Catalog\Block\Navigation
*/
?>
<?php
if
(
!
$block
->
getCategory
())
{
return
;
}
?>
<?php
$_categories
=
$block
->
getCurrentChildCategories
()
;
?>
<?php
$_count
=
is_array
(
$_categories
)
?
count
(
$_categories
)
:
$_categories
->
count
();
?>
<?php
if
(
$_count
)
:?>
<
div
class
="
block
filter
">
<div class="
title
">
<strong><?=
$block->escapeHtml
(__('Shop By')) ?></strong>
</div>
<div class="
content
">
<strong class="
subtitle
"><?=
$block->escapeHtml
(__('Shopping Options')) ?></strong>
<dl class="
options
" id="
narrow
-
by
-
list2
">
<dt><?=
$block->escapeHtml
(__('Category')) ?></dt>
<dd>
<ol class="
items
">
<?php /** @var \Magento\Catalog\Model\Category
$_category
*/ ?>
<?php foreach (
$_categories
as
$_category
) :?>
<?php if (
$_category->getIsActive
()) :?>
<li class="
item
">
<a href="
<?=
$block
->
escapeUrl
(
$block
->
getCategoryUrl
(
$_category
))
?>
"
<?php
if
(
$block
->
isCategoryActive
(
$_category
))
:?>
class
="
current
"
<?php endif; ?>
><?=
$block->escapeHtml
(
$_category->getName
()) ?></a>
<span class="
count
"><?=
$block->escapeHtml
(
$_category->getProductCount
()) ?></span>
</li>
<?php endif; ?>
<?php endforeach ?>
</ol>
</dd>
</dl>
</div>
</div>
<?php endif; ?>
app/design/frontend/Joshine/breeze/Magento_LayeredNavigation/templates/layer/state.phtml
0 → 100644
View file @
5abc067c
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
// @codingStandardsIgnoreFile
?>
<?php
/**
* Category layered navigation state
*
* @var $block \Magento\LayeredNavigation\Block\Navigation\State
*/
?>
<?php
$_filters
=
$block
->
getActiveFilters
()
?>
<?php
if
(
!
empty
(
$_filters
))
:
?>
<div
class=
"filter-current"
data-mage-init=
'{"collapsible":{"openedState": "active", "collapsible": true, "active": false }}'
>
<strong
class=
"block-subtitle filter-current-subtitle"
role=
"heading"
aria-level=
"2"
data-role=
"title"
data-count=
"
<?=
/* @noEscape */
count
(
$_filters
)
?>
"
>
<?=
$block
->
escapeHtml
(
__
(
'Now Shopping by'
))
?>
</strong>
<ol
class=
"items"
>
<?php
foreach
(
$_filters
as
$_filter
)
:
?>
<li
class=
"item"
>
<span
class=
"filter-label"
>
<?=
$block
->
escapeHtml
(
__
(
$_filter
->
getName
()))
?>
</span>
<span
class=
"filter-value"
>
<?=
$block
->
escapeHtml
(
$block
->
stripTags
(
$_filter
->
getLabel
()))
?>
</span>
<?php
$clearLinkUrl
=
$_filter
->
getClearLinkUrl
();
$currentFilterName
=
$block
->
escapeHtmlAttr
(
__
(
$_filter
->
getName
())
.
" "
.
$block
->
stripTags
(
$_filter
->
getLabel
()));
if
(
$clearLinkUrl
)
:
?>
<a
class=
"action previous"
href=
"
<?=
$block
->
escapeUrl
(
$_filter
->
getRemoveUrl
())
?>
"
title=
"
<?=
$block
->
escapeHtmlAttr
(
__
(
'Previous'
))
?>
"
>
<span>
<?=
$block
->
escapeHtml
(
__
(
'Previous'
))
?>
</span>
</a>
<a
class=
"action remove"
title=
"
<?=
$block
->
escapeHtmlAttr
(
$_filter
->
getFilter
()
->
getClearLinkText
())
?>
"
href=
"
<?=
$block
->
escapeUrl
(
$clearLinkUrl
)
?>
"
>
<span>
<?=
$block
->
escapeHtml
(
$_filter
->
getFilter
()
->
getClearLinkText
())
?>
</span>
</a>
<?php
else
:
?>
<a
class=
"action remove"
href=
"
<?=
$block
->
escapeUrl
(
$_filter
->
getRemoveUrl
())
?>
"
title=
"
<?=
/* @noEscape */
$block
->
escapeHtmlAttr
(
__
(
'Remove'
))
.
" "
.
$currentFilterName
?>
"
>
<span>
<?=
$block
->
escapeHtml
(
__
(
'Remove This Item'
))
?>
</span>
</a>
<?php
endif
;
?>
</li>
<?php
endforeach
;
?>
</ol>
</div>
<?php
endif
;
?>
app/design/frontend/Joshine/breeze/Magento_LayeredNavigation/templates/layer/view.phtml
0 → 100644
View file @
5abc067c
<?php
/**
* Category layered navigation
*
* @var $block \Magento\LayeredNavigation\Block\Navigation
*/
?>
<?php
if
(
!
$block
->
canShowBlock
())
:
return
;
endif
;
?>
<?php
$visibleFilters
=
array_filter
(
$block
->
getFilters
(),
function
(
$filter
)
{
return
$filter
->
getItemsCount
()
>
0
;
});
$activeFilters
=
$block
->
getLayer
()
->
getState
()
->
getFilters
();
$isExpanded
=
$block
->
getExpanded
();
if
(
$isExpanded
===
'auto'
)
{
$isExpanded
=
count
(
$visibleFilters
)
<=
7
;
}
$name
=
$block
->
getNameInLayout
();
$parentName
=
$this
->
getLayout
()
->
getParentName
(
$name
);
if
(
strpos
(
$parentName
,
'sidebar'
)
===
false
)
{
$isExpanded
=
false
;
}
?>
<div
class=
"block filter"
data-mage-init=
'{"slideout":{"toggler":".filter-title","panel":".filter-content"}}'
>
<div
class=
"block-title filter-title"
tabindex=
"0"
>
<strong>
<?=
$block
->
escapeHtml
(
__
(
'Shop By'
))
?>
</strong>
<?php
if
(
$activeFilters
)
:
?>
<span
class=
"count"
>
<?=
count
(
$activeFilters
)
?>
</span>
<?php
endif
;
?>
</div>
<div
class=
"block-content filter-content"
>
<?=
$block
->
getChildHtml
(
'state'
)
?>
<?php
if
(
$activeFilters
)
:
?>
<div
class=
"block-actions filter-actions"
>
<a
href=
"
<?=
$block
->
escapeUrl
(
$block
->
getClearUrl
())
?>
"
class=
"action clear filter-clear"
><span>
<?=
$block
->
escapeHtml
(
__
(
'Clear All'
))
?>
</span></a>
</div>
<?php
endif
;
?>
<?php
if
(
$visibleFilters
)
:
?>
<strong
role=
"heading"
aria-level=
"2"
class=
"block-subtitle filter-subtitle"
><span>
<?=
$block
->
escapeHtml
(
__
(
'Shopping Options'
))
?>
</span></strong>
<div
class=
"filter-options"
id=
"narrow-by-list"
>
<?php
endif
?>
<?php
foreach
(
$visibleFilters
as
$i
=>
$filter
)
:
?>
<div
class=
"filter-options-item filter-
<?=
$filter
->
getRequestVar
()
?><?=
$isExpanded
?
' initially-active active'
:
''
?>
"
data-mage-init=
'{"collapsible":{"active":
<?=
$isExpanded
?
'true'
:
'false'
?>
,"dialog":true}}'
>
<div
role=
"heading"
aria-level=
"2"
class=
"filter-options-title"
data-trigger=
"true"
data-role=
"title"
>
<?=
$block
->
escapeHtml
(
__
(
$filter
->
getName
()))
?>
</div>
<div
class=
"filter-options-content"
data-role=
"content"
>
<?=
/* @noEscape */
$block
->
getChildBlock
(
'renderer'
)
->
render
(
$filter
)
?>
</div>
</div>
<?php
endforeach
;
?>
<?php
if
(
$visibleFilters
)
:
?>
</div>
<?php
endif
;
?>
</div>
</div>
app/design/frontend/Joshine/breeze/Magento_Theme/templates/html/footer.phtml
View file @
5abc067c
...
...
@@ -22,8 +22,8 @@ $logoHeight = $logoSizeResolver !== null && $logoSizeResolver->getHeight()
<div
class=
"footer-container"
>
<div
class=
"footer_link"
>
<div
style=
"text-align: center;"
>
<img
src=
"
https://media.joshine.com/wysiwyg/joshine_logo_1.png"
width=
"200px;"
class=
"logo_img"
>
<div
style=
"text-align: center;
color: #ffffff;
"
>
<img
src=
"
/media/wysiwyg/joshine_logo_1.png"
width=
"200px;"
class=
"logo_img"
>
</div>
<div>
<h4>
ABOUT JOSHINE
<span>
>
</span></h4>
...
...
@@ -55,10 +55,10 @@ $logoHeight = $logoSizeResolver !== null && $logoSizeResolver->getHeight()
</div>
<div
class=
"copyright"
>
<span
class=
"copyright_left"
>
Copyright © JOSHINE all rights reserved
</span>
<span
class=
"copyright_right"
><img
src=
"
https://media.joshine.com
/wysiwyg/footerpay.png"
height=
"40px;"
>
<a
title=
"Copy Right"
href=
"
https://www.joshine.com
/copy-right"
>
Copy Right
</a>
<a
title=
"Terms of Use"
href=
"
https://www.joshine.com
/terms-of-use"
>
Terms of Use
</a>
<a
title=
"Security & Privacy Policy"
href=
"
https://www.joshine.com
/security-privacy-policy"
>
Security
&
Privacy Policy
</a>
<span
class=
"copyright_right"
><img
src=
"
/media
/wysiwyg/footerpay.png"
height=
"40px;"
>
<a
title=
"Copy Right"
href=
"/copy-right"
>
Copy Right
</a>
<a
title=
"Terms of Use"
href=
"/terms-of-use"
>
Terms of Use
</a>
<a
title=
"Security & Privacy Policy"
href=
"/security-privacy-policy"
>
Security
&
Privacy Policy
</a>
</span>
</div>
...
...
app/design/frontend/Joshine/breeze/web/css/_custom.less
View file @
5abc067c
...
...
@@ -37,6 +37,7 @@
margin-bottom: 10px;
font-family: 'Outfit', sans-serif;
display: block;
background-color: whitesmoke;
}
.filter-content .filter-options .filter-options-content ol li a{
color: #999999;
...
...
@@ -65,7 +66,6 @@
font-family: Outfit-Regular, sans-serif;
font-size: 20px;
display: block !important;
margin-top: 40px;
}
//.old-price > span .price-label{
...
...
@@ -97,9 +97,6 @@
.box-tocart .fieldset .actions > button{
width: 100%;
}
.block .block-content,#search_mini_form{
display: none;
}
.block .review-add .block-content{
display: block !important;
...
...
@@ -147,6 +144,7 @@
margin-bottom: 10px;
font-family: Outfit-Regular;
display: block;
background-color: whitesmoke;
}
.filter-content .filter-options .filter-options-content ol li a {
...
...
@@ -217,6 +215,27 @@ footer a{
width: 100%;
}
.footer_link > div > img{
margin-top: 10px;
margin-bottom: 20px;
}
.product-info-wrapper .page-title-wrapper span.base{
text-transform: none;
font-weight: 400;
color: #292929;
padding-bottom: 1px;
margin-bottom: 0;
font-family: Outfit-Regular, sans-serif;
font-size: 20px;
display: block !important;
margin-top: 1px !important;
}
.page-main > .columns{
margin-top: 70px;
}
footer .footer_link .logo_img{
margin-top: 2%;
}
...
...
@@ -285,9 +304,7 @@ footer a{
width: max-content;
}
.block .block-search #search_mini_form {
display: none;
}
.breadcrumbs li > .item .product{
margin-top: 60px;
...
...
@@ -384,8 +401,9 @@ ul {
@media (max-width: 767px){
.block .block-search #search_mini_form {
display: none;
.page-main > .columns{
margin-top: 70px;
}
#product-review-container #customer-reviews .block .block-content {
...
...
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