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
d7fd6e91
Commit
d7fd6e91
authored
Sep 09, 2022
by
lmf
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://47.99.244.21:9999/root/joshine
parents
543369d0
c750c2c7
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
740 additions
and
0 deletions
+740
-0
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
+212
-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
No files found.
app/design/frontend/Joshine/breeze/Magento_Catalog/layout/catalog_category_view.xml
0 → 100644
View file @
d7fd6e91
<?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 @
d7fd6e91
<?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 @
d7fd6e91
<?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 @
d7fd6e91
<?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 @
d7fd6e91
<?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 @
d7fd6e91
<?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 @
d7fd6e91
<?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"
>
<head>
<css
src=
"mage/gallery/gallery.css"
/>
</head>
<update
handle=
"catalog_product_opengraph"
/>
<update
handle=
"page_calendar"
/>
<body>
<attribute
name=
"itemtype"
value=
"http://schema.org/Product"
/>
<attribute
name=
"itemscope"
value=
"itemscope"
/>
<referenceBlock
name=
"head.components"
>
<block
class=
"Magento\Framework\View\Element\Js\Components"
name=
"checkout_page_head_components"
template=
"Magento_Catalog::js/components.phtml"
/>
</referenceBlock>
<referenceBlock
name=
"page.main.title"
>
<arguments>
<argument
name=
"css_class"
xsi:type=
"string"
>
product
</argument>
<argument
name=
"add_base_attribute"
xsi:type=
"string"
>
itemprop="name"
</argument>
</arguments>
</referenceBlock>
<referenceBlock
name=
"root"
>
<arguments>
<argument
name=
"add_attribute"
xsi:type=
"string"
>
itemscope itemtype="http://schema.org/Product"
</argument>
</arguments>
</referenceBlock>
<referenceBlock
name=
"breadcrumbs"
template=
"Magento_Catalog::product/breadcrumbs.phtml"
>
<arguments>
<argument
name=
"viewModel"
xsi:type=
"object"
>
Magento\Catalog\ViewModel\Product\Breadcrumbs
</argument>
</arguments>
</referenceBlock>
<referenceContainer
name=
"content"
>
<container
name=
"product.info.main"
htmlTag=
"div"
htmlClass=
"product-info-main"
before=
"-"
>
<container
name=
"product.info.price"
label=
"Product info auxiliary container"
htmlTag=
"div"
htmlClass=
"product-info-price"
>
<container
name=
"product.info.stock.sku"
label=
"Product auxiliary info"
htmlTag=
"div"
htmlClass=
"product-info-stock-sku"
>
<container
name=
"product.info.type"
before=
"-"
/>
<block
class=
"Magento\Catalog\Block\Product\View\Description"
name=
"product.info.sku"
template=
"Magento_Catalog::product/view/attribute.phtml"
after=
"product.info.type"
>
<arguments>
<argument
name=
"at_call"
xsi:type=
"string"
>
getSku
</argument>
<argument
name=
"at_code"
xsi:type=
"string"
>
sku
</argument>
<argument
name=
"css_class"
xsi:type=
"string"
>
sku
</argument>
<argument
name=
"at_label"
xsi:type=
"string"
>
default
</argument>
<argument
name=
"add_attribute"
xsi:type=
"string"
>
itemprop="sku"
</argument>
</arguments>
</block>
</container>
<block
class=
"Magento\Catalog\Block\Product\View"
name=
"product.info.review"
template=
"Magento_Catalog::product/view/review.phtml"
after=
"product.info.stock.sku"
/>
<block
class=
"Magento\Catalog\Pricing\Render"
name=
"product.price.final"
>
<arguments>
<argument
name=
"price_render"
xsi:type=
"string"
>
product.price.render.default
</argument>
<argument
name=
"price_type_code"
xsi:type=
"string"
>
final_price
</argument>
<argument
name=
"zone"
xsi:type=
"string"
>
item_view
</argument>
</arguments>
</block>
</container>
<block
class=
"Magento\Catalog\Pricing\Render"
name=
"product.price.tier"
after=
"product.info.price"
>
<arguments>
<argument
name=
"price_render"
xsi:type=
"string"
>
product.price.render.default
</argument>
<argument
name=
"price_type_code"
xsi:type=
"string"
>
tier_price
</argument>
<argument
name=
"zone"
xsi:type=
"string"
>
item_view
</argument>
</arguments>
</block>
<container
name=
"alert.urls"
as=
"alert_urls"
label=
"Alert Urls"
after=
"product.price.tier"
/>
<block
class=
"Magento\Catalog\Block\Product\View"
name=
"product.info"
template=
"Magento_Catalog::product/view/form.phtml"
after=
"alert.urls"
>
<container
name=
"product.info.form.content"
as=
"product_info_form_content"
>
<block
class=
"Magento\Catalog\Block\Product\View"
name=
"product.info.addtocart"
as=
"addtocart"
template=
"Magento_Catalog::product/view/addtocart.phtml"
/>
</container>
<block
class=
"Magento\Framework\View\Element\Template"
name=
"product.info.form.options"
as=
"options_container"
>
<block
class=
"Magento\Catalog\Block\Product\View"
name=
"product.info.options.wrapper"
as=
"product_options_wrapper"
template=
"Magento_Catalog::product/view/options/wrapper.phtml"
>
<block
class=
"Magento\Catalog\Block\Product\View\Options"
name=
"product.info.options"
as=
"product_options"
template=
"Magento_Catalog::product/view/options.phtml"
>
<block
class=
"Magento\Catalog\Block\Product\View\Options\Type\DefaultType"
name=
"product.info.options.default"
as=
"default"
template=
"Magento_Catalog::product/view/options/type/default.phtml"
/>
<block
class=
"Magento\Catalog\Block\Product\View\Options\Type\Text"
name=
"product.info.options.text"
as=
"text"
template=
"Magento_Catalog::product/view/options/type/text.phtml"
/>
<block
class=
"Magento\Catalog\Block\Product\View\Options\Type\File"
name=
"product.info.options.file"
as=
"file"
template=
"Magento_Catalog::product/view/options/type/file.phtml"
/>
<block
class=
"Magento\Catalog\Block\Product\View\Options\Type\Select"
name=
"product.info.options.select"
as=
"select"
template=
"Magento_Catalog::product/view/options/type/select.phtml"
/>
<block
class=
"Magento\Catalog\Block\Product\View\Options\Type\Date"
name=
"product.info.options.date"
as=
"date"
template=
"Magento_Catalog::product/view/options/type/date.phtml"
/>
</block>
<block
class=
"Magento\Framework\View\Element\Html\Calendar"
name=
"html_calendar"
as=
"html_calendar"
template=
"Magento_Theme::js/calendar.phtml"
/>
</block>
<block
class=
"Magento\Catalog\Block\Product\View"
name=
"product.info.options.wrapper.bottom"
as=
"product_options_wrapper_bottom"
template=
"Magento_Catalog::product/view/options/wrapper/bottom.phtml"
>
<block
class=
"Magento\Catalog\Block\Product\View"
name=
"product.info.addtocart.additional"
as=
"product.info.addtocart"
template=
"Magento_Catalog::product/view/addtocart.phtml"
/>
</block>
</block>
</block>
<container
name=
"product.info.extrahint"
as=
"extrahint"
label=
"Product View Extra Hint"
>
<container
name=
"product.info.social"
label=
"Product social links container"
htmlTag=
"div"
htmlClass=
"product-social-links"
>
<block
class=
"Magento\Catalog\Block\Product\View"
name=
"product.info.addto"
as=
"addto"
template=
"Magento_Catalog::product/view/addto.phtml"
>
<block
class=
"Magento\Catalog\Block\Product\View\AddTo\Compare"
name=
"view.addto.compare"
after=
"view.addto.wishlist"
template=
"Magento_Catalog::product/view/addto/compare.phtml"
>
<arguments>
<argument
name=
"addToCompareViewModel"
xsi:type=
"object"
>
Magento\Catalog\ViewModel\Product\Checker\AddToCompareAvailability
</argument>
</arguments>
</block>
</block>
<block
class=
"Magento\Catalog\Block\Product\View"
name=
"product.info.mailto"
template=
"Magento_Catalog::product/view/mailto.phtml"
/>
</container>
</container>
<block
class=
"Magento\Catalog\Block\Product\View\Description"
name=
"product.info.overview"
template=
"Magento_Catalog::product/view/attribute.phtml"
group=
"detailed_info"
after=
"product.info.extrahint"
>
<arguments>
<argument
name=
"at_call"
xsi:type=
"string"
>
getShortDescription
</argument>
<argument
name=
"at_code"
xsi:type=
"string"
>
short_description
</argument>
<argument
name=
"css_class"
xsi:type=
"string"
>
overview
</argument>
<argument
name=
"at_label"
xsi:type=
"string"
>
none
</argument>
<argument
name=
"title"
translate=
"true"
xsi:type=
"string"
>
Overview
</argument>
<argument
name=
"add_attribute"
xsi:type=
"string"
>
itemprop="description"
</argument>
</arguments>
</block>
</container>
<container
name=
"product.info.media"
htmlTag=
"div"
htmlClass=
"product media"
after=
"product.info.main"
>
<block
class=
"Magento\Framework\View\Element\Template"
name=
"skip_gallery_after.target"
before=
"skip_gallery_before.wrapper"
template=
"Magento_Theme::html/skiptarget.phtml"
>
<arguments>
<argument
name=
"target_id"
xsi:type=
"string"
>
gallery-prev-area
</argument>
</arguments>
</block>
<container
name=
"skip_gallery_before.wrapper"
htmlTag=
"div"
htmlClass=
"action-skip-wrapper"
>
<block
class=
"Magento\Framework\View\Element\Template"
before=
"product.info.media.image"
name=
"skip_gallery_before"
template=
"Magento_Theme::html/skip.phtml"
>
<arguments>
<argument
name=
"target"
xsi:type=
"string"
>
gallery-next-area
</argument>
<argument
name=
"label"
translate=
"true"
xsi:type=
"string"
>
Skip to the end of the images gallery
</argument>
</arguments>
</block>
</container>
<block
class=
"Magento\Catalog\Block\Product\View\Gallery"
name=
"product.info.media.image"
template=
"Magento_Catalog::product/view/gallery.phtml"
>
<arguments>
<argument
name=
"gallery_options"
xsi:type=
"object"
>
Magento\Catalog\Block\Product\View\GalleryOptions
</argument>
<argument
name=
"imageHelper"
xsi:type=
"object"
>
Magento\Catalog\Helper\Image
</argument>
</arguments>
</block>
<container
name=
"skip_gallery_after.wrapper"
htmlTag=
"div"
htmlClass=
"action-skip-wrapper"
>
<block
class=
"Magento\Framework\View\Element\Template"
after=
"product.info.media.image"
name=
"skip_gallery_after"
template=
"Magento_Theme::html/skip.phtml"
>
<arguments>
<argument
name=
"target"
xsi:type=
"string"
>
gallery-prev-area
</argument>
<argument
name=
"label"
translate=
"true"
xsi:type=
"string"
>
Skip to the beginning of the images gallery
</argument>
</arguments>
</block>
</container>
<block
class=
"Magento\Framework\View\Element\Template"
name=
"skip_gallery_before.target"
after=
"skip_gallery_after.wrapper"
template=
"Magento_Theme::html/skiptarget.phtml"
>
<arguments>
<argument
name=
"target_id"
xsi:type=
"string"
>
gallery-next-area
</argument>
</arguments>
</block>
</container>
<block
class=
"Magento\Catalog\Block\Product\View\Details"
name=
"product.info.details"
template=
"Magento_Catalog::product/view/details.phtml"
after=
"product.info.media"
>
<block
class=
"Magento\Catalog\Block\Product\View\Description"
name=
"product.info.description"
as=
"description"
template=
"Magento_Catalog::product/view/attribute.phtml"
group=
"detailed_info"
>
<arguments>
<argument
name=
"at_call"
xsi:type=
"string"
>
getDescription
</argument>
<argument
name=
"at_code"
xsi:type=
"string"
>
description
</argument>
<argument
name=
"css_class"
xsi:type=
"string"
>
description
</argument>
<argument
name=
"at_label"
xsi:type=
"string"
>
none
</argument>
<argument
name=
"title"
translate=
"true"
xsi:type=
"string"
>
Details
</argument>
<argument
name=
"sort_order"
xsi:type=
"string"
>
10
</argument>
</arguments>
</block>
<block
class=
"Magento\Catalog\Block\Product\View\Attributes"
name=
"product.attributes"
as=
"additional"
template=
"Magento_Catalog::product/view/attributes.phtml"
group=
"detailed_info"
>
<arguments>
<argument
translate=
"true"
name=
"title"
xsi:type=
"string"
>
More Information
</argument>
<argument
name=
"sort_order"
xsi:type=
"string"
>
20
</argument>
</arguments>
</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>
<referenceContainer
name=
"content.aside"
>
<block
class=
"Magento\Catalog\Block\Product\ProductList\Related"
name=
"catalog.product.related"
template=
"Magento_Catalog::product/list/items.phtml"
>
<arguments>
<argument
name=
"type"
xsi:type=
"string"
>
related
</argument>
<argument
name=
"view_model"
xsi:type=
"object"
>
Magento\Catalog\ViewModel\Product\Listing\PreparePostData
</argument>
</arguments>
<block
class=
"Magento\Catalog\Block\Product\ProductList\Item\Container"
name=
"related.product.addto"
as=
"addto"
>
<block
class=
"Magento\Catalog\Block\Product\ProductList\Item\AddTo\Compare"
name=
"related.product.addto.compare"
as=
"compare"
template=
"Magento_Catalog::product/list/addto/compare.phtml"
/>
</block>
</block>
<block
class=
"Magento\Catalog\Block\Product\ProductList\Upsell"
name=
"product.info.upsell"
template=
"Magento_Catalog::product/list/items.phtml"
>
<arguments>
<argument
name=
"type"
xsi:type=
"string"
>
upsell
</argument>
<argument
name=
"view_model"
xsi:type=
"object"
>
Magento\Catalog\ViewModel\Product\Listing\PreparePostData
</argument>
</arguments>
<block
class=
"Magento\Catalog\Block\Product\ProductList\Item\Container"
name=
"upsell.product.addto"
as=
"addto"
>
<block
class=
"Magento\Catalog\Block\Product\ProductList\Item\AddTo\Compare"
name=
"upsell.product.addto.compare"
as=
"compare"
template=
"Magento_Catalog::product/list/addto/compare.phtml"
/>
</block>
</block>
<block
class=
"Magento\Catalog\Block\Product\View\Additional"
name=
"product.info.additional"
as=
"product_additional_data"
/>
</referenceContainer>
<referenceBlock
name=
"product.info.addtocart"
>
<block
class=
"Magento\Catalog\Block\ShortcutButtons\InCatalog"
name=
"addtocart.shortcut.buttons"
/>
</referenceBlock>
<referenceBlock
name=
"product.info.addtocart.additional"
>
<block
class=
"Magento\Catalog\Block\ShortcutButtons\InCatalog"
name=
"addtocart.shortcut.buttons.additional"
/>
</referenceBlock>
<referenceContainer
name=
"content"
>
<block
class=
"Magento\Catalog\Block\Ui\ProductViewCounter"
name=
"product_viewed_counter"
template=
"Magento_Catalog::product/view/counter.phtml"
/>
</referenceContainer>
</body>
</page>
app/design/frontend/Joshine/breeze/Magento_Catalog/layout/catalog_product_view_type_simple.xml
0 → 100644
View file @
d7fd6e91
<?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 @
d7fd6e91
<?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 @
d7fd6e91
<?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 @
d7fd6e91
<?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 @
d7fd6e91
<?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 @
d7fd6e91
<?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 @
d7fd6e91
<?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 @
d7fd6e91
<?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 @
d7fd6e91
<?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 @
d7fd6e91
<?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 @
d7fd6e91
<?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 @
d7fd6e91
<?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>
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