PST Core

The idea of this repository is that there is a part of the store that doesn't change - that it is the same for all customers - and then, there is a part of the store that depends on customer-specific stuff. This is the reusable part. Configuration switches in the form of constants get loaded in environment.php. Then, CodeIgniter loads environment.php. Then, you have this.

Enabling the Vault

  1. Run the query to create the vault page.
  2. Add the ENABLE_VAULT and TOP_LEVEL_PAGE_ID_VAULT to environment.php.

Server IPs

If you change the server IP, you have to go add the IP to the whitelist in the Portal for receiving.

Adding a Category

  • You have to add a constant for the top level category to the store environment
  • You have to make a new page though the database
  • You have to add a new page constant to the store environment
  • You have to make a new page controller
  • You have to add the category check in master_v_new
  • You have to add the route overrides for the top level searches
  • You have to add that top-level category into parts_m.php
  • You have to add the $("#stp").addClass('actv'); for you new top-level navigations...