Instantcart uses a template structure that is fairly simple to understand. Each template folder contains a number of subfolders know as “page content” folders. Each folder is descriptive of particular area of your Instantcart webstore, and follows the following format.
Page Url Matching
|- public_html
|- templates
| |-- main
|--- snippets
|- {Snippets of code used for displaying the contents of loops of data}
|- products.snippet.html
|--- account
| |- forgotPassword.template.html => /forgot_password
| |- loginBox.template.html => /login
| |- myaccount.template.html => /account
| |- myledger.template.html => /myledger.php
| |- myOrdersOrder.template.html => /myorders.php
| |- myOrdersOrderDetail.template.html => /myorders.php?action=order_detail&order_id=XXX
| |- myreturns.template.html => /myreturns.php
| |- password.template.html => /change_pass.php
| |- signup.template.html => /register
| |- signupMoreInformation.template.html => /register
| |- signupSuccess.template.html => /register
| |- tickets.template.html => /mymessages.php
| |- ticketsDetail.template.html => /mymessages.php?ticket_id=XXX
|
|--- basket
| |- basketContents.template.html => /basket
| |- basketEmpty.template.html => /basket
|
|--- brands
| |- brands.template.html => /brands
|
|--- checkout
| |- checkoutPayment.template.html => /checkout_payment
| |- checkoutShipping.template.html => /checkout_shipping
| |- success.template.html => /success
|
|--- content
| |- content.template.html => /content/mypage_1.html
| |- news.template.html => /news
|
|--- error
| |- error404.template.html => /any-page-that-doesnt-exist
|
|--- index
| |- brand.template.html => /brand
| |- category.template.html => /d/my-category_1.html
| |- home.template.html => /
| |- search.template.html => /index.php?keyword=
|
|--- product
| |- productdetail.template.html => /p/my-products_3.html
|
|--- index.html
|--- main.html (can be any name)
Comments
0 comments
Please sign in to leave a comment.