Add short description to product slider - by Royalty

This topic has 9 replies, 2 voices, and was last updated 6 years, 8 months ago ago by Rose Tyler

  • Avatar: Royalty
    Royalty
    Participant
    February 20, 2018 at 18:24

    Hello,
    I had added this code to my childtheme’s content-product-slider.php in order to show the product short description under the product name in owl slider:

    <div class="product-excerpt">
    <?php echo do_shortcode(get_the_excerpt()); ?>
    </div>

    Unfortunately that code stopped working since the last update. Any ideas how to fix this would be really appreciated.
    Many thanks in advance

    8 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 21, 2018 at 14:16

    Hello,

    You need to compare 2 files and add the missing code to your child theme file.

    Regards

    Avatar: Royalty
    Royalty
    Participant
    February 21, 2018 at 15:45

    Sure, thats what I did. But the code is not working anymore, it outputs nothing. It works in content-product.php, but not in content-product-slider.php. Thats why I was hoping that you can tell me which code to add to output the short description..

    Avatar: Royalty
    Royalty
    Participant
    February 21, 2018 at 16:04

    I just noticed that there seem to be general problems with owl slider. On small devices, the navigation-arrows are not shown. Ive added a video in private content. When I then switch from small device to desktop size, the arrows are back but the pictures that where hidden are not shown. That happens in product gallery, as well in related product slider, so I guess there is a bug in owl slider. Maybe fixing this bug will help me fixing the short description issue too. Could you please help me with that?
    Many thanks in advance

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 22, 2018 at 16:48

    Hello,

    Please add this code in Custom css:

    .slide-item .product .product-excerpt {
        display: inline-block;
    }

    and check description.

    Regards

    Avatar: Royalty
    Royalty
    Participant
    February 23, 2018 at 10:01

    Thank you, the code brought back the description.
    But the problem with missing arrow buttons is still there.
    Please find the credentials in private content. Thank you.

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 23, 2018 at 10:21

    Hello,

    You’re welcome!

    I’ve sent the arrows problem to our developers, hope this will be fixed in next theme update. We are planning to release the update today.

    Also, please do not do woocommerce plugin update if in changelog https://prnt.sc/iind65 you do not see the compatibility https://themeforest.net/item/royal-multipurpose-wordpress-theme/8611976

    Regards

    Avatar: Royalty
    Royalty
    Participant
    February 23, 2018 at 10:37

    Ok great to know. Thank you.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 23, 2018 at 11:03

    Hello,

    You’re welcome.
    Have a nice day.

    Regards

  • Viewing 9 results - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.