Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
coconva2118
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hanumant Pratap Singh
coconva2118
Commits
b8fcb526
Commit
b8fcb526
authored
Oct 01, 2019
by
Ketan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git update with local changes
parent
f012f907
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
5 deletions
+20
-5
catalog_product_view.xml
...Sm/shop4u/Magento_Catalog/layout/catalog_product_view.xml
+2
-2
details.phtml
...op4u/Magento_Catalog/templates/product/view/details.phtml
+14
-0
gallery.phtml
...op4u/Magento_Catalog/templates/product/view/gallery.phtml
+2
-1
view.xml
app/design/frontend/Sm/shop4u/etc/view.xml
+2
-2
No files found.
app/design/frontend/Sm/shop4u/Magento_Catalog/layout/catalog_product_view.xml
View file @
b8fcb526
...
...
@@ -13,7 +13,7 @@
<referenceBlock
name=
"catalog.product.related"
remove=
"true"
/>
<referenceBlock
name=
"product.info.upsell"
remove=
"true"
/>
<referenceContainer
name=
"sidebar.additional"
>
<referenceContainer
name=
"sidebar.additional"
remove=
"true"
>
<block
class=
"Magento\Cms\Block\Block"
name=
"service-sidebar"
before=
"-"
>
<arguments>
<argument
name=
"block_id"
xsi:type=
"string"
>
service-sidebar
</argument>
...
...
@@ -47,7 +47,7 @@
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"
/>
template=
"Magento_Catalog::product/list/addto/compare.phtml"
remove=
"true"
/>
</block>
</block>
<block
class=
"Magento\Catalog\Block\Product\ProductList\Upsell"
name=
"product.info.upsell.theme"
...
...
app/design/frontend/Sm/shop4u/Magento_Catalog/templates/product/view/details.phtml
View file @
b8fcb526
...
...
@@ -63,6 +63,20 @@ $customtab_content = $_config->getProductDetail('customtab_content');
<?php
}
?>
</ul>
<div>
<?php
//$block->getProduct()>getResource()->getAttribute('color_picker_swatch')->getFrontend()->getValue($block->getProduct())
//die('sssss');
?>
</div>
<div
class=
"resp-tabs-container"
>
<?php
foreach
(
$detailedInfoGroup
as
$name
)
:
?>
<?php
...
...
app/design/frontend/Sm/shop4u/Magento_Catalog/templates/product/view/gallery.phtml
View file @
b8fcb526
...
...
@@ -17,7 +17,8 @@ $_config = $this->helper('Sm\Shop4u\Helper\Data');
$zoom_enable
=
$_config
->
getProductDetail
(
'use_zoom_image'
);
$zoom_width
=
$_config
->
getProductDetail
(
'zoom_width'
);
$thumbstyle
=
$_config
->
getProductDetail
(
'thumbs_style'
);
//$thumbstyle = $_config->getProductDetail('thumbs_style');
$thumbstyle
=
'vertical'
;
$loop
=
$_config
->
getProductDetail
(
'image_loop'
);
$keyboard
=
$_config
->
getProductDetail
(
'image_keyboard'
);
$bigNav
=
$_config
->
getProductDetail
(
'image_navigation'
);
...
...
app/design/frontend/Sm/shop4u/etc/view.xml
View file @
b8fcb526
...
...
@@ -226,7 +226,7 @@
<var
name=
"arrows"
>
true
</var>
<!-- Turn on/off arrows on the sides preview (true/false), Config from admin panel -->
<var
name=
"caption"
>
false
</var>
<!-- Display alt text as image title (true/false) -->
<var
name=
"allowfullscreen"
>
true
</var>
<!-- Turn on/off fullscreen (true/false), Config from admin panel -->
<var
name=
"navdir"
>
horizont
al
</var>
<!-- Sliding direction of thumbnails (horizontal/vertical), Config from admin panel -->
<var
name=
"navdir"
>
vertic
al
</var>
<!-- Sliding direction of thumbnails (horizontal/vertical), Config from admin panel -->
<var
name=
"navarrows"
>
true
</var>
<!-- Turn on/off on the thumbs navigation sides arrows(true/false) -->
<var
name=
"navtype"
>
slides
</var>
<!-- Sliding type of thumbnails (slides/thumbs) -->
<var
name=
"transition"
>
...
...
@@ -238,7 +238,7 @@
<var
name=
"loop"
>
true
</var>
<!-- Fullscreen navigation loop (true/false/null) -->
<var
name=
"arrows"
>
false
</var>
<!-- Turn on/off arrows on the sides preview in fullscreen (true/false/null) -->
<var
name=
"caption"
>
false
</var>
<!-- Display alt text as image title in fullscreen(true/false) -->
<var
name=
"navdir"
>
horizont
al
</var>
<!--Sliding direction of thumbnails in fullscreen(horizontal/vertical) -->
<var
name=
"navdir"
>
vertic
al
</var>
<!--Sliding direction of thumbnails in fullscreen(horizontal/vertical) -->
<var
name=
"navtype"
>
slides
</var>
<!-- Sliding type of thumbnails (slides/thumbs) -->
<var
name=
"transition"
>
<var
name=
"effect"
>
dissolve
</var>
<!-- Sets transition effect for slides changing (slide/crossfade/dissolve) -->
...
...
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