Force a fixed price for any new products in a multi-vendor environment
-
Ok, here is this issue.It seems that few has ever encountered such circumstances:
I`m working on a multi-vendor woocommerce platform, and I want to make every products published on it to have the same price. To do so, I need to erase the pricing part in adding new items in woocommerce UI(for all vendors and even myself), and automatically assign a fixed price value for every newly added items in the backend.
Solutions I have tried:
1.searching for templates folder in woocommerce, it seems that the basic UI thing for adding new item is not stored here.
2.some plugins that allows me to control the global price for products.But they cannot solve the UI part of the problem.I`m glad that us woocommerce-users have such a forum to disscuss and exchange our skills & techniques. If someone can guide me to solve those problems, I would be glad.
Warm thanks.
-
Hi @hector0371!
What multi-vendor plugin or platform are you using?
To know more about your setup and point you in the right direction, kindly provide us your System Status; you can find it via
WooCommerce > Status
. Select ‘Get system report’ and then ‘Copy for support’. Once you do this, you can paste your response here.Thanks!
Thank you for your reply. I`m trying both Dokan and WCMP to see which one suits my need. Here is the detailed information:
### WordPress Environment ### WordPress address (URL): https://121.40.240.216 Site address (URL): https://121.40.240.216 WC Version: 6.3.1 REST API Version: ? 6.3.1 WC Blocks Version: ? 6.9.0 Action Scheduler Version: ? 3.4.0 WC Admin Version: ? 3.2.1 Log Directory Writable: ? WP Version: 6.0 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: zh_CN External object cache: – ### Server Environment ### Server Info: nginx/1.20.2 PHP Version: 7.4.28 PHP Post Max Size: 50 MB PHP Time Limit: 300 PHP Max Input Vars: 1000 cURL Version: 7.70.0 OpenSSL/1.0.2u SUHOSIN Installed: – MySQL Version: 8.0.24 Max Upload Size: 50 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? wp_remote_post() failure Remote Get: ? ### Database ### WC Database Version: 6.3.1 WC Database Prefix: wp_ Database Net: 8.38MB Database data: 6.14MB Database Index: 2.24MB wp_woocommerce_sessions: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB wp_woocommerce_api_keys: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB wp_woocommerce_attribute_taxonomies: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB wp_woocommerce_downloadable_product_permissions: 数据:0.02MB + 索引:0.06MB + 引擎 InnoDB wp_woocommerce_order_items: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB wp_woocommerce_order_itemmeta: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB wp_woocommerce_tax_rates: 数据:0.02MB + 索引:0.06MB + 引擎 InnoDB wp_woocommerce_tax_rate_locations: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB wp_woocommerce_shipping_zones: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB wp_woocommerce_shipping_zone_locations: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB wp_woocommerce_shipping_zone_methods: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB wp_woocommerce_payment_tokens: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB wp_woocommerce_payment_tokenmeta: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB wp_woocommerce_log: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB wp_actionscheduler_actions: 数据:0.02MB + 索引:0.11MB + 引擎 InnoDB wp_actionscheduler_claims: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB wp_actionscheduler_groups: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB wp_actionscheduler_logs: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB wp_commentmeta: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB wp_comments: 数据:0.02MB + 索引:0.08MB + 引擎 InnoDB wp_dokan_announcement: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB wp_dokan_orders: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB wp_dokan_refund: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB wp_dokan_vendor_balance: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB wp_dokan_withdraw: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB wp_e_submissions: 数据:0.02MB + 索引:0.23MB + 引擎 InnoDB wp_e_submissions_actions_log: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB wp_e_submissions_values: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB wp_layerslider: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB wp_layerslider_drafts: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB wp_layerslider_revisions: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB wp_links: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB wp_options: 数据:3.02MB + 索引:0.20MB + 引擎 InnoDB wp_postmeta: 数据:0.25MB + 索引:0.23MB + 引擎 InnoDB wp_posts: 数据:1.52MB + 索引:0.06MB + 引擎 InnoDB wp_rs_expiredpoints_email: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB wp_rs_templates_email: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB wp_rsgiftvoucher: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB wp_rspointexpiry: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB wp_rsrecordpoints: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB wp_social_users: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB wp_sumo_reward_encashing_submitted_data: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB wp_sumo_reward_send_point_submitted_data: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB wp_term_relationships: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB wp_term_taxonomy: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB wp_termmeta: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB wp_terms: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB wp_usermeta: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB wp_users: 数据:0.02MB + 索引:0.05MB + 引擎 InnoDB wp_wc_admin_note_actions: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB wp_wc_admin_notes: 数据:0.05MB + 索引:0.00MB + 引擎 InnoDB wp_wc_category_lookup: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB wp_wc_customer_lookup: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB wp_wc_download_log: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB wp_wc_order_coupon_lookup: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB wp_wc_order_product_lookup: 数据:0.02MB + 索引:0.06MB + 引擎 InnoDB wp_wc_order_stats: 数据:0.02MB + 索引:0.05MB + 引擎 InnoDB wp_wc_order_tax_lookup: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB wp_wc_product_attributes_lookup: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB wp_wc_product_meta_lookup: 数据:0.02MB + 索引:0.09MB + 引擎 InnoDB wp_wc_rate_limits: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB wp_wc_reserved_stock: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB wp_wc_tax_rate_classes: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB wp_wc_webhooks: 数据:0.02MB + 索引:0.02MB + 引擎 InnoDB wp_wdp_order_items: 数据:0.02MB + 索引:0.06MB + 引擎 InnoDB wp_wdp_orders: 数据:0.02MB + 索引:0.05MB + 引擎 InnoDB wp_wdp_persistent_rules_cache: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB wp_wdp_rules: 数据:0.02MB + 索引:0.03MB + 引擎 InnoDB wp_yith_ywpar_points_log: 数据:0.02MB + 索引:0.00MB + 引擎 InnoDB ### Post Type Counts ### attachment: 12 blocks: 8 elementor_library: 1 featured_item: 8 nav_menu_item: 38 page: 92 post: 9 product: 64 revision: 71 wp_global_styles: 1 wpcf7_contact_form: 5 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (6) ### Admin Menu Editor: 来自 Janis Elsts – 1.10 经典编辑器: 来自 WordPress贡献者 – 1.6.2 Dokan: 来自 weDevs – 3.4.0 WooCommerce: 来自 Automattic – 6.3.1(可更新至版本 6.5.1) ### Inactive Plugins (18) ### Advanced Dynamic Pricing for WooCommerce: 来自 AlgolPlus – 4.1.0 Akismet Anti-Spam: 来自 Automattic – 4.2.2 ATR Woocommerce Global Price Options: 来自 Yehuda Tiram – 1.0.5 Backup Migration: 来自 Migrate – 1.1.9 BlossomThemes Toolkit: 来自 blossomthemes – 2.2.2 Elementor: 来自 Elementor.com – 3.5.6 Elementor Pro: 来自 Elementor.com – 3.6.2 GamiPress: 来自 GamiPress – 2.3.0 Hello Dolly: 来自 Matt Mullenweg – 1.7.2 Jetpack: 来自 Automattic – 10.7 LayerSlider: 来自 Kreatura Media – 7.1.2 Nextend Social Login: 来自 Nextendweb – 3.1.4 Points and Rewards for WooCommerce: 来自 WP Swings – 1.2.4 Texty: 来自 weDevs – 1.1 Multivendor Marketplace Solution for WooCommerce 来自 WCMarketplace - 3.8.11.3 ### Settings ### API Enabled: – Force SSL: – Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – ### WC Pages ### 商店基础链接: #71 - /shop-2/ 购物车: #70 - /cart-2/ 结账: #69 - /checkout-2/ 我的帐户: #68 - /my-account-2/ 条款和条件: ? 页面没有设置 ### Theme ### Name: Flatsome Child Version: 3.0 Author URL: Child Theme: ? Parent Theme Name: Flatsome Parent Theme Version: 3.15.4 Parent Theme Author URL: https://www.uxthemes.com/ WooCommerce Support: ? ### Templates ### Overrides: flatsome/woocommerce/archive-product.php flatsome/woocommerce/cart/cart-empty.php flatsome/woocommerce/cart/cart-shipping.php flatsome/woocommerce/cart/cart.php flatsome/woocommerce/checkout/form-checkout.php flatsome/woocommerce/checkout/form-coupon.php flatsome/woocommerce/checkout/terms.php flatsome/woocommerce/checkout/thankyou.php flatsome/woocommerce/content-product-cat.php flatsome/woocommerce/content-product.php flatsome/woocommerce/content-single-product.php flatsome/woocommerce/content-widget-product.php flatsome/woocommerce/global/breadcrumb.php flatsome/woocommerce/global/quantity-input.php flatsome/woocommerce/global/wrapper-end.php flatsome/woocommerce/global/wrapper-start.php flatsome/woocommerce/loop/loop-end.php flatsome/woocommerce/loop/loop-start.php flatsome/woocommerce/loop/pagination.php flatsome/woocommerce/loop/result-count.php flatsome/woocommerce/loop/sale-flash.php flatsome/woocommerce/myaccount/form-login.php flatsome/woocommerce/myaccount/navigation.php flatsome/woocommerce/notices/error.php flatsome/woocommerce/notices/notice.php flatsome/woocommerce/notices/success.php flatsome/woocommerce/product-searchform.php flatsome/woocommerce/single-product/photoswipe.php flatsome/woocommerce/single-product/price.php flatsome/woocommerce/single-product/product-image.php flatsome/woocommerce/single-product/product-thumbnails.php flatsome/woocommerce/single-product/rating.php flatsome/woocommerce/single-product/related.php flatsome/woocommerce/single-product/review.php flatsome/woocommerce/single-product/sale-flash.php flatsome/woocommerce/single-product/share.php flatsome/woocommerce/single-product/short-description.php flatsome/woocommerce/single-product/tabs/tabs.php flatsome/woocommerce/single-product/title.php flatsome/woocommerce/single-product/up-sells.php flatsome/woocommerce/single-product-reviews.php flatsome/woocommerce/single-product.php flatsome/woocommerce/content-product_cat.php ### Action Scheduler ### 完成: 19 Oldest: 2022-05-23 20:20:24 +0800 Newest: 2022-05-25 03:56:37 +0800 ### Status report information ### Generated at: 2022-05-25 22:02:21 +08:00
- This reply was modified 2 years, 6 months ago by hector0371.
- This reply was modified 2 years, 6 months ago by Steven Stern (sterndata).
Hi @hector0371,
Thanks for confirming you’re using Dokan and WCMP plugins.
This is a fairly complex development topic and our scope of support doesn’t cover third-party plugins on this specific forum. You could reach out to Dokan and WCMP support teams to see if they have a solution for your use case.
That said, you may want to take a look at this Stack Exchange post where another user proposed a solution to set a default regular price for all products and remove the sale price field.
Note that this is valid for WooCommerce core and I’ve not tested it and am not sure is working with multivendor plugins. We assume no responsibility for issues arising from using custom code found on the web. It’s best to backup your content and database before making changes.
If you’re not personally familiar with custom development for WooCommerce it may be possible to have a developer write some custom code that could achieve this custom implementation for you.
If you would like to investigate that possibility further, you could reach out to some of the official WooCommerce development partners via the link below.
https://woocommerce.com/customizations/
Best regards.
Oh my! What you just provided is really helpful! It was hard to contact multi-vendor plugins contacts for more information, and I was thinking about getting hint on doing so on woocommerce core. You just gave me exactly what I need at this time! It is so glad to receive support from you. Thank you sooooooo much !
Hello @hector0371!
Glad to hear it – thanks for letting us know!
I’ll mark this thread as resolved now. If you have any further questions, I recommend creating a new thread.
Hi @hector0371,
You’re most welcome! I’m really happy to hear that post is helpful to you!
The thread is still open so I’ll go ahead and mark it as resolved now.
Open a new topic as suggested by Joseph if you have more questions and we’ll be happy to help!
Cheers.
- The topic ‘Force a fixed price for any new products in a multi-vendor environment’ is closed to new replies.