Knowledgebase
A+
A-

Set up – WCMp Endpoints

Endpoints are essentially an extra part of the website URL that we detect and show different content when present.

– Woocommerce.

WCMp has moved on from using pages and shortcodes to using endpoints in order to show certain content to vendors on the frontend as of version 2.6+. This allows us to show different content without the need for multiple pages and shortcodes, thus reducing the amount of content we need to install.

Available Endpoints

Endpoints replace previous versions of WC Marketplace, pages and shortcodes. Examples of endpoints in WCMp include:

Pages

Previous Shortcodes

Equivalent Endpoints

Equivalent Endpoints (WCMp versions < 3.0)

Vendor Announcements Page

Page with [vendor_announcements] Shortcode

/vendor-announcements/

Similar

Shop Settings Page

Page with [shop_settings] shortcode

/storefront/

/shop-front/

Vendor Billing Page

Page with [vendor_billing] Shortcode

/vendor-billing/

Similar

Vendor Policies Page

Page with [vendor_policies] Shortcode

/vendor-policies/

Similar

Vendor Shipping Page

Page with [vendor_shipping_settings] Shortcode

/vendor-shipping/

Similar

Vendor Reports Page

Page with [vendor_report] Shortcode

/vendor-report/

Similar

Vendor Orders Page

Page with [vendor_orders] Shortcode

/vendor-orders/

Similar

Vendor Single Order View Page

Page with [vendor_order_detail] Shortcode

/vendor-orders/{order-id}

Similar

Vendor Withdrawals Page

Page with [vendor_widthdrawals] Shortcode

/vendor-withdrawal/

Similar

Transaction Details Page

Page with [transaction_details] Shortcode

/transaction-details/

Similar

Transaction Status Page

Page with [transaction_thankyou] shortcode

/transaction-details/{transaction-id}

Similar

Vendor University Page

Page with [vendor_university] Shortcode

/vendor-knowledgebase/

/vendor-university/

All Products added by Vendor (under Product Manager)

Page with [wcmp_pending_products] Shortcode.

N.B: This page was previously available if WCMp Frontend Manager was activated. WCMp didn’t provide any such page as all products added by the vendor were to be viewed from backend. For versions > 3.0, all products irrespective of product types can be viewed on this page.

/products/

N/A

Add Product Page

Page with [wcmp_frontend_product_manager] Shortcode.

N.B: This page was previously available if WCMp Frontend Manager was activated. WCMp didn’t provide any such page as all products were to be added from backend by the vendor. Since, for versions > 3.0, simple product type can be added from the vendor frontend dashboard itself, we decided to include the endpoint in WCMp itself.

/add-product/

N/A

All Coupons added by Vendor (under Coupons)

Page with [wcmp_frontend_coupon_manager] Shortcode.

N.B: This page was previously available if WCMp Frontend Manager was activated. WCMp didn’t provide any such page as all coupons added by the vendor were to be viewed from backend. For versions > 3.0, all coupons can be viewed on this page.

/coupons/

N/A

Add Coupons Page

Page with [wcmp_coupons] Shortcode.

N.B: This page was previously available if WCMp Frontend Manager was activated. WCMp didn’t provide any such page as all coupons were to be added from backend by the vendor. For versions > 3.0, all coupons can be added from this page.

/add-coupon/

N/A

These page shortcodes are no more available and hence they won’t function as expected! For a brief on available shortcodes refer to our List of Shortcodes page.

Why have we replaced WCMp pages and shortcodes with endpoints?

Simply because with pages and shortcodes, we had to install the page, then set the content, then ensure WCMp knew where these pages were via settings thereby a simple update risked user errors. With endpoints, it is now less prone to user error and updating is a lot easier.

Customizing endpoint URLs

The URL for each endpoint can be customized in WCMp Settings. To edit and customize WCMp Vendor Dashboard Endpoints simply navigate to WCMp > Settings > Vendor Pages > WCMp Vendor Dashboard Endpoints.

Customizing Endpoint Template Files

Endpoint templates are located in WCMp plugin (folder) > templates (folder) > vendor-dashboard (folder). To overwrite those templates copy file to {your-theme-name}/dc-product-vendor/vendor-dashboard/{template-file-to-be-updated}.php and do the update.

Troubleshooting

Endpoints showing 404

If you see a 404 error, go to WordPress Admin Dashboard > Settings > Permalinks and Save. This ensures that rewrite rules for endpoints exist and are ready to be used.

Pages direct to wrong place

Landing on the wrong page when clicking an endpoint URL is typically caused by incorrect settings. For example, clicking ‘Vendor Announcements’ from the Vendor Dashboard takes you to the Vendor Store Settings page means you selected the wrong page in settings. Confirm that your pages are correctly configured and that a different page is used for each section.

P.S. Have more ideas to share or facing a hard to explain issue? Our quick support will definitely help you in the right direction… that’s a word you can trust.

Was this helpful? Yes No