hi there
in /wp-admin/admin.php?page=wc-settings&tab=custom_price§ion=support
and in edit product with some variable + custom price have error 500 after 1 min
in another product doesn’t have any problem
]]>I have Variations in Woocommerce, and one of the variations has field with custom price. But when I select a variation with this field, variation_id is not defined
]]>Hi I am curious if this plugin support WPML.
I read here https://www.ads-software.com/support/topic/string-please-enter-an-amount-not-found-by-wpml/
You recommend to use PoEdit or Loco Translate
In my research, i found
\wp-content\plugins\custom-price-for-woocommerce-pro\vendor_prefixed\wpdesk\custom-price-for-woocommerce-core > src > helper.php file
that has the text “Please enter a higher amount”.
I see it is wrapped in __()
My question is does it support WPML at all, otherwise I can leave the WPML compatibility on this..
WPML does finds this string
screenshot: https://tinyurl.com/25papeqf
However, it does not translate at all.
My case is
1. I am adding add to cart elementor widget
2. In a single product elementor template
I’m using the free version of the plugin and the WooCommerce Storefront theme. I have a standalone page that includes the WooCommerce “All Products” block. On that page, clicking Add to Cart gives the error “could not be added to the cart. Please enter a valid, positive number.” Add to Cart works great on the main store page and on the category pages, just not in the All Products block.
]]>I have been using your plugin for maybe a year without issue. I have just noticed an issue which may be new or it may have been there all the time. After a product with custom price is added to the cart, it appears in the cart with NIL value. If you then go to the Checkout the value appears properly. Is this a bug or do you know a fix? You can see this by using the link https://www.presentsofmind.com.au/game/special-order/
]]>installed plugin, but when i click custom price on the product, page is not loading. console output such error:
error on line “const e”.
script.min.js?ver=3.2.1:1 TypeError: Cannot read properties of null (reading 'innerHTML')
at script.min.js?ver=3.2.1:1:2699
at f (script.min.js?ver=3.2.1:1:7471)
at g (script.min.js?ver=3.2.1:1:9078)
at HTMLDocument.k (script.min.js?ver=3.2.1:1:15229)
function() {
const e = document.getElementById("ckyBannerTemplate").innerHTML
, t = (new DOMParser).parseFromString(e, "text/html");
(function(e) {
const t = e.querySelector('[data-cky-tag="detail"] .cky-footer-shadow')
, n = e.querySelector('[data-cky-tag="detail"]');
]]>
Hi, I have a problem with filling custom price. Decimal numbers after separator are not working. When I fill price for example “43,55” I see message “…could not be added to the cart. Please enter a valid, positive number.:”. What to do with this problem?
]]>Good afternoon
Is there any way, that clicking on a button just activates the plugin function? Normally my students buy their course at a fixed price, but some of them have access to special prices, and I want them to set the price. Is there any way to do it? Since when I have one it works, it sends directly to the payment page.
]]>Hi, i know woocommerce has a link for direct checkout, that include product id. Something like this: site.com/chekout/productid=20 , i saved it somewhere and of course the link i provide is not correct.
my question is , can i have similar link for your plugin?
what I’m looking for is , I’m using a php cms script on my subdomain, when user add it’s desired amount,with codes automatically create a direct checkout link that includes that custom amount. Then when the user click on submit, the direct checkout link on WordPress will open. So I’m looking for that direct checkout link which is included the custom amount. The user won’t see product page or cart page
]]>I want to add a default value in the input field like “1” or something. Could you let me know where I can find that code which generates the input field where customers can input their price? If you can provide the code, that would be great too. Thanks
]]>How do I remove “From: $0.00”. As soon as I hit the custom price checkbox, that “From: $0.00 appears. How do I remove it alltogether. Could you let me know some code or where do I go in my cpanel files?
]]>Hello, I am trying to use your plugin in a website with PW WooCommerce Gift Cards Pro plugin installed and I get a Fatal Error on woocommerce product page when Custom Price for WooCommerce is active.
Here it is the error log (original domain name replaced), thanks for your support.
[27-Dec-2023 17:53:43 UTC] PHP Fatal error: Uncaught TypeError: CPWFreeVendor\WPDesk\Library\CustomPrice\Display::single_add_to_cart_text(): Argument #1 ($text) must be of type string, null given, called in /var/www/vhosts/domain-name.com/httpdocs/wp-includes/class-wp-hook.php on line 324 and defined in /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/custom-price-for-woocommerce/vendor_prefixed/wpdesk/custom-price-for-woocommerce-core/src/Display.php:333
Stack trace: 0 /var/www/vhosts/domain-name.com/httpdocs/wp-includes/class-wp-hook.php(324): CPWFreeVendor\WPDesk\Library\CustomPrice\Display->single_add_to_cart_text() 1 /var/www/vhosts/domain-name.com/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters() 2 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(1936): apply_filters() 3 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/woocommerce/templates/single-product/add-to-cart/variation-add-to-cart-button.php(31): WC_Product->single_add_to_cart_text() 4 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include(‘…’) 5 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php(3116): wc_get_template() 6 /var/www/vhosts/domain-name.com/httpdocs/wp-includes/class-wp-hook.php(324): woocommerce_single_variation_add_to_cart_button() 7 /var/www/vhosts/domain-name.com/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 8 /var/www/vhosts/domain-name.com/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() 9 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/woocommerce/templates/single-product/add-to-cart/variable.php(71): do_action() 10 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include(‘…’) 11 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1756): wc_get_template() 12 /var/www/vhosts/domain-name.com/httpdocs/wp-includes/class-wp-hook.php(324): woocommerce_variable_add_to_cart() 13 /var/www/vhosts/domain-name.com/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 14 /var/www/vhosts/domain-name.com/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() 15 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1707): do_action() 16 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/elementor-pro/modules/woocommerce/widgets/product-add-to-cart.php(50): woocommerce_template_single_add_to_cart() 17 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/elementor/includes/base/controls-stack.php(2297): ElementorPro\Modules\Woocommerce\Widgets\Product_Add_To_Cart->render() 18 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/elementor/includes/base/widget-base.php(614): Elementor\Controls_Stack->render_by_mode() 19 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/elementor/includes/base/widget-base.php(755): Elementor\Widget_Base->render_content() 20 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/elementor/includes/base/element-base.php(464): Elementor\Widget_Base->print_content() 21 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/elementor/includes/base/element-base.php(1375): Elementor\Element_Base->print_element() 22 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/elementor/includes/base/element-base.php(464): Elementor\Element_Base->print_content() 23 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/elementor/includes/base/element-base.php(1375): Elementor\Element_Base->print_element() 24 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/elementor/includes/base/element-base.php(464): Elementor\Element_Base->print_content() 25 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/elementor/includes/base/element-base.php(1375): Elementor\Element_Base->print_element() 26 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/elementor/includes/base/element-base.php(464): Elementor\Element_Base->print_content() 27 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/elementor/includes/base/element-base.php(1375): Elementor\Element_Base->print_element() 28 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/elementor/includes/base/element-base.php(464): Elementor\Element_Base->print_content() 29 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/elementor/core/base/document.php(1749): Elementor\Element_Base->print_element() 30 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(418): Elementor\Core\Base\Document->print_elements() 31 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/elementor/includes/frontend.php(1179): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->print_elements_with_wrapper() 32 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/elementor/core/base/document.php(1193): Elementor\Frontend->get_builder_content() 33 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/elementor/modules/library/documents/library-document.php(76): Elementor\Core\Base\Document->get_content() 34 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(158): Elementor\Modules\Library\Documents\Library_Document->get_content() 35 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(173): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->get_content() 36 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/elementor-pro/modules/theme-builder/documents/single-base.php(93): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->print_content() 37 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/elementor-pro/modules/woocommerce/documents/product.php(133): ElementorPro\Modules\ThemeBuilder\Documents\Single_Base->print_content() 38 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/elementor-pro/modules/theme-builder/classes/locations-manager.php(364): ElementorPro\Modules\Woocommerce\Documents\Product->print_content() 39 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/elementor-pro/modules/theme-builder/classes/locations-manager.php(240): ElementorPro\Modules\ThemeBuilder\Classes\Locations_Manager->do_location() 40 [internal function]: ElementorPro\Modules\ThemeBuilder\Classes\Locations_Manager->ElementorPro\Modules\ThemeBuilder\Classes{closure}() 41 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/elementor/modules/page-templates/module.php(207): call_user_func() 42 /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/elementor/modules/page-templates/templates/canvas.php(38): Elementor\Modules\PageTemplates\Module->print_content() 43 /var/www/vhosts/domain-name.com/httpdocs/wp-includes/template-loader.php(106): include(‘…’) 44 /var/www/vhosts/domain-name.com/httpdocs/wp-blog-header.php(19): require_once(‘…’) 45 /var/www/vhosts/domain-name.com/httpdocs/index.php(17): require(‘…’) 46 {main}
thrown in /var/www/vhosts/domain-name.com/httpdocs/wp-content/plugins/custom-price-for-woocommerce/vendor_prefixed/wpdesk/custom-price-for-woocommerce-core/src/Display.php on line 333
]]>When i turn on custom price plugins and view the add to cart button it stays blurry and not clear for my customers to see please I have tried with several themes but still the problem persists please how can I make the add to cart button display clearly so that my customers can see
]]>WPML doesn’t find the string “Please enter an amount.”
Please create a string and let us translate it, thanks.
]]>You seem to have implemented a restriction on the “Add to cart” button that is not clickable until the user has left out of the AMOUNT field. Why? Please remove this, it’s not user friendly at all.
]]>It shows 2 forms at the same time. We just need one
]]>Hello,
I’m receiving an alert from ahrefs.com scans that the URL to front.css contains a double slash. I’ve verified in the page source this is the case.
The URL is output as: /wp-content/plugins/custom-price-for-woocommerce/vendor_prefixed/wpdesk/custom-price-for-woocommerce-core//assets/css/frontend/front.css
… with the double slash occurring before the assets folder.
It’s not causing any actual problems that I’ve been able to see, but maybe it could on some servers or for some browsers? Just wanted to alert you so maybe it could be fixed in the future.
Thanks,
Tim
]]>Hi!
My problem is that when I input a number at the product input box coma is moved two places at check out, and it changes 2,00 for 200,00 – how can I fix it?
]]>Hi,
i like your plugin, and very usefull. Btw, i have problem.
how to Move Custom Price below Flexible Product Fields?
thank you.
]]>Is it possible that this custom price field is only available for members who logs in
]]>Hello,
I installed this plugin on my WP site where I use also “WOOCS – WooCommerce Currency Switcher” plugin to allow users to shop in various currencies (I use only two, CZK and EUR).
If I set CZK as my currency, everything works fine. But if I switch to EUR then type “100” as my custom price in € and switch to Cart, there is a price 4 EUR only.
It seems like the custom price in EUR is automatically divided by the exchange rate between CZK and EUR which is wrong.
Can you help? Thanks.
]]>Hello
While I was testing the plugin combined with “Flexible PDF Coupons Pro for WooCommerce” I noticed this error every time I was trying to add an amount into the input field
https://screencast-o-matic.com/watch/c3he2OVYd0b
I want to mention that I already disabled all the plugins except those 2 and woocommerce of course.
Regards
Leonidas