Home › Forums › WoodMart support forum › Additional information in list product archive
Additional information in list product archive
- This topic has 13 replies, 2 voices, and was last updated 3 years, 1 month ago by Elise Noromit.
-
AuthorPosts
-
October 29, 2021 at 9:03 pm #328537
gavroParticipantHello,
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=electronicsUsing shortcodes for short description would not really be a solution.
Thank you very much!
October 29, 2021 at 11:56 pm #328553
Elise NoromitMemberHello,
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
October 30, 2021 at 12:24 pm #328658
gavroParticipantFor 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”October 30, 2021 at 8:21 pm #328702
Elise NoromitMemberHello,
Please, provide your site admin access (insert the site credentials into the Private content block under the message area).
Best Regards
October 31, 2021 at 10:31 am #328733
gavroParticipantThank you, here are the credentials
October 31, 2021 at 5:07 pm #328788
Elise NoromitMemberHello,
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
October 31, 2021 at 7:16 pm #328797
gavroParticipantThe Attributes and short descriptions were already there.
I have now added lorem ipsum texts and images and a few more products.November 1, 2021 at 1:14 pm #328932
Elise NoromitMemberHello,
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/08c57299ab0ed257c07ec24f9bedabd5If you have any questions please feel free to contact us.
Best Regards
November 1, 2021 at 7:10 pm #329017
gavroParticipantThank you very much!
In case you’re going to update this: The table styling is different from the product page or demo.November 1, 2021 at 11:35 pm #329057
Elise NoromitMemberHello,
You are welcome!
If you want to correct the styles advise what you want to change?
Best Regards
November 16, 2021 at 12:18 am #332105
gavroParticipantHi, 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 errorProducts in the first tab (selected by default) are displayed, while the products in other tabs will not load.
November 17, 2021 at 8:52 am #332462
Elise NoromitMemberHello,
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
November 21, 2021 at 11:47 pm #333524
gavroParticipantThank you very much! It works perfectly now.
November 22, 2021 at 10:46 am #333642
Elise NoromitMemberYou are welcome! We are here to help.
Wish you a wonderful day!
-
AuthorPosts
The topic ‘Additional information in list product archive’ is closed to new replies.
- You must be logged in to create new topics. Login / Register