Comments (10)
Thank you for reporting.
will fix this asap
from wp-ispconfig3.
May you please provide me with some more details:
- Exact version of wp-ispconfig
- Exact version of WooCommerce
- PHP version
Thank you in advanced
from wp-ispconfig3.
Hi
Version of wp-ispconfig : 1.3.2
Version of WooCommerce : 3.4.4
PHP Version : 7.2.7-0ubuntu0.18.04.2
Thank you
Mz
from wp-ispconfig3.
WC_Product_Webspace:Period hooks into woocommerce_cart_item_quantity
This hook usually passes two arguments $product_quantity, $cart_item_key
(details in the link).
WC_Product_Webspace::Period(<qty>, 'bec26...')
In your case I am seeing that the "Qty" is not passing a number only in parameter one
WC_Product_Webspace::Period('1 <input type="..', 'bec26...')
So I think you may have some other plugins activated
which overwrites the qty parameter by adding some html content, which obviously isn the right way to do.
My recommendation: Try to deactivate all other plugins, except wp-ispconfig3 and woocommerce to see if the error still persist.
from wp-ispconfig3.
I just disable all plugins except yours and that of Woocommerce, nothing changes, the error is always the...
Mz
from wp-ispconfig3.
While keeping all the other plugins disabled, please try to create fresh Webspace product and put this into the cart (make sure session is completely clean from the old product)
from wp-ispconfig3.
Hi
Via this link, the zip file contains, the files of Woocommerce that works with my themes
https://mega.nz/#!HmJizK7D!yCss3YUwLWWqSaDNFRbWP0be_5_CFzwE1K118Zk48g0
When I migrate to the right version of Woocommerce, I see the basket, but I do not know how to go further, if you have not understood, here is the image to better understand what I come to tell you
https://gyazo.com/27dc5664811687ac68735804b8c565cb
Mz
from wp-ispconfig3.
Your them you send me is causing the error:
Check the LINE 87 or 97 of cart/cart.php
if ( $_product->is_sold_individually() ) {
$product_quantity = sprintf( '1 <input type="hidden" name="cart[%s][qty]" value="1" />', $cart_item_key ); //
} else {
$product_quantity = woocommerce_quantity_input( array(
'input_name' => "cart[{$cart_item_key}][qty]",
'input_value' => $cart_item['quantity'],
'max_value' => $_product->backorders_allowed() ? '' : $_product->get_stock_quantity(),
'min_value' => '0'
), $_product, false );
}
echo apply_filters( 'woocommerce_cart_item_quantity', $product_quantity, $cart_item_key ); // <-- this line cause the filter to become qty different then expected. (other than a number)
I am pretty sure when using the theme "Storefront" for instance, all will work as expected.
You may fix your custom theme or use a standard them then...
from wp-ispconfig3.
You know how to pass me your email address so I can ask you something in particular?
from wp-ispconfig3.
Just check out the Storefront theme to fix your issues.
Alternatively, read the below
....
As this is no longer an issue on wp-ispconfig3 plugin but a service request for theming in WordPress you can fill up the service request form below or try to fix it yourself.
https://www.cloud86.de/request-form/
Please note, we may charge you for this service.
from wp-ispconfig3.
Related Issues (20)
- Provide a proper ''email' field using WPISPConfig3::getField HOT 1
- Plugin Woocommerce HOT 3
- Hidden Field
- Filter wordpress users in Websites/Databases other than "customer" role HOT 1
- Make use of Gutenberg blocks HOT 10
- Translations not working HOT 4
- FR - Support the whole workflow for website creating HOT 3
- Check for domain availability only in ISPConfig HOT 5
- Integrate wizard options into WP-ISPConfig Blocks HOT 5
- Disable whois entirely HOT 3
- Translations for Blocks when using from backend
- Syncronize wordpress user password matching the user roles
- The domain is already registered HOT 10
- Improve global domain check validation using `dig` instead of `whois` HOT 12
- 'Enable password syncronization' does not appear to be working HOT 2
- Username creation or extra field on Check-out HOT 1
- Failed to create wp user HOT 14
- The given username already exists in the other system HOT 3
- Capability issue HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wp-ispconfig3.