Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PriceFormatter


Recommended Posts

I just took over a project and found that when you move beyond the standard display of a product into detail and "add to cart" an error shows:

 

Warning: Cannot modify header information - headers already sent by (output started at /home/awardand/public_html/includes/classes/PriceFormatter.php:1) in /home/awardand/public_html/includes/functions/general.php on line 30

 

Thanks in advance for any help on this.

Link to comment
Share on other sites

Warning: Cannot modify header information - headers already sent by (output started at /home/awardand/public_html/includes/classes/PriceFormatter.php:1) in /home/awardand/public_html/includes/functions/general.php on line 30

Line 1 in PriceFormatter.php? Does it start with a short tag (<?) instead of a regular php tag (<?php)?

Link to comment
Share on other sites

Line 1 in PriceFormatter.php? Does it start with a short tag (<?) instead of a regular php tag (<?php)?

 

The code on the page starts like:

 

<?php

/*

$Id: PriceFormatter.php,v 1.6 2003/06/25 08:29:26 petri Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

/*

PriceFormatter.php - module to support quantity pricing

 

Created 2003, Beezle Software based on some code mods by James Lee ([email protected]) (Thanks!)

*/

 

class PriceFormatter {

var $hiPrice;

var $lowPrice;

var $quantity;

var $hasQuantityPrice;

.....

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...