How to Make a New Page

From Phoenix Cart User Guide
Revision as of 07:25, 29 October 2021 by PeterRobert (talk | contribs)
Back
FAQ Tips & Tricks

It is a common requirement for shop owners to want additional information pages specific to their shop e.g. pages relating to products or services.

This is easily achieved by making an Info Page - read Info Pages to see how that is done.

It is not necessary but users might want to create a new page to display that new Info Page.

This can be done by creating a clone of an existing information page.

Each page has a main file, a template file and a language file so a clone is made of each.

In this example a new page is made to display a new Info Page (read Info Pages to see how that is done) by cloning the existing privacy.php page.


Main File

  • On your local computer, find and open the downloaded and unzipped (extracted) CE Phoenix folder or download and unzip a new one.
  • Find the privacy file.
  • Open the file in a file editor to see this:

Vscprivacy.png

  • There are only 2 references to the file name privacy - shown in the example on lines 15 and 17.
  • Change both instances of privacy to the new file name - example is used here just as an example - note: do not use upper case and use an underscore instead of spaces in file names.
  • In the file editor menu, go to and click File → Save as...
  • Enter the new file name (example) and click Save

Language File

  • Now back in the downloaded and unzipped (extracted) CE Phoenix folder, go to includes → languages → english
  • Find the privacy file.
  • Open the file in a file editor to see this:

Vscprivacylang.png

  • Copy and paste the following code before the first language define - so paste into line 12 in the example.
  • Change the text to your requirements.
  • This code will help the search engines to find the new page.
// seo
define('META_SEO_TITLE', 'Example Page Title');
define('META_SEO_DESCRIPTION', 'Example page description of about 30 words');
define('META_SEO_KEYWORDS', 'Example page, search terms, comma separated');
  • Change the 2 instances of Privacy Notice to the new page name e.g. Example
  • Change Put here your Privacy Notice information. to whatever is required to show in the new page contents.
  • In the file editor menu, go to and click File → Save as...
  • The popup navigation window should open in includes/languages/english but ensure the file is saved in that location.
  • Enter the new file name (example) and click Save

  • Using FTP software, upload the new files to the host server - ensure they are uploaded to the correct locations.



Construction.png
This page is in progress
Please visit again soon for additions and changes

Phoenix Cart User Guide, like CE Phoenix Cart, is free to use but is maintained by unpaid volunteers.
If you have found it useful, please donate to the coffee pot!
Use this link to donate whatever you want.

Donate with Paypal

Code references are licensed under a Commons Attribution-NonCommercial-ShareAlike 2.0 UK: England & Wales License.
All other content is the reserved Intellectual Property and Copyright of phoenixcart.org
PROTECTED BY COPYSCAPE ANTI-PLAGIARISM