Banner Logo

Be a part of the family: Connect, Receive Support,
Contribute, and Reap Abundant Rewards!

Flatsome products description on WCMP

WCMp Core

Resolved
Viewing 28 reply threads
  • Author
    Posts
    • #124485
      MaxenceTP
      Participant

      Hello,
      I use the Flatsome theme and in the description of my products use the syntax that is proposed by this theme. On the Woocommerce side I can edit the description but on the WCMP side it doesn’t quite work.

      First of all, on the Woocommerce side I can edit the Flatsome tags (https://prnt.sc/19gxzrr) but on WCMP the tags are “visible” and therefore not editable (https://prnt.sc/19gy9d0). I would like it to be like on Woocommerce.

      Secondly, on Woocommerce I have the possibility to modify the description with ‘UX Builder’ (https://prnt.sc/19gyex4), is it possible to have this same thing on WCMP?

      Thank you very much for your help, if I have not been clear enough in my explanation do not hesitate to ask me for clarifications.

    • #124573

      Hi thank you for getting in touch with us
      WCMp vendor dashboard is independent of the theme. If any particular theme is added from the admin end that won’t get reflected to the vendor dashboard .
      In case you want to import the admin theme ,you need to do some custom code .

    • #124583
      MaxenceTP
      Participant

      Hello,
      This is not a problem with the WCMp dashboard theme, but with the description of our products which is done using the Flatsome theme. The product description can easily be modified on Woocommerce but once on WCMp the display does not allow to modify anything.

      I attach a video of the problem in the following private message

    • #124584
      MaxenceTP
      Participant
      This reply has been marked as private.
    • #124600

      Hi @Maxence, thanks for the video.

      But as we can understand you are using some flat some elements for the products. Now, as WCMp is not compatible with Flatsome, hence those elements (which are only used by Flatsome), will not be available for vendors.

      That is why you have to do custom code and add support for those elements too for the vendor end.

    • #124618
      MaxenceTP
      Participant

      Yeah I understand that. But 2 things :
      – Is it possible to see the flatsome elements instead of preview them into the Visual Editor of WCMp ?
      – How can I add a 2nd button next to the “Add Media” (https://prnt.sc/1a07uoh) with a specific href (I’ll put the UXBuilder link) ?

    • #124662

      Hi thank you for getting in touch with us ,
      For integrating both the features you need to add custom code. If you have any developers, ask them to contact us so we can help you out with the coding procedure.
      Alternatively, you may hire our service team (https://multivendorx.com/custom-development/) so they can add this feature to your site.

    • #124671
      MaxenceTP
      Participant

      Thank you for your answer, can you tell me more about the coding procedure?
      I will see what I can do

    • #124690
    • #124697
      MaxenceTP
      Participant

      I’ve already done that 🙂
      But I think that’s an easy thing I can do alone, it’s just changing how the text is displayed on the dashboard. But I don’t know where I can change that

    • #124797

      Hi,
      Is it possible to see the flatsome elements inste …..
      >>>>>>>> This might come from your float some theme custom editor. We are using WordPress default wp editor. You can get a brief here https://developer.wordpress.org/reference/functions/wp_editor/. So first you need to know the flotsam extra editor code. Then only you can integrate it in wcmp.
      How can I add a 2nd button next to the “Add Media”
      >>>>>>>>>>>>>>> This us builder is a complete library. You have to enhance this in our wcmp by use huge custom code. If you check the builder URL then you can see this is completely dependent on the admin perspective. So without checking there code this is impossible to analyse this

    • #124801
      MaxenceTP
      Participant

      Hey!

      – It’s the Woocommerce editor, I havn’t changed it. Is it possible to use the Woocommerce text editor in WCMp ?
      It’s called “Wysiwyg Editor” in ACP, maybe that can help.

      – About the button, how can I add a new button that just make a href to a link within the wp_editor ? I can overwrite edit-product.php for that, but I don’t know how to code it

    • #124938

      Hi,
      It’s the Woocommerce editor
      >>>> We have used the default WordPress editor. To use the woo-commerce custom editor you need to do custom code. If you need any template filename or hooks filter help then please let us know.
      About the button, how can I
      >>>>>> For that you have to modify the store-front.php template. Follow https://www.w3schools.com/tags/tag_a.asp this link to add an extra href.
      Thanks

    • #124951
      MaxenceTP
      Participant

      Thanks for your answer,

      – If you can help me to use the Woocommerce custom editor, that will solve my problem 🙂

      – I know how to put a HREF, but how to add a button next to “Add media” ? Because in the code, there is no “Add media” button so I think it’s added by wp_editor. And I don’t know how to add a second button. But if I’m able to use Woocommerce editor, that will replace the wp_editor so I’ll check again after changing the editor if I can do something to add the button

    • #124997

      Hi,
      We are not sure what you are mean by woocommerce custom editor. As per default flow, they are also used wp-editor ( most probably ). But if they use any custom editor then first you need to check their code. Then you need to add to our template.
      I know how to put an HREF, but how to add a button next to “Add media”…
      >>>>> This is coming from the third-party plugin. Without checking the code this is impossible for us to find ( bcs checking third party code takes huge amount of time ).
      Thanks

    • #125002
      MaxenceTP
      Participant

      Okay so I’m able to get the result I want using this code :

      remove_filter('the_content', 'do_shortcode', 11);
      Copy

      over this line in the edit-product.php :

      wp_editor( $product_object->get_description( 'edit' ), 'product_description', $settings );
      Copy

      Like that : https://prnt.sc/1bu23ek

      Is there a better way to do that, or what I done is correct ?

    • #125107

      @MaxenceTP, our team will check this and assist you.
      Kindly provide them some time.

    • #125114
      MaxenceTP
      Participant

      Thanks 🙂
      Keep me informed here

    • #125272

      Yes, right.

    • #125424
      MaxenceTP
      Participant

      By chance did you have time to look at my code to get your opinion?

    • #125445

      @MaxenceTP, without checking the full code, it is difficult for us to confirm anything.
      But it seems like the correct way to proceed.

    • #125457
      MaxenceTP
      Participant

      Here is the complete edit-product.php file : https://pastebin.com/GBSvYg37

    • #125458
      MaxenceTP
      Participant

      I’ve added the code on lines 75 and 98.
      Can’t the remove_filter create another bug?

    • #125550

      Hi,
      First, you need to check for which section you have removed this. Obviously, it changes something. First check existing code then remove as per requirement

    • #125563
      MaxenceTP
      Participant

      I’m sorry I don’t really know how WordPress works. I’m trying to explain it differently :
      Is it possible to remove the “do_shortcode” filter for loading the product description content? Rather than removing the filter everywhere with my line of code (above)

    • #125618

      Hi,
      There are no functions in WordPress to remove do_shortcode ( we have no idea ). You can only remove it if it is add_shortocde by using remove_shortcode. You can check here https://developer.wordpress.org/reference/functions/remove_shortcode/

    • #125649
      MaxenceTP
      Participant

      Thanks, it’s solved

    • #125658

      Sure MaxenceTP

    • #128517

      we are happy to help you
      We would love it if you shared your experience by giving us 5/5 review here :
      https://wordpress.org/support/plugin/dc-woocommerce-multi-vendor/reviews/#new-post
      Seeing glowing reviews from existing customers makes others more comfortable knowing they’ll get the support they need with an issue with our services when arise.

Viewing 28 reply threads

The topic ‘Flatsome products description on WCMP’ is closed to new replies.