Print Page | Close Window

Code to create categories menu with expanding subs

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=2484
Printed Date: 19-May-2024 at 11:49am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Code to create categories menu with expanding subs
Posted By: onotoman
Subject: Code to create categories menu with expanding subs
Date Posted: 13-February-2009 at 2:58pm
Hi Guys,
 
Has anyone created some code or modified the code:
 
Dynamic Navigation (ProductCart v2.76):
  • Expand/collapse categories & subcategories

We've tried this code with V3.51 but it throws all sorts of errors in pages.

Any information greatly appreciated.  It'll save us 're-inventing the wheel' if someone has already done some work on this.
 
 



Replies:
Posted By: Greg Dinger
Date Posted: 13-February-2009 at 3:04pm
I am well accustomed to altering that code in v3, but have not looked at the v2 code in a long time.  What exactly do you want to do?

-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: onotoman
Date Posted: 13-February-2009 at 3:36pm
Hi Greg,
 
Thanks for the reply
 
Just like this menu in the leftbar (which just uses the script as is)
 
http://www.gpsinstallations.co.uk/shop/pc/viewcategories.asp - http://www.gpsinstallations.co.uk/shop/pc/viewcategories.asp  - but you can see one of the errors in the main page area.
 
Best wishes
 
 


Posted By: onotoman
Date Posted: 13-February-2009 at 3:42pm

Hi Greg,

I'm not sure whether I've made myself clear?  I want to use the expanding subs menu code created for v2.73 with the site that uses v3.51 version of ProductCart.

Best Wishes



Posted By: Hamish
Date Posted: 13-February-2009 at 3:51pm
If you mean the errors like :
Our Products: Security Equipment > CCTV Warning Signs

Microsoft VBScript runtime error '800a01a8'

Object required

/shop/pc/pcShowCatDiscIcon.asp, line 17

That's not from the menu, it looks like there are errors related to your upgrade.
I suggest switching off your store straight away, it's non functioning anyway as far as I can tell.
Carefully check you followed all the upgrade steps, that all the files were uploaded OK and the DB update ran OK. Also that you have the permissions set correctly for the folders. If you still can't resolve the issue then please raise a support ticket.





-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: Greg Dinger
Date Posted: 13-February-2009 at 3:58pm
So are you saying you wish to use the V2 style category navigation on a V3 store?

-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: onotoman
Date Posted: 13-February-2009 at 4:02pm
Hi,
 
I did put a support ticket through - but the ProductCart guys said the errors were due to our code and we'd need to fix this first.
 
Thanks
 
Dave


Posted By: onotoman
Date Posted: 13-February-2009 at 4:03pm
Yes, we just want to use the V2 style menu code with V3.52 - unless there is something better?


Posted By: Greg Dinger
Date Posted: 13-February-2009 at 5:14pm
Dave - Hamish and I are debating still over precisely what you are asking for.   That's probably already clear, but let me re-state for clarity.
 
The v2 generated menu has a slightly different visual appearance and operation, and the v3 menu added the +- icons.  We note that you have the v3 menus in the store you linked to above.  So I apologize for repeating the question, but you do want to substitute the v3 menu that is there now and run the v2 menu?
 
Assuming that is the case, any of the developers around here, myself included, could likely set up your site to accomodate such a request.  If you wish us to work on this for you please e-mail me directly.
 
Hamish points out that it appears something has gone badly while upgrading your store.  If you have a backup of the v2 store, and wish assitance in resolving the upgrade, we might be able to assist.


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: onotoman
Date Posted: 13-February-2009 at 5:18pm
Hi Hamish, Greg,
 
We've really no preference at all, all we need is a collapsible menu and the store working fine.  The V3 menu would be absolutely fine, but we just loaded the code from the EI site (which is flagged as being V2.75)
 
Best Wishes
 
Dave



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net