I follow your question , is it 2.2+ tested?tpalella wrote:Anyone knows what needs to be changed for 2.2+?
thank you!
It should still work for 2.2
armand1610 = solved the problem for me
in /catalog/controller/information/static.php
Find this (around line 34)
Replace with
Basically it does not need the call to default/template/
Works in 2.3.0.2
Gosh: I'm still a newbie and I joined back in 2010, must post more often.
in /catalog/controller/information/static.php
Find this (around line 34)
Code: Select all
$this->response->setOutput($this->load->view('default/template/information/static.tpl', $data));
Code: Select all
$this->response->setOutput($this->load->view('information/static.tpl', $data));
Works in 2.3.0.2
Gosh: I'm still a newbie and I joined back in 2010, must post more often.
OpenCart 3 tutorial is out now: viewtopic.php?f=23&t=186404
Thank you, great tutorial. This was a big help.
I want to add, in the controller file change:
$this->language->load('information/static');
to
$this->load->language('information/static');
Best regards
I want to add, in the controller file change:
$this->language->load('information/static');
to
$this->load->language('information/static');
Best regards
For 2.2+
in order to load template you can use $this->response->setOutput($this->load->view('your template path after template folder', $data));
and all template variables are store in $data.
in order to load template you can use $this->response->setOutput($this->load->view('your template path after template folder', $data));
and all template variables are store in $data.
Call us at : (+91) -8765210318 , Skype: live:carlmorgan.cedcommerce , Email: support@cedcommerce.com
CedCommerece : Officail Opencart Partners
CedCommerce Official : www.cedcommerce.com
Opencart Services : www.cedcommerce/opencart-services.com
Sell On various Marketplace Integration : Opencart-Extensions
Magenative Mobile App/IOS Development : magenative.com
Webinar : Power up Your holiday season marketing with the Automation tool
Hi Mark,
need your help on
Hi i am using OC 2.3.0.2 with J2.9, i am trying to make this url "https://www.xyz.com/index.php?route=information/xyz " to "https://www.maraley.com/xyz"
i have make a entry in db url_alias table
rl_alias_id int(11) 2053
query varchar(255) information/xyz
keyword varchar(255) xyz
but it doesn't help as i want.
Still the index.php?route=
how to go about it. Thanks in advance
the page is without opencart header and footer and it was not made directly from admin side
need your help on
Hi i am using OC 2.3.0.2 with J2.9, i am trying to make this url "https://www.xyz.com/index.php?route=information/xyz " to "https://www.maraley.com/xyz"
i have make a entry in db url_alias table
rl_alias_id int(11) 2053
query varchar(255) information/xyz
keyword varchar(255) xyz
but it doesn't help as i want.
Still the index.php?route=
how to go about it. Thanks in advance
the page is without opencart header and footer and it was not made directly from admin side
Urgent Questions shoot here: khnaz35@gmail.com
Enjoy nature
Why not create a .htaccess rewrite for just that URL?
Thanks That did already, was just trying to learn an other way of doing it
Urgent Questions shoot here: khnaz35@gmail.com
Enjoy nature
HI MarketInSG,
can you also post a tutorial on how to create a custom static html product page for opencart 2.3.0.2?
idea is i need to create a custom designed product page, different from the current product page template of our shop.
just an html product page with a form and able to add to cart.
thanks.
can you also post a tutorial on how to create a custom static html product page for opencart 2.3.0.2?
idea is i need to create a custom designed product page, different from the current product page template of our shop.
just an html product page with a form and able to add to cart.
thanks.
Who is online
Users browsing this forum: No registered users and 202 guests