osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

how do i add a line break before the buy now button

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


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 12-10-2003, 11:28 AM
New Member
 
Join Date: Dec 2003
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
bagged89s10
Default how do i add a line break before the buy now button

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 03-04-2004, 01:22 AM
red_fraggle's Avatar
Active Member
 
Join Date: Feb 2004
Location: wilmington, NC
Posts: 319
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
red_fraggle
Default

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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 03-04-2004, 09:20 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,329
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

Hi,

Just edit line 88 of /includes/modules/product_listing_col.php

The original line is:
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> ';
Just add a line break at the beginning of the $lc_text string:

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> ';
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
add to cart button and detail button show on main page jikey osCMax v2 Customization/Mods 1 01-14-2007 05:13 PM
Break <br> tag don't break line kestas osCommerce 2.2 Modification Help 1 01-16-2006 08:30 PM
Price Break Integration ganast osCMax v1.7 General Mods Discussion 3 12-22-2004 01:47 PM
price-break-1.11 with ms2-max 1.5.5 fridgemags osCMax v1.7 General Mods Discussion 3 06-03-2004 05:47 AM
Automatically break a results set over multiple pages Anonymous osCMax v1.7 Discussion 0 04-02-2004 12:27 PM


All times are GMT -8. The time now is 11:04 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax