I am building a second shop together with my default shop on the same domain (with different sub domains).
All lay-outs are now created twice so I can give them a different look and feel (even the Information lay-out).
But I decided to share the content of the information pages so I added all those pages to both the default shop and the new shop and selected the correct override.
As soon as I start up one of those information pages from the new shop the entire shop settings switches to the default shop (style and also the links).
It even gets weirder....... I have defined an additional information page which is selected to be only viewable in the new shop. As soon as I select that one the settings also switch and I get the page not found error!
I have version 1.5.6 installed.
All other navigation seems to be OK (due to all lay-outs being defined twice?)
Can this be solved?
Quality is in the detail!
DL
This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.
Thanks!
I know this doesn't help your current question but I do want to tell right now that if you're going to use SSL on your site, it has to be installed in public_html or you won't get that to work. This may also be the issue you're having with the pages switching to default.Harm10 wrote:I am still testing but my opencart is not installed in the root folder.
Currently it is in public_html/sitetest/opencart.
When it is ready it will be installed in public_html/opencart.
Can you move it to public_html quickly to test it?
DL
This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.
Thanks!
So moving it to public_html is not doable.
BTW my shops do not use SSL and navigation is fine for the other elements.
I even tested by sharing one of the lay-outs and then navigation was flawless.
So the error should be somewhere in the coding that takes care of the Information pages.
I might add that I use a symlink for a non existing subfolder to expose the files that are needed for the new shop.
In that way I can separate the URLs.
Quality is in the detail!
That's the most common issue with paths being screwed up.
Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
I have defined a second web shop in the same backend and instead of manipulating the document root (which I am not allowed) I put a symlink in place. So all references to my new subfolder are in fact referring to the "real" files that belong to the default shop.
As I said all other navigation, definitions and settings (like last 2 new ones in the one shop and the last 5 in the other) work OK. Even checking out and wish list. The new shop has another theme (the problem is still there if I give the new shop the same theme) and that shows also correctly.
Would upgrading to 1.5.6.1 help?
Quality is in the detail!
I'm not familiar with using symlinks, so perhaps someone else can help you there. Might be the way you are doing that which is confusing things.
Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
If they were not then navigation between the lay-outs in both the default shop and the new shop would also be wrong somehow. Or not?
Symlink just tells the server that a non existing folder should be considered as an equal to another existing one.
Maybe someone knows how these links are built within OpenCart?
Is there some general php file that holds the overall functions?
Quality is in the detail!
DL
This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.
Thanks!
http://www.mysite.nl/sitetest/openmob/
(the shops are both offline; a symlink is created for openmob folder to point at opencart folder)
and Default layout has no routes defined for it.
The default shop has default route Default defined to it and the new shop Home_mobile which is a copy of Home meant to only be used for this shop. So layout Home_mobile is only allocated to the new shop with route common/home
Quality is in the detail!
But...... I noticed something peculiar on the link to the Information pages.
This is also the case in the default shop.
Normally the links are of the form /index.php?route=information/contact
but the links to the information pages are created using the meta tags I defined for them!
So for example if I use the meta tag about_us then the link to that page becomes /about_us.
No index.php and no route. No wonder it cannot find the new shop route!
If you leave out the meta tag(s) altogether then the link becomes /index.php?route=information/information&information_id=7
Remember I created a page to be only displayed on the new shop? I removed its meta tag and now it displays fine!
So not the creation of the links on the information page goes wrong but the link to the information page!
This has to be a bug!
Quality is in the detail!
Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
What kind of link do you get if you specify a meta tag for any of the Information pages?
I just opened a bug for this https://github.com/opencart/opencart/issues/1166
Quality is in the detail!

But I think I found the answer to the problem.
Thess peculiar links are constructed whenever you switch on SEO URLs and you add some tags to your pages.
Together with switching that feature on you should activate the .htaccess file.
Because none of my shops is located in the root I had to change the RewriteBase (as is documented in the .htaccess.txt file).
But................ as soon as I duplicated the entire block of lines to also be used on another RewriteBase (my second shop) things worked again!
So apparently you need to redo those rewrites for every new shop you have.......

Quality is in the detail!
Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
Users browsing this forum: No registered users and 7 guests