Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Move Product Attributes


nitrorc

Recommended Posts

To move the product attributes selection box to the top of the product description so your customers don't have to scroll all the way to the end to make their selection do the following.

 

In catalog/product_info.php go to line 131 (or so) and find:

 

<p><?php echo stripslashes($product_info['products_description']); ?></p>

 

comment out this line or delete it entirely.

 

Move this line below line 168 after

 

<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>

<?php

}

?>

</table>

<?php

}

?>

/*------> Insert Line Here*/ <p><?php echo stripslashes($product_info['products_description']); ?></p>

 

 

Viola! Your product attributes selection is now at the top of the product description!

When you have eliminated the impossible, whatever remains, however improbable, must be the truth.

-Sherlock Holmes

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...