MB Views in Woocommerce product description

Support MB Views MB Views in Woocommerce product descriptionResolved

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #29224
    TrejkaTrejka
    Participant

    Hi, I have a problem with text formating in Woocommerce product description. I have add a custom filed in the product decription. The decription field is divided into two columns: left column (2/3 width) is the original Woo decription filed and the right column (1/3 width) is my custom METABOX field.

    The test link
    http://tredemos.xyz/tsklep2/produkt/oceanwp-motyw-wordpress/

    The problem is that all formating spaces are gone in the left column. The paragraphs are merged in one long text.

    Here are the screenshoot of the text inside the admin dashboard
    http://tredemos.xyz/tsklep2/wp-content/uploads/2021/06/zrzut_002-1.jpg

    What am I doing wrong? Please help.

    My layout code in the Views:

    <div class="flex">
        <div class="flex-1">
            {{ post.content }}</div>
        <div class="flex-2">
            {{ post.wysiwyg_zi2yg9vvg5h }}
        </div>
    </div>

    and the css settings:

    @media only screen and (min-width: 761px) {
        .flex-1 { width:65%; margin-right: 30px; float:left;}
        .flex-2 {width:30%; float:right;}
    }
    @media only screen and (max-width: 760px) {
        .flex-1 { width:100%; margin-right: 0px; float:none;}
        .flex-2 {width:100%; float:none;}
    }
    #29230
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Thank you for reaching out.

    I do not see the <p> tag (paragraph) on the product description, screenshot https://share.getcloudapp.com/4gun4q0z

    Can you please check the tab Text of the description when editing the product?

    #29231
    TrejkaTrejka
    Participant

    Hi,

    Yess you are right. But when I'm turning off the Metabox plugin <p> tag is back! It's like the plugin is cutting off all tags.

    The same link
    http://tredemos.xyz/tsklep2/produkt/oceanwp-motyw-wordpress/
    without the Metabox plugin

    #29242
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Please share your site credentials via this contact form https://metabox.io/contact/. I will help you to check the issue.

    #29249
    TrejkaTrejka
    Participant

    Done

    #29254
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Thank you for your additional information.

    Even deactivate the plugin Meta Box, the <p> tags are not inserted into your paragraphs when switching to the tab Text. Screenshot https://share.getcloudapp.com/z8uOGyly

    You can manually add the <p> or <div> tags to separate paragraphs.

    #29255
    TrejkaTrejka
    Participant

    Hi,
    For a test I changed the theme and the issue is the same. So the Woocommerce plugin not adding any <p> or <div> to the product description. Am I right?

    #29261
    Long NguyenLong Nguyen
    Moderator

    Hi Trejka,

    I also experience this issue with WooCommerce when using the default theme Twenty TwentyOne. You can try to contact Woo support to get more info.

    #29265
    TrejkaTrejka
    Participant

    Thank you

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.