Hi, there
My checkout page is not loading. It is being redirected to cart page, which is disabled and also does not load. ??
I am trying to deactivate and activate the plugin, but there seems to be conflicting with something.
My plugins:
Brazilian Market on WooCommerce
Disable cart page for WooCommerce
Flexible Checkout Fields
Newsletter, SMTP, Email marketing and Subscribe forms by Brevo
Pagar.me módulo para Woocommerce
The SEO Framework
WooCommerce
WP Add Mime Types
WP Super Cache
Hi, I want to translate the Buy Now button. I have created the Greek po and mo file and added them to /wp-content/plugins/disable-cart-page-for-woocommerce/i18n folder, but it did not work.
I tried both wcdcp-el.po and wcdcp-el_EL.po files.
Could you please advise?
Thanks
]]>Use ‘Side Cart WooCommerce
‘When installing your add-on it does not allow me to add more than one product to the basket. Example: If I have product A added and I add product B, product B should remain in the basket, but what happens is that the last product added replaces the previous one. By deactivating ‘Disable cart page for WooCommerce’ everything works fine.
Any solution?
RESOLVED.
]]>Hi! This plugin has been working great. But my client has asked for a way for him to send the payment link with the value already filled. So I thought of using parameters and the filling part is working. But if the url has any parameters the page just reloads. I already tried window.history.pushState
but it made no difference.
Is this issue with this plugin or the name your price plugin (if a populate the value using chrome’s console, it works). Thanks for the help anyway. Cheers!
]]>It seems like this might be on hCaptcha’s (https://www.ads-software.com/plugins/hcaptcha-for-forms-and-more/) end of things. Either way, I wanted to put this here just to let others know about this potential plugin conflict until it’s fixed & possibly see if there actually is something that can be done on this end to avoid the conflict.
Additional details on the plugin conflict can be seen here: https://www.ads-software.com/support/topic/plugin-conflict-cant-checkout-when-using-disable-cart-page-for-woocommerce/
]]>not compatible with terawallet for woocommerce
]]>Bonjour le module est il compatible pour la version 6.0.3 ? Merci
]]>Hello. I’m in Argentina, and when activate the plugin the button says “Buy now”.
I make the translation in www.ads-software.com (https://translate.www.ads-software.com/locale/es-ar/default/wp-plugins/disable-cart-page-for-woocommerce/) buy is in “Waiting” state.
In my server, I create the files wcdcp-es_AR.po and wcdcp-es_AR.mo in wp-content/plugins/disable-cart-page-for-woocommerce/i18n/
But I cannot translate the button in my page. I need the button say’s “Comprar”
Thanks
]]>Hey there,
we have a strange problem with the plugin since the last update.
As soon as you try to add a second product to the cart, the first product added gets removed.
The result ist you can only order one product in total, what is not ideal at all.
Could you have a look at the problem please?
Thank you very much!
Hi there,
I am the author of WooCommerce Name Your Price and I had a customer reach out after experiencing difficulty while using both our plugins. My plugin allows customers to enter a custom price for a product. With your plugin active this price is not passed to the cart.
This is a follow up on:
https://www.ads-software.com/support/topic/not-working-with-woocommerce-extension-name-your-price/
Based on my inspection the issue is here in your code:
// Empty cart when product is added to cart, so we can't have multiple products in cart
add_action( 'woocommerce_add_cart_item_data', function() {
wc_empty_cart();
} );
woocommerce_add_cart_item_data
is a critical filter for many plugins that add custom or advanced products to the cart. Here you do not send the existing cart item value value back to WooCommerce. This is clearing out the custom values set by Name Your Price and if I had to guess these other issues are related:
https://www.ads-software.com/support/topic/would-woocommerce-checkout-add-ons-work-with-this-plugin/
https://www.ads-software.com/support/topic/errors-not-compatible-with-product-bundles-and-subscriptions/
If you update lines 120-124 above to the following:
// Empty cart when product is added to cart, so we can't have multiple products in cart
add_filter( 'woocommerce_add_cart_item_data', function( $cart_item_data ) {
wc_empty_cart();
return $cart_item_data;
} );
`
I can confirm this patches compatibility with Name Your Price (and probably with other plugins as well).
A couple other things I noted:
1. You are using anonymous callbacks for most all of your hooks/filters. This makes it difficult for developers to extend or interact with your plugin.
2. update_option( 'woocommerce_cart_redirect_after_add', 'yes' );
means that this option is permanent updated even after plugin deletion since I don’t see this option deleted in the uninstall.php
. You should be able to filter pre_option_woocommerce_cart_redirect_after_add
instead as a non-permanent option.
3. Your activation/deactivation hooks don’t do anything.. are they necessary?
I did not find this plugin on github or I would have sent a PR. But here are some proposed changes:
https://pastebin.com/TqFC7wsZ
Though my most pressing issue is converting woocommerce_add_cart_item_data
into an add_filter()
and <em>returning</em> the $cart_item_data
array.
Hello,
i get following errors while using Product Bundles and Subscriptions.
IS the Plugin not compatible to this extensions?
Notice: Undefined index: 540980e583a264e9382a3aa8389ef90b in /wp-content/plugins/woocommerce-product-bundles/includes/class-wc-pb-cart.php on line 1472
Notice: Trying to access array offset on value of type null in /wp-content/plugins/woocommerce-product-bundles/includes/class-wc-pb-cart.php on line 1472
Warning: in_array() expects parameter 2 to be array, null given in /wp-content/plugins/woocommerce-product-bundles/includes/class-wc-pb-cart.php on line 1472
Notice: Undefined index: 540980e583a264e9382a3aa8389ef90b in /wp-content/plugins/woocommerce-product-bundles/includes/class-wc-pb-cart.php on line 1472
Notice: Trying to access array offset on value of type null in /wp-content/plugins/woocommerce-product-bundles/includes/class-wc-pb-cart.php on line 1472
Warning: in_array() expects parameter 2 to be array, null given in /wp-content/plugins/woocommerce-product-bundles/includes/class-wc-pb-cart.php on line 1472
Notice: Undefined index: 540980e583a264e9382a3aa8389ef90b in /wp-content/plugins/woocommerce-product-bundles/includes/class-wc-pb-cart.php on line 1472
Notice: Trying to access array offset on value of type null in /wp-content/plugins/woocommerce-product-bundles/includes/class-wc-pb-cart.php on line 1472
Warning: in_array() expects parameter 2 to be array, null given in /wp-content/plugins/woocommerce-product-bundles/includes/class-wc-pb-cart.php on line 1472
Notice: Undefined index: 540980e583a264e9382a3aa8389ef90b in /wp-content/plugins/woocommerce-product-bundles/includes/class-wc-pb-cart.php on line 1472
Notice: Trying to access array offset on value of type null in /wp-content/plugins/woocommerce-product-bundles/includes/class-wc-pb-cart.php on line 1472
Warning: in_array() expects parameter 2 to be array, null given in /wp-content/plugins/woocommerce-product-bundles/includes/class-wc-pb-cart.php on line 1472
Notice: Undefined index: 540980e583a264e9382a3aa8389ef90b in /wp-content/plugins/woocommerce-product-bundles/includes/class-wc-pb-cart.php on line 1472
Notice: Trying to access array offset on value of type null in /wp-content/plugins/woocommerce-product-bundles/includes/class-wc-pb-cart.php on line 1472
Warning: in_array() expects parameter 2 to be array, null given in /wp-content/plugins/woocommerce-product-bundles/includes/class-wc-pb-cart.php on line 1472
Notice: Undefined index: data in /wp-content/plugins/woocommerce-product-bundles/includes/modules/bundle-sells/includes/class-wc-pb-bs-cart.php on line 165
Notice: Undefined index: data in /wp-content/plugins/woocommerce-product-bundles/includes/modules/bundle-sells/includes/class-wc-pb-bs-cart.php on line 243
Fatal error: Uncaught Error: Call to a member function is_type() on null in /wp-content/plugins/woocommerce-product-bundles/includes/modules/bundle-sells/includes/class-wc-pb-bs-cart.php:243 Stack trace: #0 /wp-content/plugins/woocommerce-product-bundles/includes/modules/bundle-sells/includes/class-wc-pb-bs-cart.php(176): WC_PB_BS_Cart::load_bundle_sells_into_session(Object(WC_Cart)) #1 /wp-includes/class-wp-hook.php(303): WC_PB_BS_Cart::bundle_sells_add_to_cart('540980e583a264e...', 4261, 1, 0, Array, Array) #2 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array) #3 /wp-includes/plugin.php(470): WP_Hook->do_action(Array) #4 /wp-content/plugins/woocommerce/includes/class-wc-cart.php(1276): do_action('woocommerce_add...', '540980e583a264e...', 4261, 1, 0, Array, Array) #5 /wp-content/plugins/wooco in /wp-content/plugins/woocommerce-product-bundles/includes/modules/bundle-sells/includes/class-wc-pb-bs-cart.php on line 243
]]>
First of all, amazing plugin! I’ve been using the plugin for over a year now, and never had any problems with it.
But now I’m running into a little thing.
I would like to place upsell products in my checkout. But the problem is that as soon as one of these upsell products is clicked. The plugin will remove the previously selected product from the cart.
Is it possible to exclude some products from doing this to all the other products?
But remove everything again, if a new regular product is added to the cart. It would also be great if it than also removes all the upsell products (If a customer selected one of these earlier by another regular product).
I hope I explained it as clear as possible. It would be great if you guys could help me with this problem!
]]>Please when I choose month(s) as the fixed duration, the calendar doesn’t appear on my page after I select the resource type. All that appears is “:”
]]>After updating the woocommerce 5.0.0. plugin, links began to lead to the main page of the site https://online-masterclass.ru/?add-to-card=10811
]]>Hi, I found “Disable cart page for WooCommerce” is not compatible with https://woocommerce.com/products/name-your-price/
I use “Woocommerce Name Your Price” so user can buy product with their own price. Of course I can specify minimum price with that plugin.
What happen is when I enable “Disable cart page for WooCommerce” plugin, the price in checkout is always the minimum price that I specify.
Example:
If I set the minimum price is $15 then user write $50, at the checkout page user will get $15 from the minimum price. Not the $50. This only happen if I install “Disable cart page for WooCommerce” plugin.
Can anyone help me?
]]>Hi,
Great plugin! I have a quick question.
If I were to purchase the WooCommerce Checkout Add-Ons plugin, would it work with this plugin?
Probably not because this plugin disables the ability to add multiple products to an order but I just wanted to make sure.
If not. Is there anything that can be done to allow customer to add multiple products to their order but keeping the cart page hidden and clearing the cart if the user leaves the checkout?
Thanks
]]>Hi There,
Please can you assist – I have removed the plugin – but it is still reverting to the checkout page –
Please help
]]>Hello,
Thank you for a great plugin. How to change “BUY NOW” string on product page?
]]>can i know what causing this issue, it only happens when i activate this plugin
]]>Hi, if this puglin is activated and I type: https://mywebsite.it/myPage/?add-to-cart=85
I see only checkout page, instead I would see “myPage”+Checkout form.
Could you help me, please?
Thanks.
Alfio
Is there a way to shut this plugin off for logged in customers. Essentially, we want a Shop Manager to be able to use the site WITHOUT the plugin running. But all others WITH the plugin running.
Is there some switch to do this?
Woocommerce added a shopping cart symbol in our menu on the top right. We thought this addon would remove it but that was not the case. Did we do something wrong or is there another way to remove it?
]]>Hi,
Plugin works great for what it does, but recently it broke the functionality with WooCommerce Coupon URLS (it worked last month).
For example, if a customer went to https://yourwebsite.com/discount/promocode,
the code was automatically added at checkout.
Now, it just says the coupon was applied but no coupon is added. Disabling this plugin fixed the issue.
Is there anything you can do to fix?
Thanks!
]]>Hi,
I am using the pluging Woocommerce bookings with this plugin.
Sometimes is not working looks like reading booking calendar all day.
I mean, customers can not choose the date at the time.
After this step, calendar is not working.
1. Choice any product in my website
2. Select persons and date etc. so click booking button.
3. Now in checkout page. Return to home(top page)
4. Choose the same product (you choose in step 1)
5. Booking calendar is still loading(can not click)
Also, I use Wprocket cache pluing lastest versions.
Any solutions?
Best regards
HI I try to remove the plugin but the feature still works how to remove the feature, please ???
]]>Hello,
After making changes to two of my products, the Disable Cart Plugin no longer works.
I have tried deactivating, deleting and reinstalling the plugin, but it still does not function.
On my Store page, the ‘Add to Basket’ button still appears for my ‘Lessons’. For the other products, ‘Books’ and ‘Courses’ the ‘Buy Product’ button rightfully remains, as these are affiliate redirects, using the existing WooCommerce functionality.
I am looking forward to hearing from you about how to get this plugin functioning again on my website.
Thank you.
]]>Hello,
The plugin redirects to checkout successfully but it no longer empties the cart of previously added products. Maybe the empty cart function might not be compatible with the latest woocommerce version.
Thank you
]]>I had products which not in stocks remain in my shopping cart and I cannot remove it because I’m not allow to go to shopping cart.
It shows “There are some issues with the items in your cart (shown above). Please go back to the cart page and resolve these issues before checking out.”
How can I fix this scenario. thanks
]]>Hello! Great plug-in. Works great!
There is a problem with the translation. The text domain is not set correctly. The Russian-speaking community translated the plugin into Russian, but the packages are not formatted because the text domain is not correct. Should be disable-cart-page-for-vomocommerce
Please correct.
]]>