Altos
Forum Replies Created
-
Forum: Plugins
In reply to: [WooPrice Calculator] “Default Option” is not working properlySorry but I think your request has been misunderstood. This is not a bug, it’s the normal behavior of the plugin. At the moment WPC doesn’t allow for empty dropdown elements.
But could be more then one ways to do that:
1) You could create a list element like “–Select–” with a “0” value.
2) This is the best solution for you, but more complex: you could use the custom themes to create an empty list element: https://altoswebsolutions.com/manual/woo-price-calculator/using-themesIf you need more information about custom themes you could write here: https://altoswebsolutions.com/contact-us
Forum: Plugins
In reply to: [WooPrice Calculator] Minimal PriceHello
Yes, I think you can do it:
For free version you will need to use some coding in PHP in your functions.php file. This is an example:function filter_custom_wpc_add_to_cart_validation($bool, $product_id, $quantity){ if($product_id == 40){ $width = $_REQUEST['aws_price_calc_1']; $height = $_REQUEST['aws_price_calc_2']; if(($width+$height) >= 2000){ wc_add_notice("Width and Height are greater then 2000 mm", "error"); return false; } } return true; } add_filter('woocommerce_add_to_cart_validation', 'filter_custom_wpc_add_to_cart_validation', 20, 3);So you can use the filter “woocommerce_add_to_cart_validation” to do that.
if you need more than this try to ask at our forum.
I hope this helps you.
Let us know if you solved with this.Forum: Plugins
In reply to: [WooPrice Calculator] After adding to cart directly to checkoutPlease check if your calculator/calculators have the following option: “Redirect to checkout if “Add to cart” is clicked”
You should set this option to “No”.
Forum: Plugins
In reply to: [WooPrice Calculator] Enable calculator to work alongside variable productsHello,
WPC and WooCommerce Variations are not compatible. I mean WPC is an alternative of WooCommerce Variations and vice-versa.
So you should choose if you want to use WPC or WooCommerce Variations.
If you want to use WPC you should move all your WooCommerce Variations fields to WPC.
– Move Colour to a WPC List Field
– Move Thickness to a WPC List Field
– Move Dimensions to a WPC List FieldFor information on the Pro version you can contact us here: https://altoswebsolutions.com/contact-us
you are welcome!
Great to know you solved your problem!
😀Hi,
A new release of WPC will be released on September, version 2.3.0.
In the meanwhile I can send you a bugfix version which solve your problem:
http://altoswebsolutions.com/beta_wp_repository/2.2.28/woo-price-calculator.zip
With this version you can add WPC products using Ajax:
WooPriceCalculator.ajaxAddCartItem(productId, calculatorId, quantity, data);Data is equal to:
var data = WooPriceCalculator.getFormDataInProductPage(".wpc-product-form");Yes, it’s true. Actually they are not compatible. Maybe it will be solved with the next release. Anyway if you want more information about this, you can write us to our forum here.
Forum: Plugins
In reply to: [WooPrice Calculator] Update cart and redirect not workingHello,
We took at look and we found a js error when we clicked on the “add to cart” button.
To see the error you can look at the console of the browser.It’s something like:
TypeError: b.notices is undefined[Learn More] functions.min.js:2:14830 success http://199.250.193.193/~ezzeldean/wp-content/themes/v2.0/js/functions.min.js:2:14830 i http://199.250.193.193/~ezzeldean/wp-includes/js/jquery/jquery.js:2:27444 fireWith http://199.250.193.193/~ezzeldean/wp-includes/js/jquery/jquery.js:2:28213 y http://199.250.193.193/~ezzeldean/wp-includes/js/jquery/jquery.js:4:22719 c http://199.250.193.193/~ezzeldean/wp-includes/js/jquery/jquery.js:4:26925So maybe the problem is some custom code or a conflict with another plugin.
Can you check that?Forum: Plugins
In reply to: [WooPrice Calculator] “Default Option” is not working properlyNot before 1st of September.
Forum: Plugins
In reply to: [WooPrice Calculator] “Default Option” is not working properlyHello,
Yes, it’s a bug and it’s already in the list Todo for the next release.
We have a bugfix for this but it’s available only for the PRO version.Best Regards
Forum: Plugins
In reply to: [WooPrice Calculator] Rounding of numerical values to 0.5Hi!
Can you check if this code Regex works?
/^[0-9]+\.[0|5]$/You can test it with the text field.
If it works, We can fix the PRO version to make it works with numeric fields also.
I hope that can help you.
Best Regards
Forum: Plugins
In reply to: [WooPrice Calculator] Rounding of numerical values to 0.5Reading more accurately your question.
I think you need our regex function.
You can create regex rule to validate your field and allow only values that ends in .0 or .5
You can try on our demo siteBest Regards
Forum: Plugins
In reply to: [WooPrice Calculator] Rounding of numerical values to 0.5Forum: Plugins
In reply to: [WooPrice Calculator] Shipping CalculationHi calebelliot
You are writing in wrong place.
If you bought a version PRO you should write the Forum provided by the vendor where you bought this plug-in.
This Forum is only for free version.
Sorry for that
Thank youForum: Plugins
In reply to: [WooPrice Calculator] Woo price calculator missingHello,
I’m glad to hear that!