jacob.svedlund
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Stock is not reduced, sometimesI made a copy of the shop and installed it on our dev server. So far I have made about 10 orders and the stock has been reduced as it should every time. Also, the stock is stored as integers on the dev server.
Comparing the servers configuration and noticed that the real shop was running on PHP 5.5 and our dev server PHP 5.6. Could that be it? They are both running 5.6 now.
Forum: Plugins
In reply to: [WooCommerce] Stock is not reduced, sometimesAlright, I guess the next step is to setup a copy of the shop and start inactivating plugins. Thank you for the help so far.
Forum: Plugins
In reply to: [WooCommerce] Stock is not reduced, sometimesAh, sorry.
Variation export:
https://dl.dropboxusercontent.com/u/8815118/variations.wordpress.2016-01-21.xmlForum: Plugins
In reply to: [WooCommerce] Stock is not reduced, sometimesIn our testorders we used the item below but the problem is not limited to that item.
Product ID: 22578
Variation ID: 22582Forum: Plugins
In reply to: [WooCommerce] Stock is not reduced, sometimesNothing in the error logs but it was only saved for 24h.
Export:
https://dl.dropboxusercontent.com/u/8815118/wordpress.2016-01-21.xmlPlease let me know when you have the file so I can remove it.
Forum: Plugins
In reply to: [WooCommerce] Stock is not reduced, sometimes### WordPress Environment ###
Home URL: http://XYSQshop.com
Site URL: http://XYSQshop.com
WC Version: 2.3.10
WC Database Version: 2.3.10
Log Directory Writable: /home/XYSQco/XYSQshop/wp-content/uploads/wc-logs/
WP Version: 4.4.1
WP Multisite: –
WP Memory Limit: 512 MB
WP Debug Mode: –
Language: en_US### Server Environment ###
Server Info: Apache
PHP Version: 5.5.31
PHP Post Max Size: 50 MB
PHP Time Limit: 90
PHP Max Input Vars: 3000
SUHOSIN Installed: –
MySQL Version: 5.6.28
Max Upload Size: 50 MB
Default Timezone is UTC:
fsockopen/cURL:
SoapClient:
DOMDocument:
GZip:
Remote Post:
Remote Get:### Server Locale ###
decimal_point: .
thousands_sep: N/A
mon_decimal_point: N/A
mon_thousands_sep: N/A### Active Plugins (31) ###
Advanced Custom Fields: by Elliot Condon – 4.4.5
All In One WP Security: by Tips and Tricks HQ
Peter
Ruhul
Ivy – 4.0.3Better WordPress Minify: by Khang Minh – 1.3.3
Coming soon and Maintenance mode WpDevArt: by maintenance mode GG
wpdevart
big ben keeper – 2.2.8Custom Related Products for WooCommerce: by Duplicera – 1.1
Delete Expired Transients: by WebAware – 2.0.4.1
Duplicator: by LifeInTheGrid – 1.1.0
EWWW Image Optimizer: by Shane Bishop – 2.5.6
Flat Rate per State/Country/Region for WooCommerce: by Webdados – 2.4.4
Anti-Malware Security and Brute-Force Firewall: by Eli Scheetz – 4.15.49
Instagrate to WordPress: by polevaultweb – 1.2.5
Postman SMTP: by Jason Hendriks – 1.7.2
Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 2.2.6
Simple Share Buttons Adder: by Simple Share Buttons – 6.1.4
Use Google Libraries: by Jason Penney – 1.6.2.1
Aelia Currency Switcher for WooCommerce: by Aelia (Diego Zanella) – 3.6.14.140122
Woocommerce Add to cart Ajax for variable products: by Rishi Mehta – Rcreators Websolutions – 1.2.6
WooCommerce DIBS FlexWin Gateway: by Krokedil – 2.1.2 – 2.1.5 is available
WooCommerce Klarna Gateway: by Krokedil – 1.9.8.1 – 2.0.2 is available
WooCommerce PayPal Express Gateway: by SkyVerge – 3.4.1 – 3.6.0 is available
WooCommerce Google Analytics Integration: by WooThemes – 1.4.0
WooCommerce Product Bundles: by WooThemes – 4.11.5 – 4.13.1 is available
WooCommerce Quantity Increment: by WooThemes
Bryce Adams – 1.0.0WooCommerce Order Refund Email: by Jacob Svedlund – 1.0
WooCommerce Show Attributes: by Isabel Castillo – 1.4.2
WooCommerce: by WooThemes – 2.3.10
WooThemes Helper: by WooThemes – 1.5.9
WordPress Importer: by wordpressdotorg – 0.6.1
Yoast SEO: by Team Yoast – 3.0.7
YITH WooCommerce Ajax Search: by Yithemes – 1.3.9
ZWoom – WooCommerce Product Image Zoom: by WisdmLabs
Thane
India – 1.1.2 – Network enabled### Settings ###
API Enabled:
Taxes Enabled:
Shipping Enabled:
Force SSL: –
Currency: SEK (SEK)
Currency Position: right_space
Thousand Separator:
Decimal Separator: .
Number of Decimals: 0### WC Pages ###
Shop Base: #4 – /shop/
Cart: #5 – /cart/
Checkout: #6 – /checkout/
My Account: #7 – /?page_id=7### Taxonomies ###
Product Types: bundle (bundle)
external (external)
grouped (grouped)
simple (simple)
variable (variable)### Theme ###
Name: XYSQ
Version: 1.0
Author URL: http://www.duplicera.nu/
Child Theme: ✕ – If you’re modifying WooCommerce or a parent theme you didn’t build personally we recommend using a child theme. See: How to create a child theme
WooCommerce Support:### Templates ###
Overrides: XYSQ/woocommerce/cart/cart-totals.php
XYSQ/woocommerce/cart/cart.php
XYSQ/woocommerce/cart/mini-cart.php
XYSQ/woocommerce/checkout/form-checkout.php
XYSQ/woocommerce/checkout/form-pay.php
XYSQ/woocommerce/checkout/payment-method.php
XYSQ/woocommerce/checkout/payment.php
XYSQ/woocommerce/checkout/review-order.php
XYSQ/woocommerce/checkout/thankyou.php
XYSQ/woocommerce/emails/admin-new-order.php
XYSQ/woocommerce/emails/customer-completed-order.php
XYSQ/woocommerce/emails/customer-invoice.php
XYSQ/woocommerce/emails/customer-new-account.php
XYSQ/woocommerce/emails/customer-note.php
XYSQ/woocommerce/emails/customer-processing-order.php
XYSQ/woocommerce/emails/customer-reset-password.php
XYSQ/woocommerce/emails/email-footer.php
XYSQ/woocommerce/emails/email-header.php
XYSQ/woocommerce/emails/email-styles.php
XYSQ/woocommerce/loop/pagination.php
XYSQ/woocommerce/single-product/add-to-cart/external.php
XYSQ/woocommerce/single-product/add-to-cart/grouped.php
XYSQ/woocommerce/single-product/add-to-cart/simple.php
XYSQ/woocommerce/single-product/add-to-cart/variable.php
XYSQ/woocommerce/single-product/product-attributes.php
XYSQ/woocommerce/single-product/product-image.php
XYSQ/woocommerce/single-product/product-thumbnails.php
XYSQ/woocommerce/single-product/related.php
XYSQ/woocommerce/single-product/short-description.php
XYSQ/woocommerce/single-product/tabs/additional-information.php
XYSQ/woocommerce/single-product/tabs/description.php
XYSQ/woocommerce/single-product/title.phpForum: Plugins
In reply to: [WooCommerce] Stock is not reduced, sometimesI removed all the decimals in the database. Made a few orders and it actually looked like it was working. Stock was updated correctly.
Now I have recieved some orders from customers and the problem “is back”. It updates the stock value in the db but only to add the decimals.
Forum: Plugins
In reply to: [WooCommerce] Stock is not reduced, sometimesWell, changed the stock to 2 through “Edit product” and looked in the db. Its says 2.000000.
Forum: Plugins
In reply to: [WooCommerce] Stock is not reduced, sometimesIt´s a dot in the db and almost every product has decimals. Are you telling me there should not be any decimals?
I will remove it for a product and see what happens.Forum: Plugins
In reply to: [WooCommerce] Stock is not reduced, sometimesSure, here you go:
Product level
https://dl.dropboxusercontent.com/u/8815118/1.pngAll variations:
https://dl.dropboxusercontent.com/u/8815118/2.pngVaraition config:
https://dl.dropboxusercontent.com/u/8815118/3.pngForum: Plugins
In reply to: [WooCommerce] Stock is not reduced, sometimesOn variationen level.
Forum: Plugins
In reply to: [WooCommerce] Stock is not reduced, sometimesIn that test it was a variable product
Forum: Plugins
In reply to: [WooCommerce] Stock is not reduced, sometimesIm not editing the product. For example we made 3 orders of the same item. Order notes for each order says “…reduced from 1 to 0”. Looking at the stock for that item and its still 1.
Forum: Plugins
In reply to: [WooCommerce] Stock is not reduced, sometimesAn order of any kind or of the same product?
I had the same issue. Tracked the problem to classes/em-ticket.php and the validate function (row 234). Changing:
if ( $this->true_field == "") { $missing_fields[] = $field; }to
if ( $true_field == "") { $missing_fields[] = $field; }Solved the problem for me.