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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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. |
| Sponsored Links | ||
| ||
| |
|
#2
| |||
| |||
| The one file you missed - stylesheet.css |
|
#3
| |||
| |||
| 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? |
|
#4
| ||||
| ||||
| 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
|
|
#5
| |||
| |||
| 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 .= '&nbsp;<s>' . $currencies->display_price($listing_values['products_price'], $listing_values['products_tax_class_id']) . '</s>&nbsp;&nbsp;<span class="productSpecialPrice">' . $currencies->display_price($listing_values['specials_new_products_price'], $listing_values['products_tax_class_id']) . '</span>&nbsp;';
} else {
$lc_text .= '&nbsp;' . $currencies->display_price($listing_values['products_price'], $listing_values['products_tax_class_id']) . '&nbsp;';
}
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 .= '&nbsp;<s>' . $currencies->display_price($listing_values['products_price'], $listing_values['products_tax_class_id']) . '</s>&nbsp;&nbsp;<span class="productSpecialPrice">' . $currencies->display_price($listing_values['specials_new_products_price'], $listing_values['products_tax_class_id']) . '</span>&nbsp;';
} else {
$lc_text .= '&nbsp;' . $currencies->display_price($listing_values['products_price'], $listing_values['products_tax_class_id']) . '&nbsp;';
}
|
|
#6
| |||
| |||
| 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 .= '&nbsp;<s>' . $currencies->display_price($listing_values['products_price'], tep_get_tax_rate($listing_values['products_tax_class_id'])) . '</s>&nbsp;&nbsp;<span class="productSpecialPrice">' . $currencies->display_price($listing_values['specials_new_products_price'], tep_get_tax_rate($listing_values['products_tax_class_id'])) . '</span>&nbsp;';
} else {
$lc_text .= '&nbsp;' . $currencies->display_price($listing_values['products_price'], tep_get_tax_rate($listing_values['products_tax_class_id'])) . '&nbsp;';
}
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 .= '&nbsp;<s>' . $currencies->display_price($listing_values['products_price'], $listing_values['products_tax_class_id']) . '</s>&nbsp;&nbsp;<span class="productSpecialPrice">' . $currencies->display_price($listing_values['specials_new_products_price'], $listing_values['products_tax_class_id']) . '</span>&nbsp;';
} else {
$lc_text .= '&nbsp;' . $currencies->display_price($listing_values['products_price'], $listing_values['products_tax_class_id']) . '&nbsp;';
}
|
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| 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 |