Home › Forums › WoodMart support forum › shop page and filter
shop page and filter
- This topic has 13 replies, 2 voices, and was last updated 4 months, 2 weeks ago by Aizaz Imtiaz Awan.
-
AuthorPosts
-
July 23, 2024 at 8:23 pm #585205
dhyanidiamantsParticipantIf I am not logged in, the shop page should display:
Great things are on the horizon
Something big is brewing! Our store is in the works and will be launching soon!I want to add a list of child categories. For example, in the Diamond category, there are two child categories:
Style
Shape
In the Style category, there are many child categories.
The same applies to the Shape category.How do I achieve this?
July 24, 2024 at 10:23 am #585287
Aizaz Imtiaz AwanKeymasterHello,
Try to disable the maintenance mode in WooCommerce Settings > Site visibility and check the issue.
Best Regards.
July 24, 2024 at 6:53 pm #585480
dhyanidiamantsParticipantThanks solve about the shop page.
But what about the filters?July 25, 2024 at 10:49 am #585595
Aizaz Imtiaz AwanKeymasterHello,
You can add the filters from Appearance > Widgets > Add the filters in the shop page widget area.
Follow this guide:
https://xtemos.com/docs-topic/widgets-and-sidebars/If you have any questions feel free to contact us.
Best Regards.
July 25, 2024 at 7:39 pm #585808
dhyanidiamantsParticipantI want it to be exactly like the PFA in the product’s child-child category, with the category image.
1. Diamond-style-halo,hidden halo etc category
2. Diamond-shape-round,oval etc categoryAttachments:
You must be logged in to view attached files.July 26, 2024 at 9:46 am #585906
Aizaz Imtiaz AwanKeymasterHello,
Navigate to Appearance > Widgets > Add the Products Categories widget in the shop filters area and check the issue.
Best Regards.
July 26, 2024 at 6:30 pm #586065
dhyanidiamantsParticipantI appreciate your quick answer but I really don’t understand what issue to ask me to check out.
I just want display child of child category with image.Is that possible or not
July 27, 2024 at 9:31 am #586111
Aizaz Imtiaz AwanKeymasterHello
You cannot use the category image in the filter area. You can add the images in the category. Try to use the Theme’s Layout Builder you can create Custom Layouts for WooCommerce pages like Shop, Category, Single Product page, Cart, and Checkouts. So, you can use that to create your own custom layouts for archive pages and use the Product Category widget.
Further, you can read more about the Layout Builder here:
https://xtemos.com/docs-topic/woodmart-woocommerce-layout-builder/Best Regards.
July 28, 2024 at 11:08 am #586263
dhyanidiamantsParticipantI dont want change layout just add category image with category name as a tooltip in filter are only.
another issue with connect with instagram connection with API
Attachments:
You must be logged in to view attached files.July 29, 2024 at 11:01 am #586370
Aizaz Imtiaz AwanKeymasterHello,
Sorry to hear about the inconvenience. Kindly, please share your Site WP-ADMIN Login details in the Private Content field so that we can check this concern on your Site and help you out accordingly.
Best Regards.
July 30, 2024 at 7:47 pm #586847
dhyanidiamantsParticipantCould you tell me the /woodmart/inc/integrations/woocommerce/template-tags.php can i put it in child theme?
July 31, 2024 at 11:36 am #586952
Aizaz Imtiaz AwanKeymasterHello,
You can copy the complete function and paste it in your child themes functions.php file and modify it as you require. All the customizations made in the theme files are at your own risk
Best Regards.
July 31, 2024 at 6:49 pm #587114
dhyanidiamantsParticipantpublic function start_el( &$output, $cat, $depth = 0, $args = array(), $current_object_id = 0 ) {
$output .= ‘<li class=”cat-item cat-item-‘ . $cat->term_id;if ( $args[‘current_category’] == $cat->term_id ) {
$output .= ‘ current-cat’;
}if ( $args[‘has_children’] && $args[‘hierarchical’] ) {
$output .= ‘ cat-parent’;
}if ( $args[‘current_category_ancestors’] && $args[‘current_category’] && in_array( $cat->term_id, $args[‘current_category_ancestors’] ) ) {
$output .= ‘ current-cat-parent’;
}
$thumbnail_shape = get_term_meta( $cat->term_id, ‘thumbnail_id’, true );
$thumbnail_style = get_term_meta( $cat->term_id, ‘category_icon_alt’, true );
// echo ‘'; // print_r($thumbnail_style['id']); // echo '
‘;
if ($thumbnail_style[‘id’]) {
$cat_image .= woodmart_otf_get_image_html($thumbnail_style[‘id’], ‘woocommerce_thumbnail’, array(‘custom_size’ => ‘thumbnail’));
} else if ($thumbnail_shape) {
$cat_image .= woodmart_otf_get_image_html($thumbnail_shape, ‘woocommerce_thumbnail’, array(‘custom_size’ => ‘thumbnail’));
}
$output .= ‘”>term_id, $this->tree_type ) . ‘”>’ . ‘<span class=”filetr_cat_img”>’.$cat_image .”.$cat->name . ‘</span>‘;if ( $args[‘show_count’] ) {
$output .= ‘ <span class=”count”>’ . $cat->count . ‘</span>’;
}
}August 1, 2024 at 10:22 am #587219
Aizaz Imtiaz AwanKeymasterHello,
Sorry to say it requires customization and beyond our support policy. Additional code customizations are out of our theme support scope.
Best Regards.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register