HTML items not saved in Front End Manager Store Description field

WCMp Advanced Frontend Manager

HTML items not saved in Front End Manager Store Description field Resolved

Viewing 9 reply threads
  • Author
    Posts
    • #109448
      redilson
      Participant

      Hi,

      I noticed that if you do any type of html element, bold, italic, etc. in the Store Description field and click Save Options, it clears out any of that formatting. However, Message to Buyers right below it is retaining the elements fine.

      Are you able to re-create? I’m on version Version 3.5.11. Thanks for looking into it.

    • #109490
      abhirup
      Moderator

      Hi,

      Please add this code in the function.php of the current active theme :

      add_action('wcmp_save_custom_store_data', 'wcmp_vendordashboard_description_data', 10, 2 );
      function wcmp_vendordashboard_description_data($user_id, $post){
          if(isset($post['vendor_description']))
          update_user_meta($user_id, '_' . 'vendor_description', $post['vendor_description'] );
      }
      
      add_action('wcmp_vendor_details_update','wcmp_vendordashboard_description_data_admin', 10, 2 ); 
      function wcmp_vendordashboard_description_data_admin($post, $vendor){
          if(isset($post['vendor_description']))
              update_user_meta($vendor->id, '_' . 'vendor_description', $post['vendor_description'] );
      }
      Copy

      and test your site.
      Let me know the result.

      Regards,

    • #109515
      redilson
      Participant

      Thank you, that worked. Will that be added to the next Front End Manager update? Will I need to remove the code once the update comes?

    • #109598
      abhirup
      Moderator

      Hi,
      We will fix this issue on our next WCMp update.
      For more information please follow this link – https://github.com/wcmarketplace/dc-woocommerce-multi-vendor/issues/578

      Regards,

    • #109994
      redilson
      Participant

      Hello,

      It’s doing the same in the fields in the Policies area (Shipping Policy, Refund Policy, Cancellation). All of these issues with every update is starting to get frustrating. Every update I have to literally spend hours testing on my test server and look at every page/aspect of the plugins before updating to assure nothing will come up for my customers.

      If you have any html in the field, it will display that html instead of actually making it happen (p, ul, li, etc.).

    • #109995
      redilson
      Participant

      Also, I looked at the git and the video shared wasn’t the correct area. The developer was in the Edit Product area… That’s not where the issue is. It’s happening in Store Policies. The Store Description fields and now we noticed the text areas in the Policies area don’t work either. It ignores the html and just displays it as text.

    • #109996
      redilson
      Participant

      Here you can see the Shipping policy has some list formatting using the WordPress standard editor. Then, on the product page, it displays it all as one paragraph and display the html.

    • #109998
      redilson
      Participant

      How it looks on the product page.

    • #110086
      sumit singh
      Keymaster

      Hi, We got your point and we will review all the editors in wc marketplace plugin. In our latest update we will fix all the editors with proper HTML format.
      You can track the status of the issue by following link :

      https://github.com/wcmarketplace/dc-woocommerce-multi-vendor/issues/588
      Copy

      Thankyou

    • #114032

      As I can see the issue is fixed. So we are closing the ticket now. In case any issue arises kindly raise a new ticket.

Viewing 9 reply threads

The topic ‘HTML items not saved in Front End Manager Store Description field’ is closed to new replies.

Buy all Marketplace addons together, check out our Bundle

Buy at Slashed Price