Home › Forums › WC Vendors Pro Support › Customize Menu Items and Links within Pro Dashboard
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 2 replies, 2 voices, and was last updated 7 years, 2 months ago by Anna.
-
AuthorPosts
-
February 9, 2017 at 10:17 am #55589floweParticipant
Hy,
I have a few questions regarding the Pro Dashboard; how can I modify menu items within the WCVendors Pro Dashboard?
1) My Add Product Button on the Pro-Dashboard currently points me to:
https://www.pitchr.org/wp/dashboard/product/editBut I want the button to use this link:
https://www.pitchr.org/wp/add-project/How can I change this?
2) Within Pro Dashboard – Settings;
How can I remove / hide some submenu items? For example, I want to hide the “Payment” Tab completely.3) Pro Dashboard – Dashboard.
I dont want to display the commission and totals tables – whats the best way to hide these – via css?Thank you for your help – as always!
February 9, 2017 at 10:18 am #55590floweParticipantLogin credentials:
User: wooninja
Pass: p7fCfANA2iah### WordPress Environment ###
Home URL: https://www.pitchr.org/wp
Site URL: https://www.pitchr.org/wp
WC Version: 2.6.14
Log Directory Writable: ✔
WP Version: 4.7.2
WP Multisite: –
WP Memory Limit: 160 MB
WP Debug Mode: –
WP Cron: ✔
Language: en_US### Server Environment ###
Server Info: Apache
PHP Version: 5.6.30
PHP Post Max Size: 200 MB
PHP Time Limit: 38
PHP Max Input Vars: 1000
cURL Version: 7.51.0
OpenSSL/1.0.1eSUHOSIN Installed: ✔
MySQL Version: ❌ 5.5.54 – We recommend a minimum MySQL version of 5.6. See: WordPress Requirements
Max Upload Size: 200 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔### Database ###
WC Database Version: 2.6.14
:
woocommerce_sessions: ✔
woocommerce_api_keys: ✔
woocommerce_attribute_taxonomies: ✔
woocommerce_downloadable_product_permissions: ✔
woocommerce_order_items: ✔
woocommerce_order_itemmeta: ✔
woocommerce_tax_rates: ✔
woocommerce_tax_rate_locations: ✔
woocommerce_shipping_zones: ✔
woocommerce_shipping_zone_locations: ✔
woocommerce_shipping_zone_methods: ✔
woocommerce_payment_tokens: ✔
woocommerce_payment_tokenmeta: ✔### Active Plugins (30) ###
VaultPress: by Automattic – 1.8.6
BuddyPress Follow: by Andy Peatling
r-a-y – 1.2.2BuddyPress: by The BuddyPress Community – 2.7.4
Cloudflare: by John Wineman
Furkan Yilmaz
Junade Ali (Cloudflare Team) – 3.1.1Content Egg: by keywordrush.com – 3.2.1
Envato Market: by Derek Herman – 1.0.0-RC2
EWWW Image Optimizer: by Shane Bishop – 3.2.5
Indeed Coming Soon: by indeed – 3.0
WPBakery Visual Composer: by Michael M – WPBakery.com – 5.0.1
Loco Translate: by Tim Whitlock – 2.0.11
MailChimp for WordPress: by ibericode – 4.0.13
MailChimp for WordPress – Premium: by ibericode – 3.3.1
WordPress Meta Data & Taxonomies Filter (MDTF): by realmag777 – 2.2.1
myCRED: by Gabriel S Merovingi – 1.7.5
RH Frontend Publishing Pro: by Hassan Akhtar
Wpsoul.com – 3.2.9.1RH Grandchild Custom: by Check docs – 1.0.3
Table Maker: by Wpsoul – 1.6
WC Vendors Pro: by WC Vendors – 1.3.6
WC Vendors: by WC Vendors – 1.9.8
WooCommerce Customizer: by SkyVerge – 2.3.1
WooCommerce Max Quantity: by Isabel Castillo – 1.3
WooCommerce Product Add-ons: by Automattic – 2.7.26
WooCommerce Sale Time Countdown: by AKbyte – 1.0
WooCommerce Scheduled Sales: by IgniteWoo.com – Custom Extensions and Development for WooCommerce! – 2.3.12
WooCommerce: by WooThemes – 2.6.14
WooSidebars: by WooThemes – 1.4.3
WooCommerce Helper: by WooCommerce – 1.7.2
WordPress Importer: by wordpressdotorg – 0.6.3
Yoast SEO: by Team Yoast – 4.2.1
YITH WooCommerce Wishlist: by YITHEMES – 2.0.16### Settings ###
Force SSL: –
Currency: EUR (€)
Currency Position: left
Thousand Separator: .
Decimal Separator: ,
Number of Decimals: 2### API ###
API Enabled: ✔
### WC Pages ###
Shop Base: #4 – /projects-2/
Cart: #5 – /pendingsubmissions/
Checkout: #6 – /checkout/
My Account: #7 – /creatives_dashboard/### Taxonomies ###
Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)### Theme ###
Name: Rehub child theme – Revendor
Version: 6.8
Author URL: https://wpsoul.com/
Child Theme: ✔
Parent Theme Name: Rehub theme
Parent Theme Version: 6.8.1
Parent Theme Author URL: https://wpsoul.com/
WooCommerce Support: ✔### Templates ###
Overrides: rehub/woocommerce/archive-product.php
rehub-vendor/woocommerce/cart/cart.php
rehub/woocommerce/cart/cross-sells.php
rehub-vendor/woocommerce/checkout/review-order.php
rehub/woocommerce/content-product.php
rehub/woocommerce/content-product_cat.php
rehub/woocommerce/global/wrapper-end.php
rehub/woocommerce/global/wrapper-start.php
rehub/woocommerce/loop/add-to-cart.php
rehub/woocommerce/loop/loop-end.php
rehub/woocommerce/loop/loop-start.php
rehub/woocommerce/loop/sale-flash.php
rehub/woocommerce/single-product/add-to-cart/external.php
rehub/woocommerce/single-product/meta.php
rehub/woocommerce/single-product/price.php
rehub/woocommerce/single-product/product-image.php
rehub/woocommerce/single-product/product-thumbnails.php
rehub/woocommerce/single-product/related.php
rehub/woocommerce/single-product/sale-flash.php
rehub/woocommerce/single-product/short-description.php
rehub/woocommerce/single-product/tabs/description.php
rehub/woocommerce/single-product/up-sells.php
rehub/woocommerce/single-product-reviews.php
rehub/woocommerce/single-product.php### WC Vendors Pro ###
Theme Compatability: –
Pro Dashboard Page: ✕ -WC Vendors Pro WILL NOT FUNCTION without this set. Click here to set the page.
Feedback form page: – #32
Vendor Shop Permalink: – project-creators/### Templates ###
Overrides: rehub-vendor/wc-vendors/dashboard/product-edit.php
rehub/wc-vendors/dashboard/store-settings.php
rehub/wc-vendors/front/ratings/feedback-form.php
rehub/wc-vendors/front/ratings/ratings-display-panel.php
rehub/wc-vendors/store/store-ratings.phpFebruary 9, 2017 at 7:16 pm #55624AnnaMemberHello,
1) That would be a massive pain and require several changes in several core files to alter the url. I would advise you leave it; I looked into it and I don;t even want to try to do it. Did you build a special page for adding products? Are you using ReHub’s form for that? Is that why you want to change it? If so, then you might have to modify a core file and I would recommend against doing that. We have the Pro forms built to work with WC Vendors and WooCommerce and we do not support any other forms being used for WC Vendors Pro.You CAN however change the link, so that it says Add Project. That is unless ReHub has modified that template- and in that cas,e I do not know if this code will work. You can try it in your theme.child theme functions.php to change the link for add product:
https://gist.github.com/fervous/4e88497ecb7f04d02c2a70707a2d22702) wp admin > woocommerce > wc vendors > settings form : Settings Form Tabs check: Payment
Do the same for the Signup Form also if you do not want the Payment tab on there either.3) In order to remove the commissions area form the main dashboard page, you will need to modify a template.
If you have not yet modified a wc vendors template, please read this article which gives the proper path for your theme or child theme for modified templates:
https://www.wcvendors.com/kb/changing-vendor-templates/Again- I do not know if ReHub:Vendor has already modified this template. If so, then I do not know how those templates are stored in this theme/child theme. If this is the case, then your edits will not show up, and you will need to ask the author how to modify the template.
The template you will need to change is the overview.php template.
This can be located here:
wp-content/plugins/wc-vendors-pro/templates/dashboard/reports/overview.php
Move it to your theme or child theme:
wp-content/themes/yourtheme-or-childtheme/wc-vendors/dashboard/reports/overview.phpYou will be looking to remove approx lines 25-66.
These lines look like this:<div class="xlarge-50 large-50 medium-100 small-100 tiny-100"> <h3><?php _e( 'Commission Due', 'wcvendors-pro'); ?></h3> <table role="grid" class="wcvendors-table wcvendors-table-recent_order wcv-table"> <tbody> <tr> <td><?php _e( 'Products', 'wcvendors-pro'); ?></td> <td><?php echo woocommerce_price( $store_report->commission_due ) ;?></td> </tr> <tr> <td><?php _e( 'Shipping', 'wcvendors-pro'); ?></td> <td><?php echo woocommerce_price( $store_report->commission_shipping_due ) ;?></td> </tr> <tr> <td><strong><?php _e( 'Totals', 'wcvendors-pro'); ?></strong></td> <td><?php echo woocommerce_price( $store_report->commission_due + $store_report->commission_shipping_due ) ;?></td> </tr> </tbody> </table> </div> <div class="xlarge-50 large-50 medium-100 small-100 tiny-100"> <h3><?php _e( 'Commission Paid', 'wcvendors-pro'); ?></h3> <table role="grid" class="wcvendors-table wcvendors-table-recent_order wcv-table"> <tbody> <tr> <td><?php _e( 'Products', 'wcvendors-pro'); ?></td> <td><?php echo woocommerce_price( $store_report->commission_paid ) ;?></td> </tr> <tr> <td><?php _e( 'Shipping', 'wcvendors-pro'); ?></td> <td><?php echo woocommerce_price( $store_report->commission_shipping_paid ) ;?></td> </tr> <tr> <td><strong><?php _e( 'Totals', 'wcvendors-pro'); ?></strong></td> <td><?php echo woocommerce_price( $store_report->commission_paid + $store_report->commission_shipping_paid ) ;?></td> </tr> </tbody> </table> </div>
-
AuthorPosts
- The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.