close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


pricing display in powerstore 4

Thread began 11/03/2011 4:21 am by studio366170 | Last modified 11/03/2011 6:02 pm by studio366170 | 559 views | 3 replies |


pricing display in powerstore 4

Hi, Just wondering if there is any way to have only the dollar value display, and not the cents..

instead of having 25.00

it would display


(a client wants to be able to do this. seems odd, but is there a way to do it?)

Thanks in advance!

Sign in to reply to this post


Please help... desparately need advice on how to do this !


Sign in to reply to this post

Jason ByrnesWebAssist

This is not supported in power store, you would need to manually edit the code for every page that displays a price to change the number format.

for example, the featured product on the index page is generated in the webassist/plugins/catalog/featuredbox.php file using this code:

<?php echo(($row_FeaturedRS)?(number_format($row_FeaturedRS['ProductPrice'],2)):"24.99"); ?>

you would need to edit the number format to 0:

<?php echo(($row_FeaturedRS)?(number_format($row_FeaturedRS['ProductPrice'],0)):"24"); ?>

there are to many other places where a price is displayed to list them all for you.

Sign in to reply to this post


Thanks Jason! I think it makes more sense to have the cents anyway..... :)


Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...