Forums / Templates, Stylesheets, Page Layout / Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

Sticky

Started by picaflor_azul on 16 Mar 2016, 11:30 PM · Views: 363,092

Results 841 to 860 of 1,106
15 Apr 2020, 6:56 PM
#841
mcqueeneycoins avatar

mcqueeneycoins

Zen Follower

Join Date:
Jan 2008
Posts:
156
Plugin Contributions:
0

Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

Thanks for taking a look--I'll try to see what I may have left off. With regards to the contrast, the background should be White, not blue. That's the issue. When I set the qty to 0 (sold out) or call for price, that's when the background changes to blue like that. When i use the contrast tool using the blue text on white background i get 7.9, so I think as long as I can resolve the background issue it will be better. I just changed the product quantity for the 2nd item back to 1 (not sold out anymore) and you can see what I want the site to look like. I didn't make any css changes since my last post, only updated the # in stock resulting in this change. Maybe it will help narrow down the cause?

For configuration settings, they are as follows:

Product status = 1
Show Sold Out = 1

Thanks again!

15 Apr 2020, 10:03 PM
#842
mcqueeneycoins avatar

mcqueeneycoins

Zen Follower

Join Date:
Jan 2008
Posts:
156
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

I think I figured it out after a lot of trial and error--realized I was missing a </div> tag, but needed to add it on the functions_general.php instead of the product_listing.php which is why I wasn't connecting the dots sooner. As far as turning the Sold Out button into a link to the product page, I think I am just going to change ...more info into a similarly styled button and just change the text to Sold Out, then use the display:none on the original Sold Out styling.

20 Apr 2020, 8:32 PM
#843
lrfowler24 avatar

lrfowler24

New Zenner

Join Date:
Feb 2010
Posts:
74
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

So..I've been told maybe the html_header.php ...or..... the tpl_main_page.php is corrupted in some way in that the first page of
http://www.candyground.com
is not loading correctly...(maybe I need to load clean copies of html_header.php ...and.... the tpl_main_page.php ? ......WHERE TO GET THESE?

the top line ...where home | log in | shopping cart is........
the black line at the top should be wider?
I didnt change the width or anything....it might have changed after I added the slideshow....
but i removed the slideshow and it's still the same...
any ideas how to fix?

20 Apr 2020, 8:41 PM
#844
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,747
Plugin Contributions:
56

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

lrfowler24:

... maybe I need to load clean copies of html_header.php ...and.... the tpl_main_page.php ? ......WHERE TO GET THESE?

Download a fresh copy of Zen Cart from https://www.zen-cart.com/latest

Keep that in a folder and make it read-only so you can't change it. Then you'll know that's a pristine image of your version, and you can always compare against that or use that as a source of files if things get messed up.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

20 Apr 2020, 8:58 PM
#845
lrfowler24 avatar

lrfowler24

New Zenner

Join Date:
Feb 2010
Posts:
74
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

thanks for the great idea.....
html_header.php ...and..... the tpl_main_page.php are identical to the copies I have in the template folder and the newly downlaoded zencart folder .
what other problem might be the reason for the first page of https://www.candygoround.com to be messed up....
the product pages seem OK.

20 Apr 2020, 9:40 PM
#846
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,811
Plugin Contributions:
24

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

Are you sure it's 100% identical? As I mentioned in the other thread, it might be file encoding issue. Can you try the following, please:
#1 - rename your includes/templates/responsive_classic/common dirrectory to common_old (you're just making a backup)
#2 - upload includes/templates/responsive_classic/common from an original file set to the directory above
Refresh the page and see what happens.

My site - Pro ZC Help
My portfolio | My plugins

20 Apr 2020, 10:03 PM
#847
lrfowler24 avatar

lrfowler24

New Zenner

Join Date:
Feb 2010
Posts:
74
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

balihr:

Are you sure it's 100% identical? As I mentioned in the other thread, it might be file encoding issue. Can you try the following, please:
#1 - rename your includes/templates/responsive_classic/common dirrectory to common_old (you're just making a backup)
#2 - upload includes/templates/responsive_classic/common from an original file set to the directory above
Refresh the page and see what happens.

hello....thanks for replying....
I did as you suggested ...renaming and adding a new common folder...
but it didnt fix it...
How about I reload the responsive_classic template?.......how do I do that?
just move folders over ?

21 Apr 2020, 1:31 AM
#848
djdavedawson avatar

djdavedawson

Zen Follower

Join Date:
Jul 2005
Location:
Orlando, Fl
Posts:
343
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

Is there a way to use the responsive_classic as the template default and then have a custom template that overrides responsive_classic ?

Thanks

21 Apr 2020, 6:22 PM
#849
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,892
Plugin Contributions:
20

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

Responsive Classic is the default template. Here's our recommendation if you are going to use Responsive Classic:

  1. Start with Zen Cart and unmodified responsive_classic (hereafter RC)
  2. Use lat9's clone a template to clone RC to responsive_base (hereafter RB)
  3. Use the color change mod to create your colors in RB
  4. Clone the color-changed RB to YOUR_TEMPLATE (where YOUR_TEMPLATE is whatever name you want for a final template.)
  5. Proceed to make changes to your site's layout.

What this does is leave the responsive_classic (RC) untouched for emergency testing. It also leaves a colored copy (RC) available for short term testing. And, you have a base comparison of RC to YOUR_TEMPLATE to check when things go bump in the night.

Several of our customers take a finished YOUR_TEMPLATE and clone it into valentines, easter, july4, thanks, christmas, etc and swap them out at the appropriate time. Seems like a good idea for a mod: scheduled template changes. hmmmm

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

21 Apr 2020, 6:27 PM
#850
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,747
Plugin Contributions:
56

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

If some nice person were to take the above post (leaving out the last sentence), expand it a bit and submit it as a FAQ, I would be most grateful.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

21 Apr 2020, 7:38 PM
#851
earmsby avatar

earmsby

Zen Follower

Join Date:
Oct 2006
Location:
Worcester, MA
Posts:
451
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

I am interested in the color change mod mentioned above but the link in the post goes to an error message. Can you repost the link to that?

Much appreciated!

Ellie Armsby

21 Apr 2020, 7:57 PM
#852
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,747
Plugin Contributions:
56

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

Links fixed.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

22 Apr 2020, 12:35 PM
#853
djdavedawson avatar

djdavedawson

Zen Follower

Join Date:
Jul 2005
Location:
Orlando, Fl
Posts:
343
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

dbltoe:

Responsive Classic is the default template. Here's our recommendation if you are going to use Responsive Classic:

  1. Start with Zen Cart and unmodified responsive_classic (hereafter RC)
  1. Use lat9's clone a template to clone RC to responsive_base (hereafter RB)
  1. Use the color change mod to create your colors in RB
  1. Clone the color-changed RB to YOUR_TEMPLATE (where YOUR_TEMPLATE is whatever name you want for a final template.)
  1. Proceed to make changes to your site's layout.

DB,

Thanks for the quick response.

With this method, does this leave me with a YOUR_TEMPLATE containing all of responsive_classic overrides within?

Thanks?

22 Apr 2020, 6:09 PM
#854
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,892
Plugin Contributions:
20

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

YOUR_TEMPLATE is whatever you decide to name it and, yes, in the example it would contain a modified responsive_classic with the final color selections for your site.

For example, you could name it awesome_dawson, davdaw, or anything that you will remember.

You could even clone at any point that would help you test by reverting to a previous template. if you wanted a color-modded version in place for testing, that would make it:

  1. responsive_classic - untouched.
  2. responsive_base - a cloned responsive_classic.
  3. responsive_color - a cloned responsive_base that's been color-modded.
  4. YOUR_TEMPLATE - a clone of responsive_color for creating shop layout.

I will often clone again before installing a mod like One Page Checkout or any other mod that is going to affect the layout of the site. A clone really doesn't take much space but sure is helpful for incremental testing.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

23 Apr 2020, 1:13 AM
#855
djdavedawson avatar

djdavedawson

Zen Follower

Join Date:
Jul 2005
Location:
Orlando, Fl
Posts:
343
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

DB,

I was using YOUR_TEMPLATE for the purpose of the example. Although, awesome_dawson is pretty sweet ;)

I was just hoping by now that ZenCart had a more elegant way to build off the responsive template. I generally with cms like to use the least number of override files as possible. In my view, this keeps things simple, specially when performing upgrades.

I have been using ZenCart for a long time and it is my choice for anything e-commerce related, I don’t think anything could ever change that. I can only imagine that the antiquated and non responsive state of the template_default would be a turn off to new users. Having to install these mods to accomplish this kinda bloats things up and can be confusing for new users.

Although I would have quite a few wish list items for the override system, at the very least, make responsive_classic the template_default. Or a way to select which template becomes the base.

Thank You for the link to the mods.

~D

24 Apr 2020, 12:24 AM
#856
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,892
Plugin Contributions:
20

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

djdavedawson:

Although I would have quite a few wish list items for the override system, at the very least, make responsive_classic the template_default. Or a way to select which template becomes the base.I am presently working on clarifying terms with templates since the inclusion of responsive_classic.

Classic:
Classic template started as the "get it running quick" template to demonstrate what a fully optional cart could look like. Before the need for responsive templates, it could be used (with maybe a few color changes) to get a site up and selling as soon as possible.

With the advent of mobiles, tablets, etc.; responsive_classic was born.

Template_Default:
Template_default is not the template_default. Never has been. It should be named template_repository to be more accurate. It is not designed to be used as a presentation template. In versions before responsive_classic was added it did come up first in order to graphically point out where changes could be made. It points out (incompletely) what files can be used to create a custom template. It is not complete without lat9's template override sheet as an additional guide.

Think of it as a filing cabinet holding examples of letters used in a business. You might have more than one division in your business with each having its own logo, colors, address, phone, etc.

Your "override" in this case would be to take a form, add the correct logo, etc and then store the forms in the file cabinet for the company they belong with. Your automated system would get the specific forms from the new cabinet and the generic forms from the "default" cabinet.

After all, if the same form is used for all companies, why have it take up space in several file cabinets.

Responsive_Classic:
Responsive_classic is currently the template that's presented with the initial install of Zen Cart. Until it is cloned, another template is installed, replaced with another template, or the user wants to use Classic; the responsive_classic template is the one to build on. As mentioned earlier, I think it's best to clone responsive_classic at several levels for troubleshooting.

Template Selection:
Once you have cloned, added, or created a new YOUR_TMEPLATE; the template selection is made in the Admin's Tools menu under Template Selection. In order for any template to show up as a selection, it must at least have an includes/templates/YOUR_TEMPLATE/template_info.php file with the required information. Otherwise the template will not show up as a selection. Many forget this when creating their own template.

Overrides:
No matter what template is used, it generally does not use all the files in the folders of the template_default. But, as you change one of the template_default (base) files, you would save it to YOUR_TEMPLATE in the proper directory. That way, the next time the cart looks for the file, it will be in the current template's directory. It also provides an excellent way to see what files have been upgraded from the time the cart was installed.

Maybe that better explains what Zen Cart is talking about in each case.

NOTE:
Store-bought templates are seldom built using standard Zen Cart practices and will seldom work beyond their initial installation. One simple change can run in to files added to the store-bought that go against the default files of standard Zen Cart. That is one of the basic reasons that store-boughts are NOT recommended.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

24 Apr 2020, 1:57 AM
#857
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

dbltoe:

NOTE:
Store-bought templates are seldom built using standard Zen Cart practices and will seldom work beyond their initial installation. One simple change can run in to files added to the store-bought that go against the default files of standard Zen Cart. That is one of the basic reasons that store-boughts are NOT recommended.

as is pretty apparent from this discussion, templates are an area that some ZC developers are working and hope to get some better options available for everyone.

i may be the only one on this board that has no problem with store bought templates. some of them require more work than others to get working, and their marketing can be misleading at best. but they look nice and can provide functionality.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

20 Jun 2020, 8:02 PM
#858
djdavedawson avatar

djdavedawson

Zen Follower

Join Date:
Jul 2005
Location:
Orlando, Fl
Posts:
343
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

With the Mobile Menu in responsive classic, is there a setting or code to get more than 2 levels deep?

Thanks

20 Jun 2020, 8:42 PM
#859
djdavedawson avatar

djdavedawson

Zen Follower

Join Date:
Jul 2005
Location:
Orlando, Fl
Posts:
343
Plugin Contributions:
0

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

Ok, scratch that, is there a way to make the links with submenus only link to the submenu and not the page.

Category counts are turned off

Thanks

20 Jun 2020, 9:16 PM
#860
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

djdavedawson:

With the Mobile Menu in responsive classic, is there a setting or code to get more than 2 levels deep?

Thanks

Yes, if you would like to email me I can send a production copy of the unreleased Twitch MobileNavMenu Display Control for Zen Cart 1.56c. If there are other features you want this will give you the control to add them.

These controls are built into Twitch Base6 and will be ready for public release very soon!

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian