Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Remove Option Name from Shopping cart


coolguy

Recommended Posts

Hello,

 

I wish to remove the "Option Name" from showing up in the cart, only wish to show option value, I have seen some people doing it with oscommerce on live shops out there.

 

In this shop http://www.redinstead.com.au/index.php?mai...products_id=484

 

The Option name "size" is not visible in Cart, only Option Value is visble I am trying to achieve something like this.

 

Also donot show option name in orders on the admin side too.

 

any tips in this direction are greatly appreciated.

 

Thanks.

Link to comment
Share on other sites

open up your file product_info.php

 

in or around line 128 you will see TEXT_PRODUCT_OPTIONS

this is where the option display begins

 

a few lines below, 2 colums are displayed, the name and the value:

 

line 148-151 on a clean install

 

            <tr>
             <td class="main"><?php echo $products_options_name['products_options_name'] . ':'; ?></td>
             <td class="main"><?php echo tep_draw_pull_down_menu('id[' . $products_options_name['products_options_id'] . ']', $products_options_array, $selected_attribute); ?></td>
           </tr>

 

change it to:

 

            <tr>
             <td colspan="2" class="main"><?php echo tep_draw_pull_down_menu('id[' . $products_options_name['products_options_id'] . ']', $products_options_array, $selected_attribute); ?></td>
           </tr>

 

HTH

 

Monika

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...