osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Help help help = Category listing output

This is a discussion on Help help help = Category listing output within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I posted this at the official site and didn't get an answer. I've looked in every database and nearly every ...


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 11-25-2002, 07:03 PM
Anonymous
Guest
 
Posts: n/a
Default Help help help = Category listing output

I posted this at the official site and didn't get an answer. I've looked in every database and nearly every php file. I've read the documentation and searched both boards.

All I want to do is change the look of the output when you click on a category link. It has alternating color rows; it shouldn't be so hard to find. Why is it not a box file? If I were to create a box file for it, once I find the code, where would I include it on the index file?

It has to be on the index because it's querying through it. Please please, someone please tell me where to find the code for the output of the categories.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 11-25-2002, 07:23 PM
Anonymous
Guest
 
Posts: n/a
Default

The one file you missed - stylesheet.css
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 11-25-2002, 07:27 PM
Anonymous
Guest
 
Posts: n/a
Default

Right right. I see all the pretty colors, the odd and even thing, but what is calling to that and from where exactly in the page?

I want to squish the boxes so that three products are displayed side by side with the words underneath them. I'll know what to do when I get there, but where is the code for that?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 11-25-2002, 09:07 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,078
Thanks: 81
Thanked 348 Times in 327 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

There is a mod for this already at oscommerce.com. You should check it out. Here is the link:

http://www.oscommerce.com/downloads....ons,166/type,3
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • 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. Default multi server configuration for exceptional performance!

  • 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 11-25-2002, 10:25 PM
Anonymous
Guest
 
Posts: n/a
Default

Heck yeah! Wonderful. Thank you.

I'm not sure what version I have because it came from my host, but for future reference, I had to make hacks to it. I do have Buy Now enabled and Images on.

Line 29 - 35
Switched
Code:
$listing_values['products_name'] = $listing_values['products_name'];
    $lc_text= '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $listing_values['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing_values['products_image'], $listing_values['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $listing_values['products_id']) . '">' . $listing_values['products_name'] . '</a><br>';
    if ($listing_values['specials_new_products_price']) {
             $lc_text .= ' <s>' .  $currencies->display_price($listing_values['products_price'], $listing_values['products_tax_class_id']) . '</s>  <span class="productSpecialPrice">' . $currencies->display_price($listing_values['specials_new_products_price'], $listing_values['products_tax_class_id']) . '</span> ';
            } else {
              $lc_text .= ' ' . $currencies->display_price($listing_values['products_price'], $listing_values['products_tax_class_id']) . ' ';
            }
TO

Code:
$listing_values['products_name'] = $listing_values['products_name'];
    $lc_text= '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $listing_values['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing_values['products_image'], $listing_values['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $listing_values['products_id']) . '">' . $listing_values['products_name'] . '</a><br>';
    if ($listing_values['specials_new_products_price']) {
             $lc_text .= ' <s>' .  $currencies->display_price($listing_values['products_price'], $listing_values['products_tax_class_id']) . '</s>  <span class="productSpecialPrice">' . $currencies->display_price($listing_values['specials_new_products_price'], $listing_values['products_tax_class_id']) . '</span> ';
            } else {
              $lc_text .= ' ' . $currencies->display_price($listing_values['products_price'], $listing_values['products_tax_class_id']) . ' ';
            }
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 11-25-2002, 10:27 PM
Anonymous
Guest
 
Posts: n/a
Default

Carp. Make that

FROM
Code:
    $listing_values['products_name'] = tep_get_products_name($listing_values['products_id']);
    $lc_text= '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $listing_values['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing_values['products_image'], $listing_values['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $listing_values['products_id']) . '">' . $listing_values['products_name'] . '</a><br>';
    if ($listing_values['specials_new_products_price']) {
              $lc_text .= ' <s>' .  $currencies->display_price($listing_values['products_price'], tep_get_tax_rate($listing_values['products_tax_class_id'])) . '</s>  <span class="productSpecialPrice">' . $currencies->display_price($listing_values['specials_new_products_price'], tep_get_tax_rate($listing_values['products_tax_class_id'])) . '</span> ';
            } else {
              $lc_text .= ' ' . $currencies->display_price($listing_values['products_price'], tep_get_tax_rate($listing_values['products_tax_class_id'])) . ' ';
            }
TO

Code:
$listing_values['products_name'] = $listing_values['products_name'];
    $lc_text= '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $listing_values['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing_values['products_image'], $listing_values['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $listing_values['products_id']) . '">' . $listing_values['products_name'] . '</a><br>';
    if ($listing_values['specials_new_products_price']) {
             $lc_text .= ' <s>' .  $currencies->display_price($listing_values['products_price'], $listing_values['products_tax_class_id']) . '</s>  <span class="productSpecialPrice">' . $currencies->display_price($listing_values['specials_new_products_price'], $listing_values['products_tax_class_id']) . '</span> ';
            } else {
              $lc_text .= ' ' . $currencies->display_price($listing_values['products_price'], $listing_values['products_tax_class_id']) . ' ';
            }
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
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
How to change number of columns inside category listing shirster osCMax v2 Customization/Mods 1 05-17-2006 03:45 AM
error output in printable catalog? doumawis osCMax v1.7 Installation 0 02-28-2005 01:54 AM
I want to show products in category listing misbell osCommerce 2.2 Modification Help 1 01-27-2005 07:33 PM
Creating "list price" listing category southwestseas osCommerce 2.2 Modification Help 0 06-30-2004 07:57 PM
Change in result output ... How ? aliharis2004 osCommerce 2.2 Modification Help 0 01-19-2004 06:15 PM


All times are GMT -8. The time now is 04:42 AM.


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