Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding a "More Details" column to the Product Listing


makphisto

Recommended Posts

I'm finding that, for some of my customers, there is some difficulty navigating my site. The get to the "Product Listing" of a catagory, and then they're stuck. I show the following columns - Manufacturer, Product Name, Model, Price, Weight, and Buy Now. It seems like people don't KNOW to click the Product Name to get more details about the product. And they don't want to "Buy Now" without those details...

 

I need to either:

- add another column in which I can have a text link or graphic that says "Details" that, when clicked, takes them to the product_info.php, OR

- alter the "Buy Now" column to do the same (my customers don't Buy Now, they almost always want to see the details first, THEN add to cart).

 

Help? Thanks!

Link to comment
Share on other sites

Search the contribution area for solution. There are plenty of ways to add more information to product listing

 

 

Thanks.

Let me ask it this way - how can I change the link that is associated with "Buy Now" to the SAME link that is associated with clicking the Product Name?

Link to comment
Share on other sites

Thanks.

Let me ask it this way - how can I change the link that is associated with "Buy Now" to the SAME link that is associated with clicking the Product Name?

 

 

Ooooookay. How about this - under my product name, I would like it to say "More Details" with a link to the actual product. So say my product name is "large widget" (and that name is a link the product), right under that in the same row/column, I want it to say "More Details" to the same link. There HAS to be a way, but I've been thru the files and I can't figure it out.

Link to comment
Share on other sites

Thanks.

Let me ask it this way - how can I change the link that is associated with "Buy Now" to the SAME link that is associated with clicking the Product Name?

Open /includes/modules/product_listing.php and find:

case 'PRODUCT_LIST_BUY_NOW':

$lc_align = 'center';

$lc_text = '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing['products_id']) . '">' . tep_image_button('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW) . '</a> ';

break;

}

 

Change to:

case 'PRODUCT_LIST_BUY_NOW':

$lc_align = 'center';

$lc_text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . tep_image_button('button_details.gif', 'Details') . '</a> ';

break;

}

 

Of course, this also means that you will need to create a button.details.gif button and upload it to: /includes/languages/english/images/buttons/

 

You should also change the header which reads "Buy Now" to say something like "Details" which I believe is in youe english.php file.

 

-Priest-

Link to comment
Share on other sites

Open /includes/modules/product_listing.php and find:

Change to:

Of course, this also means that you will need to create a button.details.gif button and upload it to: /includes/languages/english/images/buttons/

 

You should also change the header which reads "Buy Now" to say something like "Details" which I believe is in youe english.php file.

 

-Priest-

 

 

Woo hoo! Thank you!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...