the buy now button on this page if too close to the price. how do i add a line break. What file do i need to edit.
http://proper-designs.com/catalog/index.php?cPath=25
This is a discussion on how do i add a line break before the buy now button within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; the buy now button on this page if too close to the price. how do i add a line break. ...
the buy now button on this page if too close to the price. how do i add a line break. What file do i need to edit.
http://proper-designs.com/catalog/index.php?cPath=25
I am assuming your getting the buy now buttons from a mod?
If so tell me which one so i can look at it and ill reply with the fix.
Red Fraggle
Clifton Murphy CEO/CTO
Hyperactive Inc.
osCommerce hosting, OSCMAX hosting, osCommerce modification, and OSCMAX modification specialists!
Hi,
Just edit line 88 of /includes/modules/product_listing_col.php
The original line is:
Just add a line break at the beginning of the $lc_text string:Code:$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>&nbsp;';
Code:$lc_text = '<br><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>&nbsp;';
Michael Sasek
osCMax Developer
osCmax installation service - Have our professionals install osCmax on your server - same day service!
osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0
Stay Up To Date with everything osCMax:
Free osCMax Newsletters - Security notices, New Releases, osCMax News
osCMax on Twitter - Up to the minute info as it happens. Know it first.
osCmax Documentation
Bookmarks