Skip to content

Base Setup

Introduction

There are 2 ways to set up the base configuration for Venta Theme

  • Automatic Mode - does everything via a single CLI command
  • Manual - all configs are changed manually

Automatic Mode mostly fits new projects, and first-time Venta Theme setups, where Manual can be used to refine which configs are required for the exact store.

Automatic Mode

The venta:demo-data command is a custom Magento CLI utility designed to quickly initialize key demo configurations for the Venta Theme. By executing a single command, developers can replicate the essential setup found on the official Venta demo site - ideal for local development, testing, or showcasing theme capabilities.

The venta:demo-data command

This command automates the setup of essential demo configurations—such as search suggestions, PDP accordions, and product attributes—ensuring a ready-to-use Venta theme environment that mirrors the official demo site.

How to run

bash
d/magento venta:demo-data

What it configures

  • Search suggestions
  • Product attributes (you will need to enter values manually):
    • Warranty
    • Shipping Information
    • Returns
  • Product Detail Page (PDP): attributes displayed under the product title:
    • SKU
    • Color
    • Climate

Manual

These actions are all to be done from the Admin Panel.

Homepage

Go into Content -> Pages, delete the Home Page (home) and run:

bin/magento setup:upgrade

A recurring script will re-create the homepage with the Venta Theme homepage.

404 Page

Go into Stores -> Configuration -> General -> Web and under Default Pages set the CMS No Route Page to Venta - 404 Not Found, or run:

bin/magento config:set web/default/cms_no_route venta-no-route

Theme Configurations

Go into Stores -> Configuration -> Magebit -> Theme and under Image Zoom Settings set the Enable Zoom to Yes, or run:

bin/magento config:set magebit_theme/image_settings/zoom 1

Go into Stores -> Configuration -> Magebit -> Theme and under Image Zoom Settings set the Maximum Zoom Level to 150, or run:

bin/magento config:set magebit_theme/image_settings/zoom_level 150

Go into Stores -> Configuration -> Magebit -> Theme and under Catalog set the Move Out-of-Stock Products to End of Listings to Yes, or run:

bin/magento config:set magebit_theme/catalog/move_out_of_stock_to_end 1

Go into Stores -> Configuration -> Magebit -> Theme and under Catalog set the Hide Out-of-Stock Products in Cross-Sells, Upsells and Related to Yes, or run:

bin/magento config:set magebit_theme/catalog/hide_out_of_stock_in_related_crossell_upsell 1

Go into Stores -> Configuration -> Magebit -> Cart Actions and under General set the Action after add to cart to Show Minicart, or run:

bin/magento config:set ajax/general/after_atc_action minicart

Go into Stores -> Configuration -> Magebit -> Layered Navigation and under AJAX set the Ajax Layered Navigation Enabled to Yes, or run:

bin/magento config:set magebit_layered_navigation/ajax/enabled 1

Go into Stores -> Configuration -> Magebit -> Infinite Scroll and under General set the Infinite Scroll Enabled to Yes, or run:

bin/magento config:set infinite_scroll/general/enabled 1