Forum Replies Created
-
AuthorPosts
-
Erik BazuinParticipant
### 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/order/order_details.php phoneswap/wc-vendors/dashboard/order/order_note.php phoneswap/wc-vendors/dashboard/order/order_note_form.php phoneswap/wc-vendors/dashboard/order/shipping-label.php phoneswap/wc-vendors/dashboard/order/tracking_number.php phoneswap/wc-vendors/dashboard/product-edit.php phoneswap/wc-vendors/dashboard/reports/overview.php phoneswap/wc-vendors/dashboard/reports/reports.php phoneswap/wc-vendors/front/pro-vendor-list.php phoneswap/wc-vendors/front/ratings/feedback-form.php phoneswap/wc-vendors/front/ratings/ratings-display-panel.php phoneswap/wc-vendors/front/shipping/shipping-panel.php phoneswap/wc-vendors/front/vendor-pending-notice.php phoneswap/wc-vendors/front/vendor-signup-form.php phoneswap/wc-vendors/store/store-header.php phoneswap/wc-vendors/store/store-ratings.php phoneswap/wc-vendors/store/store-vacation-message.php
Erik BazuinParticipant@Anna
Well a new product should have 1 in stock and when this product is bought it should dossappear from the website.
But i can keep buying the product so the stock is not set i guess.I can not recall what happende could be anything.
Gr Erik
Erik BazuinParticipantHi,
Thanks dor your reply!
Well thats great!
Could you think of Anything that might cause it not to work?
Gr Erik
Erik BazuinParticipantHi Guys,
i have used your code and when testing it worked fine, suddenly it stopped and i do not know why.
What i need is only 1 in stock when a product is added, and when sold the product needs te dissappear from the site
changing this to $field[‘value’] = ‘1’; // This sets the quantity should work right?
Could somebody be of assistance!
Gr Erik
Erik BazuinParticipantHi,
thanks for your explenation, but sorry you do not understand me quite correct, i guess i was not clear enough. The form refreshes after sending in the product. after hitting submit i do not want to refresh and see the notification. i want to redirect to another page.
Erik BazuinParticipantWell when you place a product you send it in for review, then you will be redirected to the same page with an empty form so you can add another product.
I would like to redirect to another page.
gr
Erik BazuinParticipantThanks 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.
Erik BazuinParticipantSome images
Erik BazuinParticipant### 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
-
AuthorPosts