archive_vendor_info.php question in in child theme

WCMp Core

Resolved
Viewing 2 reply threads
  • Author
    Posts
    • #132429
      l.gan
      Participant

      Hi, I have a question about the vendor’s store page.

      1. I am using parent. theme, and edited the file archive_vendor_info.php
      Also important information: I am using code to return the old vendor page as it is not compatible with my theme Woodmart. (The theme developer reported that there are different structures of html).

      I am attaching a screenshot of how I would like to move the vendor description on the vendor store page.

      In this photo (for example), I just dragged the burned into the developer’s browser in browser.

      My question is: can I implement this in my file? For example, if I transfer something in some places? And what exactly?

      ____________

      3. Are there any plans to develop the plugin towards compatibility with the Gutenberg editor?

      I mean something similar to your Elementor compatibility.
      _____________

      thanks for the great plugin

    • #132434
      l.gan
      Participant

      I have one more question:
      2. How can I change the store base in the url?

      I mean, now I have links for the product:
      catalog / parent category / category / subcategory / product
      ____
      how to make (and is it possible) links to the product:
      catalog / vendor store (slug) / product?

    • #132470

      Hi,
      our replies are inline : –

      Override templates/archive_vendor_info.php template by copying it to yourtheme/dc-product-vendor/archive_vendor_info.php than change as per your requirement.

      using below code you can get the vendor description.

      if (wcmp_is_store_page()) {
         $store_id = wcmp_find_shop_page_vendor();
         $vendor = get_wcmp_vendor($store_id);
         if( $vendor ){
           $description = $vendor->description;
         }
      }
      Copy

      3. For now we don’t have any plan compatibility with the Gutenberg editor.

      2. How can I change the store base in the url?
      As per your requirement you have to add good amount of custom code to change url.

      Regards,

Viewing 2 reply threads

The topic ‘archive_vendor_info.php question in in child theme’ is closed to new replies.