Post by JNeuhoff » Thu Feb 21, 2019 6:42 pm

I tested it on an OpenCart 3.0.2.0 and 3.0.3.1, see attached screenshot for 3.0.2.0.

Attachments

Screenshot_2019-02-21_10-37-16.png

Screenshot_2019-02-21_10-37-16.png (69.9 KiB) Viewed 389 times


MHC Web Design
Override Engine * Integrated VQMod * Unused Images Manager * Instant Option Price Calculator * TrustPilot Reviews * Google Rich Snippets * Google Tag Manager * Export/Import Tool * Template Switcher PHP/Twig


User avatar
Expert Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by paulfeakins » Thu Feb 21, 2019 6:58 pm

Ah ha, we've got to the bottom of this!

What you're doing is changing the directory of the default theme.

What I'm talking about is creating a new theme that appears here:
Image

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Expert Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by JNeuhoff » Thu Feb 21, 2019 10:02 pm

Yes, you are right. I usually keep the default theme, and only change the theme folder. As long as you don't need any other settings beyond the image sizes, the usage of just another theme folder will do just fine. If you need additional or different settings, then yes, you'd have to add your web theme controller/view/language to take care of these additional settings.

MHC Web Design
Override Engine * Integrated VQMod * Unused Images Manager * Instant Option Price Calculator * TrustPilot Reviews * Google Rich Snippets * Google Tag Manager * Export/Import Tool * Template Switcher PHP/Twig


User avatar
Expert Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by AndreyK » Mon Mar 11, 2019 7:39 am

Here is one solution.
I've created php script for creating new OpenCart 3.x.x themes. Just enter name of your theme, download to your computer and then unzip and upload to your Opencart 3.x.x installation.

http://kotsarweb.5gbfree.com/opencart3-new-theme

I would very appreciate community feedback.

Newbie

Posts

Joined
Wed Feb 13, 2019 3:05 pm

Post by IP_CAM » Mon Mar 11, 2019 8:31 am

Well done, a good approach to solve that problem. At least for
those, using OC v.3 ! :D

And to change a few things, one now only requires another Stylesheet,
matching the 'default' Version 3 OC way of doing things, to then have
different Designs as well, as I did in/for my Version I use, to so get a whole
range of different designs, like shown here:
http://www.openshop.li/shop/
I then usually only need the Custom Theme header + footer File, plus
possibly a good looking product.tpl (twig) File, and everything else is
'handled' by the default Theme OC Files.
(Not all Theme Styles have been 'perfected' yet, some misses might still exist!)

Such can only be achieved, if a Custom Theme is built according
OC v.x. Standards, and uses the same 'Style/Class-Variables', just with different
Values, to change visual Things. So, better don't try such with Pavo /Journal
and other highly customized Themes, since that won't work.

So, look around, to find (free! 8) ) Themes + Stylesheets for your Version.
And, at first, just replace the default theme stylesheet.css with the new
one, to so immediately find out, if a Stylesheet is technically capable to
do the Job, without much work. And if not, scrap it, and try the next! :D
But better don't steal my Styles, they won't do the Job in your Version. :P

Good Luck! ;)
Ernie

I'm rarely still active at the OC Forum. To reach me, contact: jti@jacob.ch
A Demoversion of my free OpenCart LIGHT v.1.5.6.5 Software Edition
can be seen in real Action here: http://www.jti.li/shop/
---
1'000+ FREE OC Extension-Repositories - from OC v.1.5.x up,
on the world's largest OC-related Github Site: https://github.com/IP-CAM
---
Image


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by AndreyK » Mon Mar 11, 2019 1:05 pm

Thank you IP_CAM !

Newbie

Posts

Joined
Wed Feb 13, 2019 3:05 pm

Post by paulfeakins » Mon Mar 11, 2019 7:25 pm

IP_CAM wrote:
Mon Mar 11, 2019 8:31 am
Such can only be achieved, if a Custom Theme is built according
OC v.x. Standards, and uses the same 'Style/Class-Variables', just with different
Values, to change visual Things. So, better don't try such with Pavo /Journal
and other highly customized Themes, since that won't work.
We're in the process of designing and building several OpenCart "CSS Only" Themes along the lines of the legendary CSS Zen Garden.

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Expert Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by tom327 » Tue Apr 02, 2019 3:37 am

My understanding from the instructions here is that you should copy ALL the default view/template files to your new custom theme.

But, I seem to remember when I created a custom theme with Opencart 2x that at first I did not copy all the default template files, and later would only copy to my custom theme only the specific template file I wanted to customize for my custom theme. My understanding was that Opencart would use the default theme files if it did not find a particular page template in my custom theme folder.

For example, if I wanted to customize only the product page template, then I would ONLY make a copy of the product page template and copy it to my custom theme folder.
Is that still the right way to work with Opencart 3.0 custom themes, or for some reason should you copy ALL the template page files to your custom theme folder from the beginning?

Active Member

Posts

Joined
Thu Feb 16, 2012 7:33 am

Post by paulfeakins » Tue Apr 02, 2019 3:48 am

tom327 wrote:
Tue Apr 02, 2019 3:37 am
Is that still the right way to work with Opencart 3.0 custom themes, or for some reason should you copy ALL the template page files to your custom theme folder from the beginning?
That's a good question - and I believe that is still the case, so you should delete any theme files that you do not modify.

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Expert Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom
Who is online

Users browsing this forum: Fabienlolo, thekrotek and 20 guests