Need Help? Lets get in touch with our Support Team
Magento 2 Product Tabs extension allows you to listing your products in tabs by variety criteria, increasing the usability of your business. The Magento 2 extension supports listing product according to tabs by categories or product fields in Slider or Load More style.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
php bin/magento setup:upgrade
Then:
php bin/magento setup:static-content:deploy -f
If you are using Magento Production mode, run the command:
php bin/magento setup:di:compile
Go to root magento folder, run commands:
rm -rf app/code/BzoTech/Categories
Then:
php bin/magento setup:upgrade
And:
php bin/magento setup:static-content:deploy -f
If you are using Magento Production mode, run the command:
php bin/magento setup:di:compile
Admin Dashboard -> STORES -> Settings -> Configuration -> BZOTECH.COM -> Product Tabs
Config Name | Value | Description |
General Option | ||
Enabled Extensions | Yes/No | Enable/disable the extension |
Title | Input value | Set the extension’s title |
Type Show | Loadmore Slider | Show the product listing type as load more or slider |
Type Listing | All Only Deals Under Price | Listing products according to: all products, only deals products or under price products |
Price | Input value | If Type Listing selected as Under Price, then the Price option will appear to input the price |
Show Countdown Timer | Yes/No | Show or hide the countdown timer for deal products |
Source Options | ||
Filter Type | Categories Field Products | Show products listing tabs by categories or product fields |
Select Categories | Multi-options | If select Filter Type as Categories, this option will be available to select the categories you want to show as tabs. |
Select Fields | Multi-options | If select Filter Type as Field Products, this option will be available to select the fields you want to show as tabs. |
Select Category | Multi-options | If select Filter Type as Field Products, this option will be available to select the categories you want to get products. |
Order By | Name Id Date Created … | Select the order criteria. |
Ordering Direction | Desc Asc | Select the order direction by descending or ascending |
Product Limitation | Input value | The number of products to show in each tabs |
Slider Configuration | ||
Margin | Input value | Set the slider margin |
Auto Play | Yes/No | Allow slider auto play or not |
Loop | Yes/No | Allow slider loop or not |
Navigation | Yes/No | Allow to show navigation or not |
Dots | Yes/No | Allow to show navigation in dots or not |
Mouse Drag | Yes/No | Allow to drag by mouse or not |
Touch Drag | Yes/No | Allow to drag by touch or not |
Number column on max screen… | 1-8 columns | Allow to set the number of column for each screen size from 1 to 8 columns. |
CONTENT -> Pages
-> select the page that you want to display this extension -> Edit
.
Content -> Edit with Page Builder
.
{{block class="BzoTech\ProductTabs\Block\ProductTabs" template="BzoTech_ProductTabs::default.phtml"}}
{{block class="BzoTech\ProductTabs\Block\ProductTabs" template="BzoTech_ProductTabs::default.phtml" title="Flash Sale" type_show="slider" type_listing="deals" display_countdown="1" type_filter="categories" category_tabs="4,6" order_by="entity_id" order_dir="DESC" limitation="8" margin="30" autoplay="0" loop="0" nav="1" dots="1" mousedrag="1" touchdrag="1" screen_0="2" screen_1="2" screen_2="3" screen_3="3" screen_4="4" screen_5="4" screen_6="4" screen_7="4"}}
{{block class="BzoTech\ProductTabs\Block\ProductTabs" template="BzoTech_ProductTabs::default.phtml" title="Latest Products" type_show="loadmore" type_listing="all" display_countdown="0" type_filter="categories" category_tabs="20,11,4,6" order_by="entity_id" order_dir="DESC" limitation="8" margin="30" autoplay="0" loop="0" nav="1" dots="1" mousedrag="1" touchdrag="1" screen_0="1" screen_1="2" screen_2="3" screen_3="3" screen_4="4" screen_5="4" screen_6="4" screen_7="4"}}
{{block class="BzoTech\ProductTabs\Block\ProductTabs" template="BzoTech_ProductTabs::default.phtml" title="Men & Women" type_show="loadmore" type_listing="all" display_countdown="0" type_filter="fieldproducts" field_tabs="ordered_qty,lastest_products,num_reviews_count" category_select="11,20" order_dir="DESC" limitation="8" margin="30" autoplay="0" loop="0" nav="1" dots="1" mousedrag="1" touchdrag="1" screen_0="2" screen_1="2" screen_2="3" screen_3="3" screen_4="4" screen_5="4" screen_6="4" screen_7="4"}}
{{block class="BzoTech\ProductTabs\Block\ProductTabs" template="BzoTech_ProductTabs::default.phtml" title="Under Price $70" type_show="loadmore" type_listing="under" under_price="70" display_countdown="0" type_filter="categories" category_tabs="4,6,5" order_by="entity_id" order_dir="DESC" limitation="8" margin="30" autoplay="0" loop="0" nav="1" dots="1" mousedrag="1" touchdrag="1" screen_0="1" screen_1="2" screen_2="3" screen_3="3" screen_4="4" screen_5="4" screen_6="4" screen_7="4"}}
Params | Config Name | Description |
General Option | ||
title |
Title | Name the title |
type_show |
Type Show | slider
loadmore |
type_listing |
Type Listing | all = all product
deals = only deals products
under = under price products |
under_price |
Price | If Type Listing set as Under Price, then set Price using this param. Ex: “70 “ |
display_countdown |
Show Countdown Timer | 1 = yes
0 = no |
Source Options | ||
type_filter |
Filter Type | categories = Categories
fieldproducts = Field Products |
category_tabs |
Select Categories | If set Filter Type = Categories, use this param to set the categories you want to show as tabs by using category id. Ex: “20,11,4,6 “ |
field_tabs |
Select Fields | If select Filter Type = Field Products, use this param to set the fields you want to show as tabs. Ex “ordered_qty,lastest_products,num_reviews_count “ |
category_select |
Select Category | If select Filter Type = Field Products, use this param to set the categories you want to get products. Ex: “11,20 “ |
order_by |
Order By | entity_id
entity_price
entity_created
…. |
order_dir |
Ordering Direction | DESC = descending
ASC = ascending |
limitation |
Product Limitation | Limit the number of products to show in each tabs. Ex: “8 “ |
Slider Configuration | ||
margin |
Margin | Set the slider margin. Ex: “30 “ |
autoplay |
Auto Play | 1 = yes
0 = no |
loop |
Loop | 1 = yes
0 = no |
nav |
Navigation | 1 = yes
0 = no |
dots |
Dots | 1 = yes
0 = no |
mousedrag |
Mouse Drag | 1 = yes
0 = no |
touchdrag |
Touch Drag | 1 = yes
0 = no |
screen_0
|
Number columns on max screen 480px | Set the number of column for max screen 480px from 1 to 8 columns. Ex: “1 “ |
screen_1
|
Number columns on screen 481px -> 767px | Set the number of column for max screen 481px -> 767px from 1 to 8 columns. Ex: “2 “ |
screen_2
|
Number columns on screen 768px -> 991px | Set the number of column for max screen 768px -> 991px from 1 to 8 columns. Ex: “3 “ |
screen_3
|
Number columns on screen 992px -> 1199px | Set the number of column for max screen 992px -> 1199px from 1 to 8 columns. Ex: “3 “ |
screen_4
|
Number columns on screen 1200px -> 1440px | Set the number of column for max screen 1200px -> 1440px from 1 to 8 columns. Ex: “4 “ |
screen_5
|
Number columns on screen 1441px -> 1680px | Set the number of column for max screen 1441px -> 1680px from 1 to 8 columns. Ex: “4 “ |
screen_6
|
Number columns on screen 1681px -> 1920px | Set the number of column for max screen 1681px -> 1920px from 1 to 8 columns. Ex: “4 “ |
screen_7 |
Number columns on screen is greater than 1921px | Set the number of column for max screen greadte than 1920px from 1 to 8 columns. Ex: “4 “ |
Monday – Friday: 8:00AM to 5:30PM
Saturday – Sunday: Closed
Our time zone: GMT+7