Appnitro Software Forums » MachForm

Price field question

(4 posts)
  • Started 2 months ago by webcommerce
  • Latest reply from webcommerce

  1. Hello,

    I have managed to remove the cents box from the price field in ./includes/view_functions.php

    However, there remains the separator ('.') after the $ box.
    How do I get rid of the separator?

    Thanks.
    Ron S

    Posted 2 months ago #
  2. Any thoughts anyone please??

    Ron S

    Posted 2 months ago #
  3. It should be the same place where you have removed the cents box.
    Few lines above it.

    Exactly on line 868 you should see this:

    <input id="element_{$element->id}_1" name="element_{$element->id}_1"
    class="element text currency" size="10" value="{$element->populated_value['element_'.$element->id.'_1']['default_value']}"
    type="text" /> .

    remove the dot at the end of that line.

    Posted 2 months ago #
  4. Yep ... that worked, thanks Yuniar.

    Funny, I did that yesterday and it didn't work. When I went in to the file again today the dot was still there - I mustn't have saved the file correctly, silly me....

    Posted 2 months ago #

RSS feed for this topic

Reply

You must log in to post.