Can we check through a function if we are on an MVX Page?

MultivendorX Pro

Resolved
Viewing 6 reply threads
  • Author
    Posts
    • #216049
      Simon Thomas
      Participant

      Hi there,
      like woocommerce has a function is_woocommerce() which returns true if we are on a woocommerce page; do we have any function here on MVX through which we can determine if we are on an MVX page?

    • #216054

      @Simon Thomas It depends on the pages.
      For each page of MultiVendorX we have different checking. So kindly let us know which page of MultiVendorX you need information about. We will therefore assist you according to that.

    • #216055
      Simon Thomas
      Participant

      Product Manager > All Product

      I want to get All Product page through php, is it possible?

    • #216056

      If you want to add customisation for the All products page under Product manager you just need to override the products.php template file. For overriding the template file follow the below overriding path-
      yourtheme/MultiVendorX/vendor-dashboard/product-manager/products.php.

      Let us know if you need any further assistance from our end.

    • #216058
      Simon Thomas
      Participant

      I was talking about this function, is_vendor_dashboard()

      Found it from the plugin.
      And check your reply!

    • #216059

      @Simon Thomas Yes, you are absolutely right. You need to use the function is_vendor_dashboard() for checking the vendor dashboard page.
      In our earlier reply we shared the template file for the all product page in the vendor dashboard.
      However, let us know if you need any further assistance from our end.

    • #218122

      It’s been long and we have not heard back from you. We are closing this thread. If you need help or face issue in future please do create a new support ticket.

Viewing 6 reply threads

The topic ‘Can we check through a function if we are on an MVX Page?’ is closed to new replies.