Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #683222

    Hello there,

    I’ve customized the product archives to show the excerpt for a product.
    In the excerpt I have integrated a link to a PDF file with the ?iframe=true at the end of the link.
    In the product page this works wonderful but unfortunately in the archive page it doesn’t.
    I posted in the Private are the links to the website.

    As a second request would be if there is a way to get the same look of the excerpt in the archive page as in the search results (I’ve uploaded two images in the private content area).

    Thank you in advance,
    Team sks

    • This topic was modified 8 years, 3 months ago by agentur-sks. Reason: Activating the notifications
    #685159

    Hey agentur-sks,

    archive pages do not get controlled by the theme, but by WordPress itself. So you need to customize archive.php. Ask WooCommerce support about it, maybe they can help you. Though I guess if you can’t do it by yourself, then you would need to hire a freelance developer for this job: http://kriesi.at/contact/customization

    Best regards,
    Andy

    #685180

    Hello Andy,
    We’ve hoped for more help but none the less thanks for your answer.
    We’ll see what we can do about it by ourselves.

    agentur-sks

    #685682

    Hi,

    We would be glad to help you with this customization, but at the moment there is no easy way to do this by using a small custom code snippet, so I am afraid its out of the scope of our support.

    But please feel free to request such feature at our feature request system: https://kriesi.at/support/enfold-feature-requests/

    This system allows us to keep track of user suggestions and lets you vote on the feature you would like to see the most. I am afraid though there is no guarantee that a feature will get implemented. If that’s something you really need you can always try to hire a developer for the task :)

    Let us know in a new ticket if we can help you with things directly related to the theme.

    Best regards,
    Andy

    #707749

    Hello Andy,

    We finally found the time to look for a solution.
    It was pretty simple (it took us a while because we don’t know the inside of Enfold as you – developers and support people):
    We edited the file enfold/woocommerce-config/config.php and removed the noLightbox class from line 256.

    Before:
    256 echo "<div class='inner_product main_color wrapped_style noLightbox $product_class'>";
    After:
    256 echo "<div class='inner_product main_color wrapped_style $product_class'>"; //noLightbox vor $product_class in Original

    The only inconvenient is that we need to change the file every update because this file doesn’t load from anywhere other than the parent.

    All the best,
    agentur-sks.de

    #708212

    Hi,

    glad you could figure it out and thanks for sharing your solution.

    Best regards,
    Andy

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Activate Lightbox Modal Window in Product Excerpt’ is closed to new replies.