PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Decimals in Quantity Field (Header output error)

  1. I am trying to get my quantity field to allow decimals (we are charging by the hour, so we need 1.5, 2.5, etc to be options)

    I referred to another post that suggested I copy/paste the code to my Theme's functions.php file from this link: http://gravitywiz.com/2012/05/10/enable-decimal-values-in-quantity-fields/

    However I am getting a header output error and now the entire site is down. This is my error:

    Warning: Cannot modify header information - headers already sent by (output started at /homepages/25/d420306737/htdocs/KSS Website/wp-content/themes/thestation/functions.php:30) in /homepages/25/d420306737/htdocs/KSS Website/wp-includes/pluggable.php on line 881

    How do I fix?! Thanks!

    Posted 8 years ago on Monday July 16, 2012 | Permalink
  2. Resolved. Please close this post. Thanks!

    Posted 8 years ago on Monday July 16, 2012 | Permalink
  3. David Peralty

    Most likely there is a small error in your functions.php file. You will need to download it using FTP access, and make a change to it. How you will need to change it, I won't know until I've seen what customizations you've made to the script. Can you post your functions.php file on pastebin or something similar and link it to me? For now, until we can get this sorted out, your best bet to get your site running is to remove the script from Gravity Wiz from your functions.php file.

    Posted 8 years ago on Monday July 16, 2012 | Permalink
  4. David Peralty

    Or you've solved it yourself faster than I can post a response... have a great day!

    Posted 8 years ago on Monday July 16, 2012 | Permalink

This topic has been resolved and has been closed to new replies.