Question about locations of multiple files/strings
Posted: Fri Apr 20, 2018 2:44 am
Hello,
I'm new to open cart but have been building a store and I am really enjoying the ease of OpenCart. However I have a few questions.
1. During check out, we see "I agree to Terms & Conditions". I was wanting to add an additional statement to the end of that. I've searched online but I am only seeing posts for OpenCart v0.x and was wanting to know the location/php file for OpenCart 2.0.
2. Is there a contact form built into OpenCart? If not, am I able to add my own php contact form. If yes, then where is each page stored? For example, I've been adding pages to the "information" section and then updating the footer.tpl/footer.php file with the changes. However my page location is usually "...ndex.php?route=information/information&information_id=4". Are these pages stored at separate .php files, if so where? (Sorry, know very little about php, just enough to get by)
3. Disabling registration. I've read in another form post that to disable the registration I can just redirect the links to the guest checkout. Do this by:
Editing:
catalog/controller/checkout/shipping.php
catalog/controller/checkout/payment.php
catalog/controller/checkout/confirm.php
And replacing:
"$this->redirect($this->url->https('account/login'));"
With:
$this->redirect(HTTPS_SERVER . 'index.php?route=checkout/guest_step_1'));
However this was from an OpenCart 1.5+ version. Would this still be the case in OpenCart 2.x+?
Thanks for your help,
Chris
I'm new to open cart but have been building a store and I am really enjoying the ease of OpenCart. However I have a few questions.
1. During check out, we see "I agree to Terms & Conditions". I was wanting to add an additional statement to the end of that. I've searched online but I am only seeing posts for OpenCart v0.x and was wanting to know the location/php file for OpenCart 2.0.
2. Is there a contact form built into OpenCart? If not, am I able to add my own php contact form. If yes, then where is each page stored? For example, I've been adding pages to the "information" section and then updating the footer.tpl/footer.php file with the changes. However my page location is usually "...ndex.php?route=information/information&information_id=4". Are these pages stored at separate .php files, if so where? (Sorry, know very little about php, just enough to get by)
3. Disabling registration. I've read in another form post that to disable the registration I can just redirect the links to the guest checkout. Do this by:
Editing:
catalog/controller/checkout/shipping.php
catalog/controller/checkout/payment.php
catalog/controller/checkout/confirm.php
And replacing:
"$this->redirect($this->url->https('account/login'));"
With:
$this->redirect(HTTPS_SERVER . 'index.php?route=checkout/guest_step_1'));
However this was from an OpenCart 1.5+ version. Would this still be the case in OpenCart 2.x+?
Thanks for your help,
Chris