Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-09-2012, 08:00 AM   PM User | #1
andersedvardsen
New Coder

 
Join Date: Oct 2011
Location: Norway
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
andersedvardsen is an unknown quantity at this point
Listing product categories from WP e-Commerce – PHP string

Hello,

I am making an eCommerce-solution at this URL: http://skaugsport.effektivhjemmeside.no

I am using Wordpress 3.4.2, the "Elegant Themes"-theme Boutique 2.5. and the shopping cart plugin from http://www.getshopped.com, WP e-Commerce 3.8.8.5.

Here is my problem:

The store has about 110 product categories if you add up all the main and sub categories. When i am using the menu-option in Wordpress admin-panel i am not able to save my menu when it exceeds about 60 menu items. The saving process fails, and mye menu is set back to how i looked last time i was able to save. I have narrowed it down to beeing about 58–64 menu items that is the limit.

I haved talked to my ISP about solving this problem by setting a longer allowed save time before the servers cancel the action (this is a field i know nothing about, but i googled up this as a probable solution). The answer was that this could not be done/allowed due to safty issues. The tip they gave me thoug was to hardcode a PHP-code that wrote out all my product categories directly for me and not use the Wordpress menu system.

I was wondering if anyone can help me out, as i do not know how to code this in PHP. I need the PHP-code that outputs mye product categories and subcategories with names and URLs so that i can make a menu of them, and style it using CSS.

The product categories are not the "same" as the Wordpress default post categories. The product categories are an addition you get by using the WP e-Commerce plugin, so the code would need to target thoose categories, not Wordpress default.

Anyone able to help me out?
Anders
andersedvardsen is offline   Reply With Quote
Reply

Bookmarks

Tags
categories, e-commerce, php, product, wordpress

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:47 AM.


Advertisement
Log in to turn off these ads.