Home › Forums › WC Vendors Pro Support › WC VENDORS PRO Stock issue
NOTICE: We've Moved to a Ticket System for Support
As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system. This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.
For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.
If you are a WC Vendors Pro customer please open a support ticket here. If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.
The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.
Thank you to all of our customers!
- This topic has 13 replies, 5 voices, and was last updated 6 years, 8 months ago by
Patricia.
-
AuthorPosts
-
July 18, 2016 at 10:06 am #37438
Erik Bazuin
ParticipantHi,
we use WC VENDORS PRO for our website and we are very excited. But we run into a issue.
Stock does not seem to work. Everything works when adding a product in the front end, but after publishing stock is set to 0 in woocommerce. Settings in woocommerce are correct.
when we set the stock in the front end to 1 in woocommerce it stays 0 and a customer can buy a product as much as he want while our vendors sell a product once and the product should dissappear from the website after that one product is sold.
Can you help?
July 18, 2016 at 10:07 am #37439Erik Bazuin
Participant### WordPress Environment ### Home URL: http://www.phoneswap.nl Site URL: http://www.phoneswap.nl WC Version: 2.5.5 Log Directory Writable: ✔ WP Version: 4.5.2 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – Language: nl_NL ### Server Environment ### Server Info: Apache/2.4.18 (Unix) OpenSSL/1.0.1e-fips mod_bwlimited/1.4 mod_fcgid/2.3.9 PHP Version: 5.6.22 PHP Post Max Size: 50 MB PHP Time Limit: 300 PHP Max Input Vars: 10000 SUHOSIN Installed: – MySQL Version: 5.6.30 Max Upload Size: 50 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 2.5.5 : woocommerce_sessions: ✔ woocommerce_api_keys: ✔ woocommerce_attribute_taxonomies: ✔ woocommerce_termmeta: ✔ woocommerce_downloadable_product_permissions: ✔ woocommerce_order_items: ✔ woocommerce_order_itemmeta: ✔ woocommerce_tax_rates: ✔ woocommerce_tax_rate_locations: ✔ ### Active Plugins (30) ### LayerSlider WP: door Kreatura Media – 5.6.2 Akismet: door Automattic – 3.1.11 Activity Log: door Yakir Sitbon Maor Chasen Ariel Klikstein – 2.3.2 BackupBuddy: door iThemes – 7.0.5.7 Birds Custom Login: door Frédéric Serva – 1.0.8 Child Theme Configurator: door Lilaea Media – 2.0.6 Coming Soon Page & Maintenance Mode by SeedProd: door SeedProd – 5.0.3 Contact Form 7: door Takayuki Miyoshi – 4.4.2 Indeed Smart PopUp: door indeed – 4.6 WPBakery Visual Composer: door Michael M - WPBakery.com – 4.11.1 Loco Translate: door Tim Whitlock – 1.5.5 Ultimate WooCommerce Brands PRO: door MagniumThemes – 1.5 Mollie Payments for WooCommerce: door Mollie – 2.2.1 Nav Menu Roles: door Kathy Darling – 1.8.2 Profile Builder: door Cozmoslabs Madalin Ungureanu Antohe Cristian Barina Gabriel Mihai Iova – 2.4.2 Slider Revolution: door ThemePunch – 5.1.6 Rich Snippets WordPress Plugin by WP-Buddy: door wp-buddy – 1.6.1 Shopme Custom Content Types and Taxonomies: door mad_velikorodnov – 1.01 User Roles and Capabilities: door mahabub – 1.2.1 User Switching: door John Blackbourn – 1.0.9 WC Vendors Pro: door WC Vendors – 1.3.1 WC Vendors: door WC Vendors – 1.9.0 Woo Login Redirect: door Nayem – 1.0 Woo Sale Revolution:Flash Sale + Dynamic Discounts: door Proword – 2.7 WooCommerce Extra Fee Option: door Terry Tsang – 1.0.7 WooCommerce Prices By User Role: door Festi – 2.20.3 WooCommerce Stock Manager: door Vladislav Musílek – 1.0.7 WooCommerce: door WooThemes – 2.5.5 YITH Essential Kit for WooCommerce #1: door YIThemes – 1.2.6 YITH WooCommerce PDF Invoice and Shipping List: door YITHEMES – 1.1.11 ### Settings ### Force SSL: – Currency: EUR (€) Currency Position: left Thousand Separator: . Decimal Separator: , Number of Decimals: 2 ### API ### API Enabled: ✔ API Version: 3.1.0 ### WC Pages ### Winkelbasis: #4 - /aanbod/ Winkelmand: #5 - /winkelwagen/ Afrekenen: #6 - /checkout/ Mijn account: #7 - /my-account/ ### Taxonomies ### Product Types: external (external) grouped (grouped) simple (simple) variable (variable) ### Theme ### Name: Phoneswap Child Version: 1.1.9.1464599350 Author URL: http://inthe7heaven.com Child Theme: ✔ Parent Theme Name: Shopme Parent Theme Version: 1.2.1 Parent Theme Author URL: http://inthe7heaven.com WooCommerce Support: ✔ ### Templates ### Overrides: phoneswap/woocommerce/archive-product.php phoneswap/woocommerce/auth/footer.php phoneswap/woocommerce/auth/form-grant-access.php phoneswap/woocommerce/auth/form-login.php phoneswap/woocommerce/cart/cart-empty.php phoneswap/woocommerce/cart/cart-item-data.php phoneswap/woocommerce/cart/cart-shipping.php phoneswap/woocommerce/cart/cart-totals.php phoneswap/woocommerce/cart/cart.php phoneswap/woocommerce/cart/cross-sells.php phoneswap/woocommerce/cart/mini-cart.php phoneswap/woocommerce/cart/proceed-to-checkout-button.php phoneswap/woocommerce/cart/shipping-calculator.php phoneswap/woocommerce/checkout/cart-errors.php phoneswap/woocommerce/checkout/form-billing.php phoneswap/woocommerce/checkout/form-checkout.php phoneswap/woocommerce/checkout/form-coupon.php phoneswap/woocommerce/checkout/form-login.php phoneswap/woocommerce/checkout/form-pay.php phoneswap/woocommerce/checkout/form-shipping.php phoneswap/woocommerce/checkout/payment-method.php phoneswap/woocommerce/checkout/payment.php phoneswap/woocommerce/checkout/review-order.php phoneswap/woocommerce/checkout/thankyou.php phoneswap/woocommerce/content-product.php phoneswap/woocommerce/content-product_cat.php phoneswap/woocommerce/content-single-product.php phoneswap/woocommerce/content-widget-product.php phoneswap/woocommerce/emails/admin-cancelled-order.php phoneswap/woocommerce/emails/admin-failed-order.php phoneswap/woocommerce/emails/admin-new-order.php phoneswap/woocommerce/emails/customer-completed-order.php phoneswap/woocommerce/emails/customer-invoice.php phoneswap/woocommerce/emails/customer-new-account.php phoneswap/woocommerce/emails/customer-note.php phoneswap/woocommerce/emails/customer-processing-order.php phoneswap/woocommerce/emails/customer-refunded-order.php phoneswap/woocommerce/emails/customer-reset-password.php phoneswap/woocommerce/emails/email-addresses.php phoneswap/woocommerce/emails/email-footer.php phoneswap/woocommerce/emails/email-order-items.php phoneswap/woocommerce/emails/email-styles.php phoneswap/woocommerce/emails/plain/admin-cancelled-order.php phoneswap/woocommerce/emails/plain/admin-new-order.php phoneswap/woocommerce/emails/plain/customer-completed-order.php phoneswap/woocommerce/emails/plain/customer-invoice.php phoneswap/woocommerce/emails/plain/customer-new-account.php phoneswap/woocommerce/emails/plain/customer-note.php phoneswap/woocommerce/emails/plain/customer-processing-order.php phoneswap/woocommerce/emails/plain/customer-refunded-order.php phoneswap/woocommerce/emails/plain/customer-reset-password.php phoneswap/woocommerce/emails/plain/email-addresses.php phoneswap/woocommerce/emails/plain/email-order-items.php phoneswap/woocommerce/global/breadcrumb.php phoneswap/woocommerce/global/form-login.php phoneswap/woocommerce/global/quantity-input.php phoneswap/woocommerce/global/sidebar.php phoneswap/woocommerce/global/wrapper-end.php phoneswap/woocommerce/global/wrapper-start.php phoneswap/woocommerce/loop/add-to-cart.php phoneswap/woocommerce/loop/loop-end.php phoneswap/woocommerce/loop/loop-start.php phoneswap/woocommerce/loop/no-products-found.php phoneswap/woocommerce/loop/orderby.php phoneswap/woocommerce/loop/pagination.php phoneswap/woocommerce/loop/price.php phoneswap/woocommerce/loop/rating.php phoneswap/woocommerce/loop/result-count.php phoneswap/woocommerce/loop/sale-flash.php phoneswap/woocommerce/myaccount/form-add-payment-method.php phoneswap/woocommerce/myaccount/form-edit-account.php phoneswap/woocommerce/myaccount/form-edit-address.php phoneswap/woocommerce/myaccount/form-login.php phoneswap/woocommerce/myaccount/form-lost-password.php phoneswap/woocommerce/myaccount/my-account.php phoneswap/woocommerce/myaccount/my-address.php phoneswap/woocommerce/myaccount/my-downloads.php phoneswap/woocommerce/myaccount/my-orders.php phoneswap/woocommerce/myaccount/view-order.php phoneswap/woocommerce/notices/error.php phoneswap/woocommerce/notices/notice.php phoneswap/woocommerce/notices/success.php phoneswap/woocommerce/order/form-tracking.php phoneswap/woocommerce/order/order-again.php phoneswap/woocommerce/order/order-details-customer.php phoneswap/woocommerce/order/order-details-item.php phoneswap/woocommerce/order/order-details.php phoneswap/woocommerce/order/tracking.php phoneswap/woocommerce/product-searchform.php phoneswap/woocommerce/single-product/add-to-cart/external.php phoneswap/woocommerce/single-product/add-to-cart/grouped.php phoneswap/woocommerce/single-product/add-to-cart/simple.php phoneswap/woocommerce/single-product/add-to-cart/variable.php phoneswap/woocommerce/single-product/meta.php phoneswap/woocommerce/single-product/price.php phoneswap/woocommerce/single-product/product-attributes.php phoneswap/woocommerce/single-product/product-image.php phoneswap/woocommerce/single-product/product-thumbnails.php phoneswap/woocommerce/single-product/rating.php phoneswap/woocommerce/single-product/related.php phoneswap/woocommerce/single-product/review.php phoneswap/woocommerce/single-product/sale-flash.php phoneswap/woocommerce/single-product/share.php phoneswap/woocommerce/single-product/short-description.php phoneswap/woocommerce/single-product/tabs/additional-information.php phoneswap/woocommerce/single-product/tabs/description.php phoneswap/woocommerce/single-product/tabs/tabs.php phoneswap/woocommerce/single-product/title.php phoneswap/woocommerce/single-product/up-sells.php phoneswap/woocommerce/single-product-reviews.php phoneswap/woocommerce/single-product.php phoneswap/woocommerce/taxonomy-product_cat.php phoneswap/woocommerce/taxonomy-product_tag.php ### WC Vendors Pro ### Theme Compatability: - Pro Dashboard Page: ✔ - #2723 Feedback form page: ✔ - #2711 Vendor Shop Permalink: ✔ - vendors/ ### Templates ### Overrides: phoneswap/wc-vendors/dashboard/nav.php phoneswap/wc-vendors/dashboard/product-edit.php
July 18, 2016 at 10:09 am #37441Erik Bazuin
ParticipantSome images
July 18, 2016 at 10:13 am #37446Sebastien LETT
ParticipantHi guys
I have exactly the same problem.
July 18, 2016 at 2:08 pm #37459WC Vendors Support
ParticipantCan you replicate this on dev.wcvendors.com with a vendor login? If you can not, you’ll want to check your WooCommerce inventory options, too. Make sure inventory management and all that jazz is enabled, and also make sure you’re allowing vendors to set the stock status (in the last screenshot that was disabled).
July 18, 2016 at 5:57 pm #37521Erik Bazuin
ParticipantThanks for your reply last screenshots Only decides what needs to be dissbled for the vendors . So stock management should work while the checkbox is not checked.
July 19, 2016 at 11:55 am #37583Sebastien LETT
ParticipantHi guys!
For my part, I found the problem. I was using this code in function.php
add_filter( 'wcv_product_stock_qty', 'change_default_stock_qty' ); function change_default_stock_qty() { $field['post_id'] = $post_id; $field['id'] = '_stock'; $field['label'] = __( 'Stock Qty', 'wcvendors-pro' ); $field['wrapper_start'] = '<div class="all-100">'; $field['wrapper_end'] = '</div>'; $field['desc_tip'] = 'true'; $field['description'] = __( 'Stock quantity.', 'wcvendors-pro' ); $field['type'] = 'number'; $field['data_type'] = 'stock'; $field['custom_attributes']['step'] = 'any'; $field['value'] = '1'; // This sets the quantity return $field; }
But this code generates a bug in the system. In the frontend, I can’t add more than 1 quantity per product.
Has anyone a solution to sets the quantity per default to 1 ?
Regards,
SlettJuly 19, 2016 at 12:49 pm #37586WC Vendors Support
ParticipantSlett,
You dont have to define ALL that stuff in your custom code. Just the;
$field['value'] = '1'; // This sets the quantity
…line is all that’s really important.
July 19, 2016 at 1:45 pm #37596Sebastien LETT
ParticipantHi ben,
I have exaclty the same problem (Stock issue) with only this line.
Regards
SlettAugust 25, 2016 at 8:40 am #41020Patricia
ParticipantHi everyone,
I’ve purchased WC Vendors Pro recently and I’m using it with the BuddyBoss OneSocial Marketplace and this is also happening.
Is there any update on this? A work around it? This is fundamental to make my site work.
Thanks!
— Patricia
August 27, 2016 at 10:20 am #41158Anna
MemberPatricia, there are a few issues mentioned in this thread. Which issue are you having on your site?
Have you tried switching to the storefront theme https://woocommerce.com/storefront/ and disabling all but the necessary plugins (woocommerce, wcvendors, wcvendors pro) and then testing to see if the issue still occurs?If the testing with storefront and only the three plugins does not solve the issue, please reply with:
1. clarification of what issue you are having and
2. Your woocommerce system status report.Thank you!
September 1, 2016 at 10:24 am #41616Patricia
ParticipantHi Anna,
My problem is regarding the stock update. When an item is purchased, the stock amount doesn’t change. I’m using the last version of the plugin – 1.3.6 (Aug 20).
I hope this helps.
Thanks,
— Patricia
September 2, 2016 at 1:20 pm #41708Patricia
ParticipantHello,
Maybe as a result of some plugin update, it seems to be working now …
I’m considering it solved.thanks.
September 25, 2016 at 5:02 pm #43521Patricia
ParticipantHi Anna,
here’s the reason, stated before in this post:
I looked at the logic of the products controller for stock status and the product form helper and can confirm this is a bug. If you have “stock status” disabled from the pro form settings, it doesn’t bother setting the postmeta for _stock_status
I’ve unchecked stock status from being hidden, in that WC Vendors Product Form tab, and it’s solved!
If this is not a bug, I think this behaviour might not be clear to everybody.-
This reply was modified 6 years, 8 months ago by
Patricia.
-
This reply was modified 6 years, 8 months ago by
-
AuthorPosts
- The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.