Zen Cart Logo
Forums / Addon Templates / Winchester Responsive

Winchester Responsive

Views: 443,030

Results 921 to 940 of 953
5 Jul 2021, 6:43 PM
#922
dbltoe avatar

dbltoe

Totally Zenned

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

Re: Winchester Responsive

Please answer as many of the posting tips as possible. How did you install the site? What version of Winchester?

Just those two questions make a big difference in troubleshooting.

18 Oct 2021, 2:54 PM
#923
cubmanky avatar

cubmanky

Zen Follower

Join Date:
Jan 2014
Posts:
224
Plugin Contributions:
0

Re: Winchester Responsive

So I'm doing a clean install, I was on responsive_sheffield_blue and looking for something new. My banner images are 980 x 250. Somehow on my new site they are showing much larger then on the old one. Any suggestions on a fix.

Also I was running side boxes on both left and right. On the new install I can only get the left side to show when I click a product.

https://www.thecubden.org/store1/

18 Oct 2021, 3:08 PM
#924
cubmanky avatar

cubmanky

Zen Follower

Join Date:
Jan 2014
Posts:
224
Plugin Contributions:
0

Re: Winchester Responsive

ok i found the fix for Also I was running side boxes on both left and right. On the new install I can only get the left side to show when I click a product.

22 Oct 2021, 3:27 AM
#925
cubmanky avatar

cubmanky

Zen Follower

Join Date:
Jan 2014
Posts:
224
Plugin Contributions:
0

Re: Winchester Responsive

Having issues with ezpages. https://www.thecubden.org/store1/ As you can see I have a few items setup. Attachment 19768 It all worked on my old site.

22 Oct 2021, 2:00 PM
#926
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,080
Plugin Contributions:
56

Re: Winchester Responsive

What are your site's settings for Configuration :: EZ-Pages Settings? Are the header/footer pages enabled?

22 Oct 2021, 3:04 PM
#927
cubmanky avatar

cubmanky

Zen Follower

Join Date:
Jan 2014
Posts:
224
Plugin Contributions:
0

Re: Winchester Responsive

So if in the Configuration :: EZ-Pages Settings I have it set to on, i get a nice bar just below my banner and that all works. On my old site I had it set at off but this info would show up in the top bar as shown in this image. Attachment 19771

With the new site it will not work. If i go to useful links it shows nothing.

24 Oct 2021, 3:33 AM
#928
cubmanky avatar

cubmanky

Zen Follower

Join Date:
Jan 2014
Posts:
224
Plugin Contributions:
0

Re: Winchester Responsive

cubmanky:

So if in the Configuration :: EZ-Pages Settings I have it set to on, i get a nice bar just below my banner and that all works. On my old site I had it set at off but this info would show up in the top bar as shown in this image. Attachment 19771

With the new site it will not work. If i go to useful links it shows nothing.

So I guess that area is called a side box. Turning on the side box in the ez pages under tools fixed it

26 Oct 2021, 8:08 PM
#929
philibel avatar

philibel

Zen Follower

Join Date:
Mar 2008
Location:
Belgium
Posts:
120
Plugin Contributions:
3

Re: Winchester Responsive

owen26:

In the includes/templates/winchester_responsive_2.0/files/YOUR_ADMIN/includes/installers/winchester_responsive/1_0.php on line 139 change:

date_added datetime NOT NULL DEFAULT '0000-00-00 00:00:00',

> to
> ```
date_added datetime NOT NULL DEFAULT '0001-01-01 00:00:00',

While helping a friend I ran into the same problem.
What I also found is the includes\languages\winchester_responsive\english.php in the template is outdated. It's based on the original file from Zen Cart v.1.5.5
You'll have to compare it to the file from 1.5.5 and paste the addon text to the file from 1.5.7

Don't consider this template ready to install on 1.5.7.

6 May 2022, 11:32 AM
#930
draxwyn avatar

draxwyn

New Zenner

Join Date:
Aug 2005
Posts:
30
Plugin Contributions:
0

Re: Winchester Responsive

Hi Everyone,

I recently changed over to PHP v7.2 (ZC v1.5.7d) and have been getting a lot of warnings/errors like this in the log files;

'PHP Warning: Use of undefined constant ZEN_COLORBOX_STATUS - assumed 'ZEN_COLORBOX_STATUS''

does anyone know how to fix this or these in general there are a few other undefined constants for a few other mods I have so would like to get them fixed/updated.

So far I have noticed the above error thrown in these files;

includes/modules/pages/product_info/jscript_zen_colorbox.php on line 12.
includes/templates/winchester_responsive/templates/tpl_modules_main_product_image.php on line 16.

Any help would be greatly appreciated.

~D

6 May 2022, 4:50 PM
#931
dbltoe avatar

dbltoe

Totally Zenned

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

Re: Winchester Responsive

That constant is in Image Handler. You probably had it loaded before but didn't load it when you upgraded to 1.5.7d.

Just some FYI. PHP 7.2 is End of Life. You should be using a minimum of 7.4 BUT, this template is eight years old and will more than likely have problems with 7.4

Also, make sure you get the latest version of Image Handler.

6 May 2022, 8:53 PM
#932
draxwyn avatar

draxwyn

New Zenner

Join Date:
Aug 2005
Posts:
30
Plugin Contributions:
0

Re: Winchester Responsive

dbltoe:

That constant is in Image Handler. You probably had it loaded before but didn't load it when you upgraded to 1.5.7d.

Just some FYI. PHP 7.2 is End of Life. You should be using a minimum of 7.4 BUT, this template is eight years old and will more than likely have problems with 7.4

Also, make sure you get the latest version of Image Handler.

Thanks, I'll have a look through and see if I can find out why it's not being loaded and look into the latest version of the image handler while I am at it.

I am slowly going up through the PHP versions to fix errors/warnings as I go but keep the site still ticking over. The goal is to get to PHPv8. I have tried it with v7.4 and this template does appear to work just with a lot more warnings about functions and class constructors being deprecated in future versions of PHP, but that applies to not just this template but a lot of the add-ons too.

~D

6 May 2022, 9:11 PM
#933
dbltoe avatar

dbltoe

Totally Zenned

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

Re: Winchester Responsive

Should have been a file at includes/classes/observers/ColorBoxObserver.php.

At least, that'w where it is in v5

17 May 2022, 1:00 PM
#934
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Re: Winchester Responsive

Installed zencart 1.57d with Winchester template template on 7.42 php
For some reason my new products aren't showing at the following link:
https://gelcandlecompany.com/gelmelts/index.php?main_page=products_new

Anyone have an idea why?

18 May 2022, 1:48 PM
#935
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Re: Winchester Responsive

Log files showed missing files.
Re-uploaded template. solved my issue.

24 Mar 2023, 4:30 PM
#936
ole01 avatar

ole01

New Zenner

Join Date:
Mar 2023
Posts:
10
Plugin Contributions:
0

Re: Winchester Responsive

How to disable the Specials banner and Left Slide Out?

24 Mar 2023, 4:59 PM
#937
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Winchester Responsive

ole01:

How to disable the Specials banner and Left Slide Out?

To disable the Left Slide Out, in \includes\templates\winchester_responsive\common\tpl_main_page.php find this code:

<script src="<?php echo $template->get_template_dir('jquery.tabSlideOut.v1.3.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.tabSlideOut.v1.3.js' ?>" type="text/javascript"></script>

    <script type="text/javascript">
    $(function(){
        $('.slide-out-div').tabSlideOut({
            tabHandle: '.handle',                     //class of the element that will become your tab
            pathToTabImage: '<?php echo $template->get_template_dir('tab.png',DIR_WS_TEMPLATE, $current_page_base,'images') . '/tab.png' ?>', //path to the image for the tab //Optionally can be set using css
            imageHeight: '50px',                     //height of tab image           //Optionally can be set using css
            imageWidth: '60px',                       //width of tab image            //Optionally can be set using css
	    tabLocation: 'left',                      //side of screen where tab lives, top, right, bottom, or left
            speed: 300,                               //speed of animation
            action: 'click',                          //options: 'click' or 'hover', action to trigger animation
            topPos: '100px',                          //position from the top/ use if tabLocation is left or right
            leftPos: '20px',                          //position from left/ use if tabLocation is bottom or top
            fixedPosition: true                      //options: true makes it stick(fixed position) on scroll
        });

    });

    </script>

   <div class="slide-out-div">
    <a class="handle" href="http://link-for-non-js-users.html">Content</a>
<?php echo SLIDE_OUT_CONTENT; ?>
         </div>

and add the code in red, before and after it:

[B]<? /* ?php>[/B] 
<script src="<?php echo $template->get_template_dir('jquery.tabSlideOut.v1.3.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.tabSlideOut.v1.3.js' ?>" type="text/javascript"></script>

    <script type="text/javascript">
    $(function(){
        $('.slide-out-div').tabSlideOut({
            tabHandle: '.handle',                     //class of the element that will become your tab
            pathToTabImage: '<?php echo $template->get_template_dir('tab.png',DIR_WS_TEMPLATE, $current_page_base,'images') . '/tab.png' ?>', //path to the image for the tab //Optionally can be set using css
            imageHeight: '50px',                     //height of tab image           //Optionally can be set using css
            imageWidth: '60px',                       //width of tab image            //Optionally can be set using css
	    tabLocation: 'left',                      //side of screen where tab lives, top, right, bottom, or left
            speed: 300,                               //speed of animation
            action: 'click',                          //options: 'click' or 'hover', action to trigger animation
            topPos: '100px',                          //position from the top/ use if tabLocation is left or right
            leftPos: '20px',                          //position from left/ use if tabLocation is bottom or top
            fixedPosition: true                      //options: true makes it stick(fixed position) on scroll
        });

    });

    </script>

   <div class="slide-out-div">
    <a class="handle" href="http://link-for-non-js-users.html">Content</a>
<?php echo SLIDE_OUT_CONTENT; ?>
         </div>
[B] <?php */ ?>[/B]

Basing this on my knowledge of the Westminster New template but should be the same for Winchester Responsive (sister templates)

24 Mar 2023, 7:08 PM
#938
ole01 avatar

ole01

New Zenner

Join Date:
Mar 2023
Posts:
10
Plugin Contributions:
0

Re: Winchester Responsive

Thank you. It works.
There is another problem. How to disable the "Shopping Cart" (0 - $0.00) button at the top?

24 Mar 2023, 7:25 PM
#939
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Winchester Responsive

ole01:

Thank you. It works.
There is another problem. How to disable the "Shopping Cart" (0 - $0.00) button at the top?

I don't have a Westminster/Winchester site that uses that feature. You might find it sufficient simply to hide that line of text and the simplest way would be to add 'display:none' to the relevant css selector. You can find out the css selector by using your browser's developer tools that should also tell you which css file to edit. This might be a good time to read up on those (CSS & Dev Tools).

Zen Cart CSS is explained in the docs - https://docs.zen-cart.com/user/template/stylesheet/, there will other topics of use in there aswell (https://docs.zen-cart.com/user/customizing/). You might also find the answer to your banner question.

24 Mar 2023, 7:34 PM
#940
swguy avatar

swguy

Administrator

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

Re: Winchester Responsive

it's not bad to keep a "Shopping Cart" link (even if you want to get rid of the total price in the link anchor text) - it makes it easier for people to check out from your store.