my woocommerce was working but all of sudden i am getting this error when i try to add product to cart. “Sorry, this product cannot be purchased.”
I haven’t done any modification in the theme.
please help
That error has only appeared to me when the product I want to add has not Price (Regular Price, Variable Price or any default price) set AND I try to add it directly through URL parameters (it also applies when adding an out of stock product).
Can you provide more info? You try to add it with the Ajax Button? or other method? The Product you have, has price/stock set?
I just made a quick test in my site and its the same error message
Related
I am trying to integrate the exVat incVat auto Suffix from the Cart Page to the single product page..
Currently if you go to checkout the prices will show exVat incVAT depending on how taxes are set up within woocoomerce when change the country they change automatically to display correctly. However on the single product page it either shows nothing or you can force it to say one in the settings. Would be much nicer if it could display either suffix.
Screenshots of example from shop page:
incVat
exVat
Is there a solution to make the single product page do this?
(I have spent 5+hrs trying options from custom code and editing the templates but with little success so would appreciate some help :D)
I have tried a mash of other codes and my own experience into fucntions.php with fatal errors or not really touching what I am looking for.
I have also tried unsuccessfully editing WooCommerce template files.
Any help much appreciated.
My client has just upgraded to a new POS system that manages stock and overwrites product data on woo/wp, and the client has had trouble with the "manage stock" setting being automatically applied on woo every time she updates a product on the POS system.
the idea of this is the product needs to show as available regardless of what the stock status. ALL products should show 'add to cart and be purchasable REGARDLESS of the stock status. Any idea how can I achieve that?
From the looks of it, this seems like an issue with the POS. I have tested enabling backorders on WooCommerce and was able to backorder products. Please see if you are able to share the code overwriting product data. As this probably shuts off the back order setting again.
My test case>
Product Configuration
Available Backorder
Page when setting is disabled. (what is probably happening to you)
If you are able to share part of the code I will be able to assist you with this issue because by the looks of it this is an issue with custom code and not with WooCommerce itself.
Keep in mind that this does look different from your webshop, as my test server is currently running a default WP theme.
I am new in e-commerce development, I'm facing an issue in woo commerce pricing, I have added 12 as product price and it is showing $547,072.00 as price, in fact, this value is visible in every price when we edit product than it shows the actual price which I have added due to this error when I add the product to cart is it adding $547,072.00 this as a product price.
enter image description here enter image description here enter image description here
Please check this images for more clarifications
I'm using the latest WordPress and woo commerce version
This seems like an odd thing. It shouldn't happen. If it's happening then you probabily have a plugin interfering with woocommerce code (via hooks maybe?).
Try to disable all your plugin and change to a standard theme like storefront (if you can do it) and check if it start working again
How can I change the Subtotal text on the WooCommerce product page (not the cart page). Screenshot attached, I'd like to change 'Subtotal' > 'Subtotal (GST Inclusive)'
Screenshot of Subtotal
Thanks!
In regular single product page of Woocommerce with default themes (like twentytwenty), there is no Subtotal inside it.
I believe, in your case, the Subtotal is shown by a plugin or theme function. So, you need to check the custom code that shows this Subtotal area. After making some research, please provide us your work related to issue and make clear your question.
Additionally, you can use translate plugins or plugin named String Locator to easily solve this issue.
I need a plugin which give users instant quote on the basis of product quantity and colors.
Like this:
https://www.coedmonkey.com/collections/unisex/products/next-level-cvc-60-40-t-shirt
I have checked woocommerce dynamic pricing plugin but it is not giving me the desired result. It gives quote on the basis of product quantity just and shows the pricing when the product is added to cart while i need it on product page.
Thanks.
Why don't you try for slider option instead of a different plugin... import the pictures and let the slideshow do the work for you