> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.weltpixel.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Export / Import configurations - Pearl Theme for Magento 2

You can export and import **Pearl Theme** and **WeltPixel module** configurations via CLI from the **root of your Magento installation**.

---

## 1) Export Pearl Theme configurations

First, list available store codes (case sensitive):

- Run: `php bin/magento store:list`

Then export the configurations for the desired store (replace `default` with your store code if different):

- Run: `php bin/magento weltpixel:export:configurations --store=default`

This exports settings for:
- Frontend Options
- Design Elements
- Category Page
- Product Page
- Custom Header

A CSV file named `weltpixel_configurations_default.csv` (or using your store code) is generated in the Magento root.

---

## 2) Export WeltPixel module configurations

Specify the store and the exact module names (comma-separated) as they appear in Composer:

- Run: `php bin/magento weltpixel:export:modules --store=default --modules=WeltPixel_OwlCarouselSlider,WeltPixel_Quickview`

Notes:
- Replace `--store=default` with your store code if needed.
- Use exact module names; multiple modules must be separated by commas.

This will generate `weltpixel_configurations_modules_default.csv` (store code applied) in the Magento root.

Included modules commonly used with Pearl Theme include (examples):
- Advance Product Quick View and Ajax Cart (`WeltPixel_Quickview`)
- OWL Banner Slider and Product Carousel (`WeltPixel_OwlCarouselSlider`)
- Google Analytics Enhanced Ecommerce Tag Manager (`WeltPixel_GoogleTagManager`) (deprecated)
- Rich Snippets & Cards schema.org (`WeltPixel_GoogleCards`) (deprecated)
- Enhanced Quick Cart (`WeltPixel_QuickCart`)
- Google XML Sitemap (`WeltPixel_Sitemap`)
- SEO Page Title Overwrite (`WeltPixel_TitleRewrite`)
- Smart Product Tabs (`WeltPixel_SmartProductTabs`)
- Instagram Widget Advanced (`WeltPixel_InstagramWidget`)
- Full Page Scroll (`WeltPixel_FullPageScroll`)
- CMS Product Reviews Widget (`WeltPixel_RewiewsWidget`)
- Mega Menu (`WeltPixel_NavigationLinks`)
- Enhanced Multi-Store Multi-Brand (`WeltPixel_Multistore`)
- Custom Thank You Page (`WeltPixel_ThankYouPage`)
- etc.

---

## 3) Import settings (theme and/or modules)

Provide the target store code and the path to the CSV you exported:

- Run: `php bin/magento weltpixel:import:configurations --store=default --file="path/to/file.csv"`

After importing, it’s good practice to clear caches as needed (e.g., from Admin → System → Cache Management) so changes are applied on the storefront.