• Resolved dudlaj

    (@dudlaj)


    Hello,
    I am building a page for a nadation and as a part of the project will be used Wp Crowdfunding for accepting donations so the childern dreams can become true…
    Is there a simple way to move currency after the amount field with space = right with space as we can setup in woocommerce.
    The code is located in the \wpcftemplate\woocommerce\basic\include\fund-campaign-btn.php – is it maybe possible to overide plugin core files as we can do in WooCommerce?
    Thx for any kind of support while solving this problem.
    dUDLAJ

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello @dudlaj,

    If you are using latest version of WPCF plugin and woocommerce and if you change currency position from woocommerce settings > general > currency options then it should change on the frontend campaign page as well accordingly.

    Thread Starter dudlaj

    (@dudlaj)

    Hello Munayam,
    thx for your answer. I am using latest versions of everything ?? but I can not confirm that it works as you described.

    In WooCommerce settings I have setup currency position right with space – as we can see on the price of a single product – https://nadacnifondgratia.cz/produkt/kabelka/

    On the product page of crowdfunding product it also working – https://nadacnifondgratia.cz/produkt/tabor-pro-pepicka-7-000-kc/ – but only on price display. The problem is the input field where users can enter the price – there is the price symbol before the input box.

    Before installing WP Crowdfunding I have setup also a Name your price product (donation product) – but here I have my setup of display – so it works as expected – https://nadacnifondgratia.cz/produkt/dar-nadacnimu-fondu-gratia/ – so K? (czeck crown code in Czech language) is behind the input filed = right with space.

    Thx for your support

    Best regards

    dUDLAJ

    Hello,

    You can navigate to the following file

    /wp-content/plugins/wp-crowdfunding/wpcftemplate/woocommerce/basic/include/fund-campaign-btn.php

    And cut, paste the line of code

    
    <?php echo get_woocommerce_currency_symbol(); ?>
    

    from line 50 to below the input field to line 53. This will displace the currency symbol to the right of the input field.

    Thread Starter dudlaj

    (@dudlaj)

    Hello Munayam,
    thx for you answer. This fix means that after each upgrade it will have to be reaplied.
    So if I understand this correctly there is actually no way how to override core plugin files?
    Thx again for your support and for the great plugin. I am actually working also on a hand made translation to czech language. On what e-mail shall I send the translation files?

    Best regards
    dUDLAJ

    Hello @dudlaj,

    You can override an entire template from a child theme.

    You can contribute translations here

    Thread Starter dudlaj

    (@dudlaj)

    Hello Munayam,
    thx for your answer and sry for my delay ..
    When I was working on the translation I found that this frontend string is missing in translation – %s days remaining
    You can see it here: https://nadacnifondgratia.cz/burza-dobrych-skutku/
    Thx for adding it to the .pot file
    Best regards
    dUDLAJ

    Hello @dudlaj,

    Thanks for bringing this to our attention. We will surely add it to .pot file in our upcoming update.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Currency position’ is closed to new replies.