Zen Cart Logo
Forums / Addon Templates / Winchester Responsive

Winchester Responsive

Views: 443,043

Results 501 to 520 of 953
20 Jul 2015, 1:29 PM
#501
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Winchester Responsive

stecrox:

After doing a fresh install, whenever a customer adds an item to the shopping cart or makes an update to it they get the following message.
I tried the same thing in the classic template and the error did not appear.

An unknown response null: :text/html: :SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data was received while processing an ajax call. The action you requested could not be completed.

This is not an inherent problem with the template package. What version of zen cart are you running? Do you have the ajax.php file in your store root directory?

Thanks,

Anne

22 Jul 2015, 4:20 AM
#502
stecrox avatar

stecrox

New Zenner

Join Date:
Jan 2008
Location:
Perth. Australia
Posts:
64
Plugin Contributions:
0

Re: Winchester Responsive

I am using version 1.5.4 and yes the ajax.php file is in the store root directory.
I have read up on similar errors and they are all apparently with "responsive" websites.
The website I forgot to mention earlier is http://www.jarsbottlesdirect.com.au

22 Jul 2015, 4:55 AM
#503
stecrox avatar

stecrox

New Zenner

Join Date:
Jan 2008
Location:
Perth. Australia
Posts:
64
Plugin Contributions:
0

Re: Winchester Responsive

picaflor-azul:

This is not an inherent problem with the template package. What version of zen cart are you running? Do you have the ajax.php file in your store root directory?

Thanks,

Anne

Anne
I found the answer and the issue was also evident on the Sheffield Responsive Template. Unfortunately the answer did not come up when I searched for it. After going through a few pages I found what appeared to the be answer and yes it worked.
I removed the following file: includes/templates/winchester_responsive/jscript/jscript_framework.php
Thought you would like to know.

22 Jul 2015, 4:12 PM
#504
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Winchester Responsive

stecrox:

Anne
I found the answer and the issue was also evident on the Sheffield Responsive Template. Unfortunately the answer did not come up when I searched for it. After going through a few pages I found what appeared to the be answer and yes it worked.
I removed the following file: includes/templates/winchester_responsive/jscript/jscript_framework.php
Thought you would like to know.

I am happy that you figured it out. I do have this change already noted for future template updates.

Thanks,

Anne

22 Jul 2015, 4:55 PM
#505
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

Join Date:
Feb 2008
Posts:
534
Plugin Contributions:
0

Re: Winchester Responsive

picaflor-azul:

I am happy that you figured it out. I do have this change already noted for future template updates...
I'm a little puzzled. I note this file jscript_framework.php is exact same as in Winchester Black Responsive. Yet I haven't had problems in live or test mode with adding or changing items in cart. Should this file be deleted from all the responsive templates?

22 Jul 2015, 5:49 PM
#506
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Winchester Responsive

soxophoneplayer:

I'm a little puzzled. I note this file jscript_framework.php is exact same as in Winchester Black Responsive. Yet I haven't had problems in live or test mode with adding or changing items in cart. Should this file be deleted from all the responsive templates?

"if it ain't broke, don't fix it" ;) But, you can try backing the file up and seeing if not having it there causes any problems.

Thanks,

Anne

31 Jul 2015, 10:26 AM
#507
cliffvt avatar

cliffvt

Zen Follower

Join Date:
Jul 2009
Posts:
100
Plugin Contributions:
0

Re: Winchester Responsive

Anne

please can you assist - I have installed the "hide categories" plugin but I don't know how to get the top "Categories" menu on Winchester Responsive not to show the hidden categories. Can you tell me what code I need to change/insert and where, please?

Thanks

Cliff

31 Jul 2015, 12:18 PM
#508
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Winchester Responsive

cliffvt:

Anne

please can you assist - I have installed the "hide categories" plugin but I don't know how to get the top "Categories" menu on Winchester Responsive not to show the hidden categories. Can you tell me what code I need to change/insert and where, please?

Thanks

Cliff

I can not give you any specifics because I have not used that plugin. The top categories menu uses the ul generator in includes/classes/categories_ul_generator.php and the includes/templates/winchester_responsive/templates/tpl_modules_mobile_categories_tabs.php.

Thanks,

Anne

31 Jul 2015, 12:28 PM
#509
cliffvt avatar

cliffvt

Zen Follower

Join Date:
Jul 2009
Posts:
100
Plugin Contributions:
0

Re: Winchester Responsive

picaflor-azul:

I can not give you any specifics because I have not used that plugin. The top categories menu uses the ul generator in includes/classes/categories_ul_generator.php and the includes/templates/winchester_responsive/templates/tpl_modules_mobile_categories_tabs.php.

Thanks,

Anne

Anne

I found this plugin recommended on your website at https://www.picaflor-azul.com/hide-categories-zen-cart-plugin so I assumed that you would also therefore had made it work with your templates, else why would you recommend it...

Are you able to quote me for adapting/customising your template to work with this please? After which I will gladly donate it back to the community to use free-of-charge.

regards

Cliff

31 Jul 2015, 1:41 PM
#510
cliffvt avatar

cliffvt

Zen Follower

Join Date:
Jul 2009
Posts:
100
Plugin Contributions:
0

Re: Winchester Responsive

OK I made it work myself. For anyone else wishing to do make the hide categories plugin work with the responsive templates, this is what I changed:

in*** includes/classes/categories_ul_generator.php ***around lines 43 to 48

I changed:

 $categories_query = "select c.categories_id, cd.categories_name, c.parent_id
                                        from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd
                                        where c.categories_id = cd.categories_id
                                        and c.categories_status=1 " .
                                        " and cd.language_id = '" . (int)$_SESSION['languages_id'] . "' " .
                                        " order by c.parent_id, c.sort_order, cd.categories_name";

to:

$categories_query = "select c.categories_id, cd.categories_name, c.parent_id
                                        from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd," . TABLE_HIDE_CATEGORIES . " cde
                                         where c.categories_id=cd.categories_id and c.categories_id=cde.categories_id and cd.language_id='" .  (int)$_SESSION['languages_id'] . "' and c.parent_id= '0' and c.categories_status='1' and cde.visibility_status < 2 OR cde.visibility_status IS NULL;
                                        " order by c.parent_id, c.sort_order, cd.categories_name";

An voila! the hidden categories do NOT show up under the "Category" menu heading.

CAUTION: After install of the plugin you have to physically edit each of your categories and save them, whether or not they are hidden.

Cheers

Cliff

31 Jul 2015, 2:47 PM
#511
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Winchester Responsive

cliffvt:

OK I made it work myself. For anyone else wishing to do make the hide categories plugin work with the responsive templates, this is what I changed:

in*** includes/classes/categories_ul_generator.php ***around lines 43 to 48

I changed:

$categories_query = "select c.categories_id, cd.categories_name, c.parent_id
from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd
where c.categories_id = cd.categories_id
and c.categories_status=1 " .
" and cd.language_id = '" . (int)$_SESSION['languages_id'] . "' " .
" order by c.parent_id, c.sort_order, cd.categories_name";

> 
> to:
> 
> ```php
$categories_query = "select c.categories_id, cd.categories_name, c.parent_id
                                        from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd," . TABLE_HIDE_CATEGORIES . " cde
                                         where c.categories_id=cd.categories_id and c.categories_id=cde.categories_id and cd.language_id='" .  (int)$_SESSION['languages_id'] . "' and c.parent_id= '0' and c.categories_status='1' and cde.visibility_status < 2 OR cde.visibility_status IS NULL;
                                        " order by c.parent_id, c.sort_order, cd.categories_name";

An voila! the hidden categories do NOT show up under the "Category" menu heading.

CAUTION: After install of the plugin you have to physically edit each of your categories and save them, whether or not they are hidden.

Cheers

Cliff

I am happy that you figured it out ;)

Thanks,

Anne

1 Aug 2015, 5:08 PM
#513
videoseconds avatar

videoseconds

New Zenner

Join Date:
Aug 2015
Location:
Valencia Spain
Posts:
17
Plugin Contributions:
0

Re: Winchester Responsive

Hello and thank you for a beautiful and easy to use responsive theme. Along with the lastest update do zen I added your theme to bring the site into the new age of responsive.

I have found your documentation pretty extensive and useful. Found just about everything I needed to edit without a problem EXCEPT:
The product display pages.
There is a variation to them and I am not that happy with it.
I have put 2 jpg screen grabs
I really like the layout of the right image example (the tabbed product display) :yes: but find, for no reason I can figure out, the layout changes to what is shown in the left image page example :no: for many other product pages in the same category. I notice the product name is below the image of the section without the tabs and is on top of everything on the tabbed. It is another thing I like with the tabbed version.
Both examples are of digital download files and are in the same category. In fact the right image here is found after looking at the non-tabbed one on the left when using the next button.
I really love how you use the tabs to give information rather than have them scroll the screen :D.
How can I make sure all products use the tab layout as shown in the image on the right (tabbed display)??? :unsure:

Rick

1 Aug 2015, 5:30 PM
#514
videoseconds avatar

videoseconds

New Zenner

Join Date:
Aug 2015
Location:
Valencia Spain
Posts:
17
Plugin Contributions:
0

Re: Winchester Responsive

videoseconds:

Hello and thank you for a beautiful and easy to use responsive theme. Along with the lastest update do zen I added your theme to bring the site into the new age of responsive.

I have found your documentation pretty extensive and useful. Found just about everything I needed to edit without a problem EXCEPT:
The product display pages.
There is a variation to them and I am not that happy with it.
I have put 2 jpg screen grabs
I really like the layout of the right image example (the tabbed product display) :yes: but find, for no reason I can figure out, the layout changes to what is shown in the left image page example :no: for many other product pages in the same category. I notice the product name is below the image of the section without the tabs and is on top of everything on the tabbed. It is another thing I like with the tabbed version.
Both examples are of digital download files and are in the same category. In fact the right image here is found after looking at the non-tabbed one on the left when using the next button.
I really love how you use the tabs to give information rather than have them scroll the screen :D.
How can I make sure all products use the tab layout as shown in the image on the right (tabbed display)??? :unsure:

Rick

I noticed the URL's that work right are like this
/shop/index.php?main_page=product_info&cPath=5_11&products_id=14

The ones that do not operate right have urls like this:
/shop/index.php?main_page=product_music_info&cPath=5_11&products_id=71

I am not sure why some concerts have different urls except entered by different people and something not checked properly. But they should all display with your fabulous tabs. So... how?

1 Aug 2015, 6:19 PM
#515
videoseconds avatar

videoseconds

New Zenner

Join Date:
Aug 2015
Location:
Valencia Spain
Posts:
17
Plugin Contributions:
0

Re: Winchester Responsive

I think I found the fix, at least it seems to be working for me.
I copied tpl_product_info_display.php to a new file called tpl_product_music_info_display.php AND IT WORKED!
I guess I have to create that file for all different types of products?
It now seems to fix that issue. Did I do this right or will it break later? I am not sure my logic worked here or just luck.
Rick

2 Aug 2015, 8:10 PM
#516
cliffvt avatar

cliffvt

Zen Follower

Join Date:
Jul 2009
Posts:
100
Plugin Contributions:
0

Re: Winchester Responsive

Anne

On our site at https://ticketbasket.co.uk/index.php?main_page=login suddenly when a customer clicks on "SIGN UP" it just doesn't work - everything else works, including logging in, but just no new customers can sign up.

I am not sure where to look - have tried everything I can - anyway you can help please? It worked fine before, not sure why it stopped now.

Cheers

Cliff

2 Aug 2015, 9:38 PM
#517
dbltoe avatar

dbltoe

Totally Zenned

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

Re: Winchester Responsive

Just a quick guess is that the form is holding on to an old Zenid

2 Aug 2015, 10:10 PM
#518
cliffvt avatar

cliffvt

Zen Follower

Join Date:
Jul 2009
Posts:
100
Plugin Contributions:
0

Re: Winchester Responsive

dbltoe:

Just a quick guess is that the form is holding on to an old Zenid

Thanks for trying - but I am not sure what that means? I even tried turning off split login, still no joy. Worst is it worked fine up to a day ago..

Thanks

Cliff

2 Aug 2015, 10:18 PM
#519
dbltoe avatar

dbltoe

Totally Zenned

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

Re: Winchester Responsive

Take a look at the page using something like firebug for Mozilla's Firefox. You'll find a Zenid that never changes. That id is used by Zen Cart to identify who is currently using the system. If it is not correct, things won't work correctly. Pick out the first eight digits and see if the developers toolkit will find the hard-coded item.

2 Aug 2015, 11:16 PM
#520
cliffvt avatar

cliffvt

Zen Follower

Join Date:
Jul 2009
Posts:
100
Plugin Contributions:
0

Re: Winchester Responsive

Appreciate the help but I honestly think it has something to do with jquery... I see the slider on the homepage is also now sitting at the bottom of the page and has lost it's sliding ability.... But I will try your suggestion too, thanks.