WCMp Core
-
AuthorPosts
-
-
July 9, 2021 at 6:50 PM #124485MaxenceTPParticipant
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.
-
July 9, 2021 at 7:35 PM #124573MVX Support NinjaKeymaster
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 . -
July 9, 2021 at 8:22 PM #124583MaxenceTPParticipant
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
-
July 9, 2021 at 8:23 PM #124584MaxenceTPParticipantThis reply has been marked as private.
-
July 10, 2021 at 3:35 PM #124600NerdySupportExpert MoumitaKeymaster
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.
-
July 10, 2021 at 8:16 PM #124618MaxenceTPParticipant
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) ? -
July 12, 2021 at 5:21 PM #124662MVX Support NinjaKeymaster
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. -
July 12, 2021 at 6:10 PM #124671MaxenceTPParticipant
Thank you for your answer, can you tell me more about the coding procedure?
I will see what I can do -
July 12, 2021 at 7:20 PM #124690MVX Support NinjaKeymaster
Hi
You can follow this (https://multivendorx.com/custom-development/) -
July 12, 2021 at 9:59 PM #124697MaxenceTPParticipant
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 -
July 13, 2021 at 8:12 PM #124797Raju The Cool GuyKeymaster
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 -
July 13, 2021 at 10:04 PM #124801MaxenceTPParticipant
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
-
July 15, 2021 at 8:29 PM #124938Raju The Cool GuyKeymaster
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 -
July 16, 2021 at 12:06 AM #124951MaxenceTPParticipant
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
-
July 16, 2021 at 8:33 PM #124997Raju The Cool GuyKeymaster
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 -
July 16, 2021 at 10:50 PM #125002MaxenceTPParticipant
Okay so I’m able to get the result I want using this code :
remove_filter('the_content', 'do_shortcode', 11);
Copyover this line in the edit-product.php :
wp_editor( $product_object->get_description( 'edit' ), 'product_description', $settings );
CopyLike that : https://prnt.sc/1bu23ek
Is there a better way to do that, or what I done is correct ?
-
July 19, 2021 at 7:42 PM #125107MVX Support NinjaKeymaster
@MaxenceTP, our team will check this and assist you.
Kindly provide them some time. -
July 19, 2021 at 8:39 PM #125114MaxenceTPParticipant
Thanks 🙂
Keep me informed here -
July 22, 2021 at 8:31 PM #125272Raju The Cool GuyKeymaster
Yes, right.
-
July 26, 2021 at 3:01 PM #125424MaxenceTPParticipant
By chance did you have time to look at my code to get your opinion?
-
July 26, 2021 at 7:02 PM #125445Raju The Cool GuyKeymaster
@MaxenceTP, without checking the full code, it is difficult for us to confirm anything.
But it seems like the correct way to proceed. -
July 26, 2021 at 8:45 PM #125457MaxenceTPParticipant
Here is the complete edit-product.php file : https://pastebin.com/GBSvYg37
-
July 26, 2021 at 8:46 PM #125458MaxenceTPParticipant
I’ve added the code on lines 75 and 98.
Can’t the remove_filter create another bug? -
July 27, 2021 at 8:40 PM #125550Raju The Cool GuyKeymaster
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 -
July 28, 2021 at 3:00 AM #125563MaxenceTPParticipant
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) -
July 29, 2021 at 10:07 AM #125618Raju The Cool GuyKeymaster
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/ -
July 29, 2021 at 7:10 PM #125649MaxenceTPParticipant
Thanks, it’s solved
-
July 29, 2021 at 8:08 PM #125658Raju The Cool GuyKeymaster
Sure MaxenceTP
-
October 1, 2021 at 8:40 PM #128517MVX Support NinjaKeymaster
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.
-
-
AuthorPosts
The topic ‘Flatsome products description on WCMP’ is closed to new replies.