osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Need help with categories/descriptions

This is a discussion on Need help with categories/descriptions within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi, I'm working my way thorugh osC and definitely like it. I've been able to accomplish most of what I ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 06-24-2004, 02:28 AM
New Member
 
Join Date: Jun 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mhtrozzo
Default Need help with categories/descriptions

Hi,

I'm working my way thorugh osC and definitely like it. I've been able to accomplish most of what I want to do so far, but not yet all.

Does anyone have advice on this idea:

In the topmost category, I want to just have an intro page with a general overview of what the category is about. The items for sale would be in the subcategories. When I click on the subcategories, there'll be the listing of the items as there is (name, price, link to buy) in the default setup, but also the description of the item as shown when you click the individual item. Since I'd be doing it all on the subcategory page, I could probably get away with disabling the link to the individual item page (product_info.php). Something like:

Category1 --> Overview
Subcat1.1 --> Items Listing (w/description of each item)
Subcat1.2 --> Items Listing (w/description of each item)
Category2 --> Overview
Subcat2.1 --> Items Listing (w/description of each item)
...

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 06-24-2004, 07:09 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,568
Thanks: 1
Thanked 84 Times in 71 Posts
Rep Power: 10
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default

Have you looked at the MAX version? It already has this Catagory discription contribution already added- as well as several other great contributions....
__________________
JPF - osCMax Fourm Moderator
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 06-25-2004, 04:26 PM
New Member
 
Join Date: Jun 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mhtrozzo
Default

Thanks for the reply. I tried to download it from the site, but it took me around in circles...maybe a problem with the coding in the download link.

I found contributions that will do what I said above. However, I've been advised that something different is desired. What the owner (who also happens to be my wife ) wants is the following:

Category 1 --> Main category page w/links to subs (as it is now); can have description if needed
--Page with descriptive overview of entire category (this link to show up and look like a subcategory)
--subcat --> Items Listing (w/description of each item) // have the contrib for this
--subcat --> Items Listing (w/description of each item)
Category 2
--Overview
--Subcat
--Subcat
...


I'm going to poke around a bit on this...I searched the contributions and didn't have luck. Do you (or anyone els who may read this) know of any contrib that might do the trick? I'm honestly trying to avoid having to attempt writing the contrib myself, but if I have to bite the bullet...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 06-25-2004, 07:37 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,330
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

Turn off your software firewall, it prevents you from downloading oscmax. Then you will be able to get it.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 06-26-2004, 09:07 AM
New Member
 
Join Date: Jun 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mhtrozzo
Default

Good news: The poking around was successful. I made a new subcategory that will be the overview page. I commented out the following in product_listing.php:

/*else {
$list_box_contents = array();

$list_box_contents[0] = array('params' => 'class="productListing-odd"');
$list_box_contents[0][] = array('params' => 'class="productListing-data"',
'text' => TEXT_NO_PRODUCTS);

new productListingBox($list_box_contents);
}*/

By disabling this, I don't get the message saying 'There are no products in this category'. Since the only categories that will have no items are the ones that will be devoted to overviews, I have no problem with this. By using the Category Description contribution, I can write the HTML that will be the body of the overview page.

SWMBO* is very happy.

Thanks for the help!


-------
*SWMBO: She Who Must Be Obeyed
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 06-26-2004, 11:19 AM
Active Member
 
Join Date: May 2004
Location: worcester ma
Posts: 162
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
fridgemags
Default

mhtrozzo,

Can you put your site address so i can see what you did?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 06-28-2004, 11:12 AM
New Member
 
Join Date: Jun 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mhtrozzo
Default

fridgemags,

Right now, I only have it on my local server. I'll be going away for a week, but when I get back, I'll be bringing it live. I'll make sure to message you with the address so you can see it.

I also used the Products Short Description contribution, which puts a short description (!) of the items on the category page. I tweaked it so that the description is under the item name and put a "more>>>" link in.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Product Descriptions coblasingame osCMax v1.7 General Mods Discussion 1 01-29-2006 12:26 PM
Product descriptions not appearing crispin osCMax v2 Installation issues 2 11-04-2005 11:18 PM
Adding wysiwyg to Categories Descriptions red_fraggle osCMax v1.7 General Mods Discussion 1 08-17-2005 12:15 PM
Different descriptions for one tax rate? Lynoure osCMax v1.7 Discussion 2 02-17-2004 02:49 AM
[BugFix] v1.5 Category Descriptions Bug michael_s osCMax v1.7 Discussion 0 09-25-2003 10:50 PM


All times are GMT -8. The time now is 06:10 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax