Home Forums WoodMart support forum Additional information in list product archive

Additional information in list product archive

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #328537

    gavro
    Participant

    Hello,
    how can the additional information be displayed instead of the short description in list view?
    As seen here: https://woodmart.xtemos.com/product-category/other/electronics/demo/electronics/?per_row=4&shop_view=list&demo=electronics

    Using shortcodes for short description would not really be a solution.

    Thank you very much!

    #328553

    Hello,

    You can configure it in the Theme Settings > Product Archives > Product Grid, you need to choose the list. https://gyazo.com/258881cd3c642291dc3685afc9f73599

    Then you need to set “Summary on hover” Theme Settings > Product Archives > Product styles and set to show “Additional information” https://gyazo.com/ca64c22ef6d70e9ac2911e4a9e72ff02

    If you have any questions please feel free to contact us.

    Best Regards

    #328658

    gavro
    Participant

    For some reason the settings apply to the grid only. Hovering the grid shows additional information, but when switching to list view the short description is shown. This happens using the following settings:

    Product archive > Products grid > Shop products view > “List” or “Grid / List”
    Product Archives > Product styles > Hover content > “Additional Information”

    #328702

    Hello,

    Please, provide your site admin access (insert the site credentials into the Private content block under the message area).

    Best Regards

    #328733

    gavro
    Participant

    Thank you, here are the credentials

    #328788

    Hello,

    Please add the images and short descriptions to the products, add the attributes or weight to the products so that we could see the settings. Now the products are empty and I cannot check anything. Create at least 5 filled-out products.

    Best Regards

    #328797

    gavro
    Participant

    The Attributes and short descriptions were already there.
    I have now added lorem ipsum texts and images and a few more products.

    #328932

    Hello,

    Please find this file: woodmart/woocommerce/content-product-list.php and replace this line:

    <?php woocommerce_template_single_excerpt(); ?>

    For this code:

    <?php
    if ( woodmart_get_opt( 'base_hover_content' ) == 'additional_info' ) {
       wc_display_product_attributes( $product );
    } else {
       woocommerce_template_single_excerpt();
    }
    ?>

    as shown here: https://gyazo.com/8a8158fdb95a36f1545d88e5f8f4fb0c

    Then make sure you have set “List” in the Theme Settings > Product archives > Product Grid;
    “Additional information” should be set in the Theme Settings > Product archives > Product Style;
    and enable showing attribute table in the Theme Settings > Single Product > Show and hide elements: https://gyazo.com/08c57299ab0ed257c07ec24f9bedabd5

    If you have any questions please feel free to contact us.

    Best Regards

    #329017

    gavro
    Participant

    Thank you very much!
    In case you’re going to update this: The table styling is different from the product page or demo.

    #329057

    Hello,

    You are welcome!

    If you want to correct the styles advise what you want to change?

    Best Regards

    #332105

    gavro
    Participant

    Hi, sorry for the late reply. The styles were not an issue. I wanted to point out, that the default additional information table styling did not apply to the product list table.

    Although another issue occurs now:

    Using the code you sent to display the excerpt in list view works, however, the ajax product tabs stopped working. It seems, that it’s similar to this issue:
    https://xtemos.com/forums/topic/very-slow-search-causing-500-error/

    From the console:
    Failed to load resource: the server responded with a status of 500 ()
    productsTabs.min.js?ver=6.1.5:1 ajax error

    Products in the first tab (selected by default) are displayed, while the products in other tabs will not load.

    #332462

    Hello,

    Our developers have detected the reason for the problem and it will be fixed in the nearest update.

    Meanwhile, you can fix this finding in this file: woodmart/inc/integrations/elementor/elements/products/products.php

    Please find this line:

    <div class="products elements-grid align-items-start row wd-products-holder<?php echo esc_attr( $wrapper_classes ); ?>" data-paged="1" data-atts="<?php echo esc_attr( $encoded_settings ); ?>" data-source="shortcode" data-columns="<?php echo esc_attr( $settings['columns']['size'] ); ?>">

    Replace it with this line:

    <div class="products elements-grid align-items-start row wd-products-holder<?php echo esc_attr( $wrapper_classes ); ?>" data-paged="1" data-atts="<?php echo esc_attr( $encoded_settings ); ?>" data-source="shortcode" data-columns="<?php echo isset( $settings['columns']['size'] ) ? esc_attr( $settings['columns']['size'] ) : ''; ?>">

    If you have any questions please feel free to contact us.

    Best Regards

    #333524

    gavro
    Participant

    Thank you very much! It works perfectly now.

    #333642

    You are welcome! We are here to help.

    Wish you a wonderful day!

Viewing 14 posts - 1 through 14 (of 14 total)

The topic ‘Additional information in list product archive’ is closed to new replies.