• Resolved mihaipaul

    (@mihaipaul)


    Good evening gents / ladies.

    Thank you for such an amazing theme. I just ran into a problem and I am not sure how to fix it. In the woocommerce shop page , I would like to add between the title of the product and the BUY NOW BUTTONG the product’s short description. In order to do that I am using this function.php line :

    add_action( ‘woocommerce_after_shop_loop_item_title’, ‘woo_show_excerpt_shop_page’, 1 );
    function woo_show_excerpt_shop_page() {
    global $product;

    echo $product->post->post_excerpt;
    }

    This indeed brings the shop description on the page , but here is the problem :

    It shold be placed exactly after the title . On other themes that’s exactly what it does , but on Oceanwp the description no matter what loop i use goes at the top . This is a huge problem for my design.

    Thank you so much for your attention , and thanks in advance if you are kind to reply.

    Best regards,

    Mihai.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Theme Author oceanwp

    (@oceanwp)

    Hello, can you try this CSS code into the Custom CSS section of the customizer and tell me if is good to you:

    .woocommerce ul.products li.product li.woo-desc {
        display: block;
    }
    Thread Starter mihaipaul

    (@mihaipaul)

    Hi
    Thank you for your quick reply. Unfortunately this didn’t solve the problem.
    if you would require any kind of picture or other information , please let me know . The site isn’t live yet.

    • This reply was modified 8 years, 9 months ago by mihaipaul.
    Theme Author oceanwp

    (@oceanwp)

    You see no description between the title and the add to cart button?

    Try this code:

    .woocommerce ul.products li.product li.woo-desc {
        display: block !important;
    }
    Thread Starter mihaipaul

    (@mihaipaul)

    I tried this code aswell and no , the problem is not solved. please find this screen shot of the problem i am facing

    The description is on top of everything .

    I also tried the customizer option for the archive page ( moving the title / imagine / price etc) but no matter how i lay them out , the one and only thing that won’t move is the product description.

    Regards

    • This reply was modified 8 years, 9 months ago by mihaipaul.
    Theme Author oceanwp

    (@oceanwp)

    There is already a description for the products that you can see when you switch to the List style, with the code I gave you it should also show the description on the Grid style who is just after the product title.

    Look at this screenshot: https://imgur.com/a/EB9vQ

    Try this css code:

    .woocommerce ul.products.grid li.product li.woo-desc {
        display: block;
    }
    Thread Starter mihaipaul

    (@mihaipaul)

    Disregard this edit . The website now works like a charm . It was hidden from the CUSTOMIZER BOX. I removed the php code and used your code and unhidden the option from customizer menu and it worked. THANK YOU SO MUCH .I am amazed with your fast replies , one more reason to buy this theme for all my websites. Thank you once again and sorry for wasting your time.

    • This reply was modified 8 years, 9 months ago by mihaipaul.
    Theme Author oceanwp

    (@oceanwp)

    Glad that your issue is solved and thank you for thinking buying the Core Extensions Bundle 🙂

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Problem with woocommerce shop page’ is closed to new replies.