How to add additional php page

From AVACTIS : Ecommerce Shopping Cart Software Wiki
Jump to: navigation, search

NOTE: This article is for Avactis 2.0 and later.

1. Create a php page in the Avactis root directory, for example "test.php", with the following content:

<?php
include('init.php');
PageView(__FILE__);
?>

2. Open the "avactis-layouts\storefront-layout.ini" file and add the following section:

[Test] Default = test.php

3. Go to the "avactis-themes\YOUR_THEME\pages\yaml_layouts" directory and copy the "index.php.yml" file with the "test.php.yml" name.

Where YOUR_THEME is the theme selected for your storefront.

4. Manage the "test.php" page content using the "Page Manager" tool. The "test.php" page will be available in the "Select page to modify" drop-down menu.