Step 2.
Unpack and upload the content from 'Theme Files' directory into the root of your Magento installation.
This process will not overwrite any file that you might have on your server, it will only merge them!
Note: If you're running Magento 2.3.0 - 2.3.2, please also copy the content from the Patches folder, making sure you select the Overwrite option when prompted.
Step 3.
Connect via SSH connection to your server and run the following commands under location 'mymagentostore.com/html':
If you encounter any conectivity or permissions problems your hosting provider should help providing all necessary details.
Depending on your hosting provider, for some servers command 'php bin/magento' does not work, you may want to replace it with '/usr/local/php56/bin/php-cli bin/magento' or '/usr/local/php70/bin/php-cli bin/magento' . Example: '/usr/local/php70/bin/php-cli bin/magento deploy:mode:set developer'
- # a. make sure Developer Mode is enabled for your store
- php bin/magento deploy:mode:set developer
-
- #b1. You can enable all the extensions with the following command
-
- php bin/magento module:enable WeltPixel_Backend WeltPixel_FrontendOptions WeltPixel_DesignElements WeltPixel_CustomHeader
- WeltPixel_CustomFooter WeltPixel_NavigationLinks WeltPixel_ProductPage WeltPixel_OwlCarouselSlider WeltPixel_LazyLoading
- WeltPixel_CategoryPage WeltPixel_Command WeltPixel_Quickview WeltPixel_GoogleCards WeltPixel_TitleRewrite WeltPixel_SmartProductTabs
- WeltPixel_MobileDetect WeltPixel_InstagramWidget WeltPixel_FullPageScroll WeltPixel_GoogleTagManager WeltPixel_Sitemap WeltPixel_QuickCart
- WeltPixel_ReviewsWidget WeltPixel_Multistore WeltPixel_ThankYouPage WeltPixel_AjaxInfiniteScroll WeltPixel_SearchAutoComplete
- WeltPixel_ProductLabels WeltPixel_LayeredNavigation WeltPixel_Newsletter WeltPixel_AdvanceCategorySorting WeltPixel_CmsBlockScheduler
- WeltPixel_EnhancedEmail WeltPixel_RecentlyViewedBar WeltPixel_SocialLogin WeltPixel_AdvancedWishlist WeltPixel_UserProfile
- WeltPixel_SpeedOptimization WeltPixel_GA4 --clear-static-content
-
- # b2. enable WeltPixel Theme modules one by one (Start with WeltPixel_Backend)
- php bin/magento module:enable WeltPixel_Backend --clear-static-content
- php bin/magento module:enable WeltPixel_FrontendOptions --clear-static-content
- php bin/magento module:enable WeltPixel_DesignElements --clear-static-content
- php bin/magento module:enable WeltPixel_CustomHeader --clear-static-content
- php bin/magento module:enable WeltPixel_CustomFooter --clear-static-content
- php bin/magento module:enable WeltPixel_NavigationLinks --clear-static-content
- php bin/magento module:enable WeltPixel_ProductPage --clear-static-content
- php bin/magento module:enable WeltPixel_OwlCarouselSlider --clear-static-content
- php bin/magento module:enable WeltPixel_MobileDetect --clear-static-content
- php bin/magento module:enable WeltPixel_LazyLoading --clear-static-content
- php bin/magento module:enable WeltPixel_CategoryPage --clear-static-content
- php bin/magento module:enable WeltPixel_Command --clear-static-content
-
- #b3. enable WeltPixel extensions included in Theme Pack (optional)
-
- php bin/magento module:enable WeltPixel_Quickview --clear-static-content
- php bin/magento module:enable WeltPixel_GoogleCards --clear-static-content
- php bin/magento module:enable WeltPixel_TitleRewrite --clear-static-content
- php bin/magento module:enable WeltPixel_SmartProductTabs --clear-static-content
- php bin/magento module:enable WeltPixel_InstagramWidget --clear-static-content
- php bin/magento module:enable WeltPixel_FullPageScroll --clear-static-content
- php bin/magento module:enable WeltPixel_GoogleTagManager --clear-static-content
- php bin/magento module:enable WeltPixel_Sitemap --clear-static-content
- php bin/magento module:enable WeltPixel_QuickCart --clear-static-content
- php bin/magento module:enable WeltPixel_ReviewsWidget --clear-static-content
- php bin/magento module:enable WeltPixel_Multistore --clear-static-content
- php bin/magento module:enable WeltPixel_ThankYouPage --clear-static-content
- php bin/magento module:enable WeltPixel_AjaxInfiniteScroll --clear-static-content
- php bin/magento module:enable WeltPixel_SearchAutoComplete --clear-static-content
- php bin/magento module:enable WeltPixel_ProductLabels --clear-static-content
- php bin/magento module:enable WeltPixel_LayeredNavigation --clear-static-content
- php bin/magento module:enable WeltPixel_Newsletter --clear-static-content
- php bin/magento module:enable WeltPixel_AdvanceCategorySorting --clear-static-content
- php bin/magento module:enable WeltPixel_AdvancedWishlist --clear-static-content
- php bin/magento module:enable WeltPixel_SpeedOptimization --clear-static-content
- php bin/magento module:enable WeSupply_Toolbox --clear-static-content
- php bin/magento module:enable WeltPixel_CmsBlockScheduler --clear-static-content
- php bin/magento module:enable WeltPixel_EnhancedEmail --clear-static-content
- php bin/magento module:enable WeltPixel_RecentlyViewedBar --clear-static-content
- php bin/magento module:enable WeltPixel_UserProfile --clear-static-content
- php bin/magento module:enable WeltPixel_GA4 --clear-static-content
-
-
- # c. Following command needed only for Pearl Theme sample data installation, otherwise can be skipped
- php bin/magento module:enable WeltPixel_SampleData --clear-static-content
-
-
- # d. clear cache
- php bin/magento cache:flush
-
-
- # e. run magento upgrade scripts
- php bin/magento setup:upgrade
-
-
- # f. generate static content
- rm -rf pub/static/_requirejs
- rm -rf var/view_preprocessed
-
- #g. Theme Sample Settings Import, depending on required demo store homepage / settings, use different demo version 'v2', 'v3', ...
- # Run below commands even if you do not use a Pearl sample homepage, in below order:
-
- php bin/magento weltpixel:import:demo --store=GLOBAL --demoVersion=v1
- php bin/magento weltpixel:theme:configurator --store=GLOBAL --homePage=v1 --header=v1 --categoryPage=3columns --productPage=v1 --footer=v3
- php bin/magento weltpixel:cleanup
- php bin/magento weltpixel:less:generate
- php bin/magento ca:cl
Theme layout Pre-configuration via SSH
Page layout configuration can be done also from Magento Admin, if you want to customize the theme using Pearl Theme admin options skip below instructions and continue to Step 4.
Some users may prefer using SSH import settings to pre-configure pages layout. If you find yourself in this case you can use the theme configuration options below to setup the layout for each page type.
Visit Pearl Demo Store and choose the layout you like for each page type. Available options below:
- [--homePage[="..."]] = v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v14, v15
- [--header[="..."]] = v1, v2, v3, v4
- [--categoryPage[="..."]] = 2columns, 3columns, 4columns, 5columns
- [--productPage[="..."]] = v1, v2, v3, v4
- [--footer[="..."]] = v1, v2, v3, v4
- [--store="..."] = default, GLOBAL
- [--demoVersion] = v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v14, v15
When changing between sample home pages make sure to run corresponding import options as each homepage comes with predefined theme settings.
- php bin/magento weltpixel:import:demo [--store="..."] [--demoVersion]
- php bin/magento weltpixel:theme:configurator [--store="..."] [--homePage[="..."]] [--header[="..."]] [--categoryPage[="..."]] [--productPage[="..."]] [--footer[="..."]]
- php bin/magento weltpixel:cleanup
- php bin/magento weltpixel:less:generate
- php bin/magento ca:cl
Example how to set Homepage V8 with coresponding V8 theme options, Header Version 1, Category Page on 3 columns, Product Page Version 1, Footer Version 3:
- php bin/magento weltpixel:import:demo --store=GLOBAL --demoVersion=v8
- php bin/magento weltpixel:theme:configurator --store=GLOBAL --homePage=v8 --header=v1 --categoryPage=3columns --productPage=v1 --footer=v3
- php bin/magento weltpixel:cleanup
- php bin/magento weltpixel:less:generate
- php bin/magento ca:cl
Step 4.
Enable the theme from Magento Admin
Go to Admin -> Content ->Design Configuration and set your default theme to Custom Pearl Theme for Magento 2, for desired store view.
or you have the possibility to Enable the theme directly from SSH
- php bin/magento weltpixel:theme:activate --store=GLOBAL --themePath="Pearl/weltpixel_custom"
- php bin/magento setup:upgrade
- php bin/magento weltpixel:less:generate
- php bin/magento weltpixel:css:generate --store=default
- php bin/magento cache:clean
Step 5.
Woohoo! Pearl Theme is installed and your store should be already looking awesome!