Our brands

Guide Ves Unicraft Magento2

Getting Started

Getting Started

Unicraft comes with modern, elegant, professional product-oriented design, the theme lets you showcase your items at it’s best.

Are you seeking theme for magento 2? Unicraft is designed for magento 2 with tons of improvements in performance and scales. Also, it delivers engaging and rich user experience on any devices. Thus customer can shop anytime anywhere

Unicraft is one of our responsive magento 2 themes. This magento 2 theme created with new magento 2 UI and integrate bootstrap 3.3.6 layout components. Also, it is inherited from magento 2 blank theme

Advanced Guide: Developer Guide For Magento 2

Compatibility:

Unicraft is fully compatible with Magento Community Edition 2.0.x, 2.1.x, 2.2.x

Demo Link: http://demo4coder.com/unicraft/landing/

Purchase It Now

Theme Configuration

Child Theme Configuration

Please create child theme folder in app/design/frontend/company_name/theme_name
ex:
etc/view.xml :-This file is used to specify product image dimensions, thumbnails etc.Magento_Theme :- This directory is used to override existing Magento’s theme files.Magento_Theme/layout/default.xml :- By default, Magento2 assumes that your theme’s logo file should be: /web/media/logo.svg If you want some other file for logo, then you must declare it in default.xml the file.This file is also used to override default theme’s settings.media/preview.png :- The preview of the current theme.web :- This directory contains all the theme’s static data like images, styles, javascript, fonts etc.registration.php :- This file is required to register our theme to Magento2 system.theme.xml :- This is a compulsory file that defines our theme name, its parent and optionally theme’s preview image.composer.json :- If you plan to distribute the theme using a composer package will make it easier for people to install the custom theme, you can specify any required packages in which composer can install / update for the user to ensure the theme installs correctly.Creating theme filesLet us now create our files one by one.

Creating theme files

Let us now create our files one by one.

theme.xml ( app/design/frontend/Venustheme/unicraft_child/theme.xml )

<theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd">
 <title>Venustheme Unicraft Child</title>
 <parent>Venustheme/unicraft</parent>
 <media>
 <preview_image>media/preview.jpg</preview_image>
 </media>
</theme>

registration.php ( app/design/frontend/Venustheme/unicraft_child/registration.php )

<?php
\Magento\Framework\Component\ComponentRegistrar::register(
    \Magento\Framework\Component\ComponentRegistrar::THEME,
    'frontend/Venustheme/unicraft_child',
    __DIR__
);

composer.json ( app/design/frontend/Venustheme/unicraft_child/composer.json )

{
 "name": "magento/theme-frontend-unicraft_child",
 "description": "N/A",
 "require": {
 "php": "~5.5.0|~5.6.0|~7.0.0",
 "magento/theme-frontend-blank": "100.0.*",
 "magento/framework": "100.0.*"
 },
 "type": "magento2-theme",
 "version": "100.0.2",
 "license": [
 "OSL-3.0",
 "AFL-3.0"
 ],
 "autoload": {
 "files": [
 "registration.php"
 ]
 }
 }

Please go to Admin -> Content -> Configuration

Then open Design Configuration -> choose unicraft child


* Important: After you choose new theme or new theme child, you need reindex data and run command below via SSH:

php bin/magento setup:static-content:deploy

Homepage Configuration

Unicraft have 3 homepage built by Ves Page Builder module.

 

#Overview:

To configure the default home page for your store, go to Store > Configuration > General > Web > Default Pages tab, select the desired page in the CMS Home Page field and save configuration.

Go to back-end > VenusTheme > Ves Page Builder > Edit profile name “Ten Home Page Default

In the back-end, we used the widget, namely “Content Carousel” on page builder profile. To change image slider, please Go to back-end > VenusTheme > Ves Page Builder > choose “Manager Elements” > Edit block profile “Unicraft Slider V1”.

  1. Unicraft Slider V1
  2. Unicraft Slider V2




ex: content for “Unicraft Slider V1“:

<p><img src="{{media url="wysiwyg/ves_unicraft/slidershow/store1/1.jpg"}}" alt="" /></p>
<div class="slider-content">
<h3>HAND-CRAFTED GORGEOUS</h3>
<h2>Exclusive Items Created With Love</h2>
<p>Find beautiful handmade goods for you and your home and customize them to be 100% yours.</p>
<div><a class="btn btn1" href="#"><span>View All Product</span></a></div>
</div>

 

In the back-end, we used the widget, namely “Single Image” on page builder profile. To change image slider, please Go to back-end > VenusTheme > Ves Page Builder > choose “Manager Elements” > Edit block profile “Unicraft Images V1”.

  1. Unicraft Image V1


In the back-end, we used the widget, namely “Product List: Tabs By Rules” on page builder profile. To change product list, please Go to back-end > VenusTheme > Ves Page Builder > choose “Manager Elements” > Edit block profile “Unicraft Product V2”.

  1. Unicraft Product V1
  2. Unicraft Product V2









In the back-end, we used the widget, namely “Our Services” on page builder profile. To change our services, please Go to back-end > VenusTheme > Ves Page Builder > choose “Manager Elements” > Edit block profile “Unicraft Ourservice V1”.

  1. Unicraft Ourservice V1
  2. Unicraft Ourservice V2




ex: content for “Unicraft Ourservice V1“:

<p>Crafted by our loving hands</p>
<h4>UNIQUE & CREATIVE</h4>

 

In the back-end, we used the widget, namely “Ves Blog: Latest Post” on page builder profile. To change blog post, please Go to back-end > VenusTheme > Ves Page Builder > choose “Manager Elements” > Edit block profile “Ten Blog Post V1”.

  1. Ten Blog Post V1
  2. Ten Blog Post V2
  3. Ten Blog Post V3




In the back-end, we used the widget, namely “Ves Base Widget: Deal Product” on page builder profile. To change gallery images, please Go to back-end > VenusTheme > Ves Page Builder > choose “Manager Elements” > Edit block profile “Unicraft Deal v1”.

  1. Unicraft Deal v1
  2. Unicraft Deal v2








In the back-end, we used the widget, namely “Ves Newletters” on page builder profile. To change brand widget, please Go to back-end > VenusTheme > Ves Page Builder > choose “Manager Elements” > Edit block profile “Unicraft Newletters”.

  1. Unicraft Newletters
  2. Unicraft Newletters V2


Header Configuration

Unicraft provides 2 header styles, you can choose one of them here.

#Header1:

#header2:

>> How To Config Other Header for storeview

To Config Other Header, Go to Admin Panel >> VenusTheme >> VES THEMESETTING >> Header >> General Settings >> Choose Your Header Layout

  1. Default: default.phtml (header default)
  2. Default2: default2.phtml (header 2)


Code HTML at this path file

app\design\frontend\Venustheme\unicraft\Ves_Themesettings\templates\header\default.phtml

To change Logo, Go to Admin Panel > Content > Configuration > Edit theme_name

After that, you need to open “Header” Tab > Upload your logo(GIF, PNG, JPG, or SVG file type) with the uploader

Footer Profiles

Footer manager:

Admin -> VenusTheme -> Ves Pagebuilder -> Manage Elements:

#Footer1:

Design in: VenusTheme -> Ves Pagebuilder -> Manage Elements -> edit item pages builder element “Ten Footer V1”:

How To Choose footer profiles

Go to back-end > Ves Themesetting > Footer > enter your block

Admin Theme Settings

Config Generals

In this tab, you are able to:

– Choose maximum page width on dropdown or change value input

– Choose skin color store view

– Choose director support LTR or RTL Languages

– Enable or disable panel tool

– Config body background, padding

– Add custom google font for body

– Config color text body, text link, text link hover

– Config button color, background and hover, focus

 

Please Go to Admin Panel > VenusTheme > Ves ThemeSettings > General

Unicraft provides Custom Page Width (960px, 1024 px, 1280px, 1360px, 1440px, 1680px,…), and Maximum Page Width mode, you can choose the one that you prefer. You can apply this option to any home versions.

We created 15+ skins in Unicraft : You can view it in folder:

..\Venustheme\unicraft\Ves_Themesettings\web\css\skins\

Config header

1. General tab: Choose Header Layout : “Default”

2. Top Link tab: Show link my account, sign in, create an account, and custom link

You can add a custom top link.

 

3. Search tab:
– Enable: Yes or No
– Custom style
– Add maximum width of search box
– Change format button search

 

4. Language Switcher and Currency Switcher tab:

This block setting group custom code in this file

app\design\frontend\Venustheme\unicraft\Magento_Theme\templates\html\setting.phtml

How it is show on front-end:
5. Sticky Header tab:

Config “Scroll To Fixed” header ( keep header when scrolling window). You can choose all sticky elements (all header )or choose specify element

6. Top cart tab:

– There are 4 options for you to show Top Cart, you can choose to show what you want

  • Text Only
  • Icon Class Only
  • Text + Icon Class
  • Icon Class + Text

Config Footer

Unicraft allows you to config various footer sections: Footer top, Footer center, Footer Bottom

app\design\frontend\Venustheme\unicraft\Ves_Themesettings\layout\default.xml

 

<!-- Footer Container -->
    <referenceContainer name="footer-container">
        <container name="footer" as="footer" label="Page Footer" htmlTag="div" htmlClass="ves-footer">
            <container name="footer-top" label="Footer Top" htmlTag="div" htmlClass="footer-top">
                <block class="Ves\Themesettings\Block\Html\Footer" name="ves.footer.top" template="Ves_Themesettings::html/footer/footer-top.phtml"/>
            </container>
            <container name="footer-center" label="Footer Center" htmlTag="div" htmlClass="footer-center" after="footer-top">
                <block class="Ves\Themesettings\Block\Html\Footer" name="ves.footer.center" template="Ves_Themesettings::html/footer/footer-center.phtml"/>
            </container>
            <container name="footer-bottom" label="Footer Bottom" htmlTag="div" htmlClass="footer-bottom" after="footer-center">
                <block class="Ves\Themesettings\Block\Html\Footer" name="ves.footer.bottom" template="Ves_Themesettings::html/footer/footer-bottom.phtml"/>
            </container>
            <remove name="form.subscribe"/>
            <block class="Magento\Framework\View\Element\Template" name="report.bugs" template="Magento_Theme::html/bugreport.phtml" />
        </container>
    </referenceContainer>
<!-- End Footer Container -->

 

You can configure the options related to the footer section in VenusTheme > Ves Themesettings > Footer

– General Settings:

+ You can custom style if use value Yes, change text color and link color on footer

+ You can style background color or set background image, patent for footer by option “Outer Container”

+ You can enable or disable text copy right, and you can custom text copy-right at option “Copyright”

 

– Footer Top setting:

+ You can enable or disable position

+ You can choose static block or custom html redirect on text editor

+ You can custom style if use value Yes: Text color, Link color, Link hover color

+ You can style “Outer Container”, ” Inner Content” – Main content at here

 

– For Footer Center Setting, Footer Bottom setting, you can config it like Footer Top setting. But in case the theme do NOT have, please set ” Enable Footer Center” or ” Enable Footer Bottom” to :NO

 

Config Cart Page

Config in admin panel > Ves Themesetting > Cart page:

 

+ Config number product for cross-sell on cart page:

Front-end showing

Note: config show / hidden element (name, price, review…) as related, upsell

 

Config Category page

M2themes provides several types of category layout. You can choose one as your choice.

+ Go to the Admin Panel > Products > Inventory > Categories.

+ Select “Default Category” in the treeview area at the left side.

+ Click “Add Subcategory” button, then input Category name, Description, etc. Notes: set the options “Is Active” to “Yes”, “Include in Navigation Menu” to “Yes” in “General Information” tab.

+ If you want to display banner image, please set image in “Content” tab: upload image

 

+ In “Display Settings” tab, default Display Mode: “Product Only” but in order to display banner with static block, please set “Display Mode” to “Static block and products” and CMS Block

 

+ You can change layout category on Design tab:

 

Go to Admin Panel > Ves Themesetting > Category page:

1. General tab:

– Show name, description, image of category

– Show Top toolbar and Bottom Toolbar

2. Product settings tab:

– Show element for each product item:

+ Config to select element of each product: name, description, price, review, lable sale or new, ect

+ Config format button add to cart, quickview, add to wishlist, add to compare

+ Config product image: image size, swap image

Config Product View Page

– Other elements:

+ Config enable / disable elements by change value Yes / No

+ Specify you can change position of thumnail slider: horizonal or vetical, Top or bottom

– Config show tab- Custom tab

+ Tab By Product Attribute Code

+ Tab By CMS Block

+ Tab By Static Html Content

– Config Related Products: number items and item show on responsive

Back-end Setting:

Frontend result:

– Config Upsell product:

Back-end Setting:

Frontend result:

Config Contact Page

Link page: demo4coder.com/unicraft/contact

How To config: Go To VenusTheme > Ves Themesetting > Contact page:

 

+ Contact Form tab:

 

+ Google map tab:

– You can change address, Longitude, Latitude

– You can add contact information : email, address, telephone, fax, custom html about us, etc…

 

+ Edit Form :

You can edit form at this path file:

app\design\frontend\Venustheme\unicraft\Magento_Contact\templates\form.phtml

 

 

 

Blocks Diagram

Static Blocks Diagram

This is all CMS static blocks we are using on the Unicraft.

To Open Cms Static Blocks, Go To Admin Panel > Content > Blocks

 

1. “Unicraft Header Social Link”

<ul class="header-social">
<li><a href="https://www.facebook.com/venustheme"><i class="fa fa-facebook"></i></a></li>
<li><a href="https://twitter.com/venustheme"><i class="fa fa-twitter"></i></a></li>
<li><a href="https://www.instagram.com/venusthemes/"><i class="fa fa-instagram"></i></a></li>
<li><a href="#"><i class="fa fa-pinterest-p"></i></a></li>
<li><a href="https://www.youtube.com/venustheme"><i class="fa fa-youtube"></i></a></li>
</ul>

Extensions

Blog module

1. How To Change URL link:

Go to Admin Panel > Stores -> Configuration > Venus Theme Extension > Ves Blog

2. Config show/hidden elements in post page (detail post)

Show on frontend:

 

3. Config show/hidden elements in Category page

Show on frontend

 

4. How To Change page layout for each blog category

Go to Admin Panel > Ves Blog > Categories > Category Management > Edit 1 category or add new category

On Design tab : you can choose page layout for category

 

5. How To Custom Category Blog Page: Show grid, list or Masonry View Mode

Go to Admin Panel > Ves Blog > Categories > Category Management > Edit 1 category or add new category > Design tab:

 

Megamenu

Ten Store includes the fantastic Megamenu in an additional module called Ves MegaMenu. The Megamenu module comes with a custom admin interface through which you can create powerfull Menu. No coding is required. Follow these steps to create a module:

 

Front-end:

 

Back-end:

– Create new Menu item:

– General Information:

– Header:

– Left Block:

– Main content:

– Right block:

– Bottom block:

– Custom design for menu item:

Top
Do NOT follow this link or you will be banned from the site!