Jump to content

Create a php page


jpayam

Recommended Posts

The CubeCart template file "box.basket.php" is really standard HTML code. There is no PHP code in it.

So, if your browser calls for this file directly, you will get whatever HTML is in the file.

However, a standard web page makes use of resources: images, CSS, javascript. The code to have the browser request these resources would need to be added.

Then, in the template code are extra things that are understood by the template rendering engine. This will populate variables with the values, evaluate conditions, and iterate through loops.

So, in short, yes, you can create a PHP script that will render the box.basket.php template.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...