808smokey Posted April 9, 2004 Posted April 9, 2004 Hello, I apologize if this has been asked b4 but I was unable to find anything through a search. But I would like to add the "reviews & Add to cart" buttons, located at the bottom of each product page, to the top. Right below the Item name. WIll someone please point me in the right direction? Thanks for the help :)
Urbluffingme Posted April 9, 2004 Posted April 9, 2004 You can just add this table row to to the top of the html table in product_info.php <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td> <td class="main" align="right"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr>
808smokey Posted April 9, 2004 Author Posted April 9, 2004 Hi, thanx for the reply I pasted that in the php file and it didn't do anything, not even an error??
Urbluffingme Posted April 9, 2004 Posted April 9, 2004 I copied that from product_info.php from Milestone 2.2ms2. You have to make sure you paste it inside the table tags. You also have to make sure that the image names are the same as the file you are using. Are you familiar with html?
808smokey Posted April 9, 2004 Author Posted April 9, 2004 I got it, kinda :huh: how can i make it align on top of click to enlarge box? example My Webpage thanx
808smokey Posted May 5, 2004 Author Posted May 5, 2004 I got it, kinda :huh: how can i make it align on top of click to enlarge box?example My Webpage thanx Anyone know how to do this??
Recommended Posts
Archived
This topic is now archived and is closed to further replies.