Total : 0.00 €

Before contacting us, please make sure to check our F.A.Q

Please, login or register to our website in order to be able to post a presale question in the forum.

× WooPrice Calculator PRO

[SOLVED] Required Field & Output Text

More
1 year 4 months ago #451 by Enrico
Enrico replied the topic: [SOLVED] Required Field & Output Text
Hi pakadg,

This feature is now available in 2.0.4

Text or numeric output is automatically detected

Best regards,
Enrico

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago - 1 year 4 months ago #438 by Enrico
Enrico replied the topic: [SOLVED] Required Field & Output Text
Hi pakadg,

I don't know when the next release will be available (I think the end of the month), but you need to:

admin/awspricecalculator/Helper/CalculatorHelper.php, function calculatePriceAjax:

change from:
$value = number_format($fieldResult, $decimals, $decimalSeparator, $thousandSeparator);

to:
                    if(is_numeric($fieldResult)){
                        $value                          = number_format($fieldResult, $decimals, $decimalSeparator, $thousandSeparator);
                    }else{
                        $value                          = $fieldResult;
                    }

Please make a backup of the file before edit it.

Best regards,
Enrico
Last Edit: 1 year 4 months ago by Enrico.

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago #434 by pakadg
pakadg replied the topic: [SOLVED] Required Field & Output Text
hi,

probably when you will released text as an output?

or could you can give some guide /how tos so I can do it by myself.

Thank you very much.

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago #423 by pakadg
pakadg replied the topic: [SOLVED] Required Field & Output Text
Ok we'll do it for you because it's not that hard. Please if you want after we developed it, make us a donation.
---
Sure, if your team create this awesome plugin more better and keep upgrading while listening your customer. I believe not only me who will make donation but everyone will buy your plugin because your plugin add value to other.

Thank you

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago #417 by Enrico
Enrico replied the topic: [SOLVED] Required Field & Output Text
Hi,

1. If it's a numeric number you can setup Maximum/Minimum values. If it is a List/Radio, we're developing this feature and should be ready with this month or the next one.
2. Ok we'll do it for you because it's not that hard. Please if you want after we developed it, make us a donation

Best regards,
Enrico

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago - 1 year 4 months ago #410 by pakadg
pakadg created the topic: [SOLVED] Required Field & Output Text
Hi,

I want to ask 2 question :

1. How to make field required? So when add to cart, it will not calculate / checkout before the required field filled.
2. I load xlsx as calculator, but as we know, in excel not all output based on numeric. Can I using text as an output? So it will show the text in the field rather than numeric type.

Thank you for your awesome plugin.
Last Edit: 1 year 4 months ago by pakadg.

Please Log in or Create an account to join the conversation.

Moderators: david
Time to create page: 1.595 seconds

Cart

Total : 0.00 €