Forum Replies Created
-
Dear, to display related product, you need use “Related product” short code in custom product template (see attachment)
Attachments:
You must be logged in to view attached files.in reply to: White SpaceDear, you can edit it in code, please go to file “wp-content/plugins/dhvc-woocommerce/includes/dhwc-brand/dhwc-brand.php” line ~219 and you can change String “Brand” in function ‘dhwc_add_prouduct_brand_meta’ (see attachment).
Best regards.
Attachments:
You must be logged in to view attached files.in reply to: Customizing content single product templateDear, please add more custom css on your site
.dhvc-woocommerce-page .thumbnails .image_frame a{ float: none !important; margin: 0 !important; width: auto !important; }
in reply to: Images Gallery don't display correctlyDear, for your problem, please add custom CSS on your site,
1.Custom product title
.dhvc-woocommerce-page .product_title{ color: #f00; font-size: 30px; line-height: 1.2; }
2. Add border in image:
.dhvc-woocommerce-page .images .woocommerce-main-image img{ border: 2px solid #f00; }
3. please translate brand with language file on {yourpugin}/languages folder
best regards.
in reply to: Customizing content single product templateDear, to fix it, please add custom css on your site,
.dhvc-woocommerce-page .thumbnails .image_frame{ display: block; float: left; margin-bottom: 10px; margin-right: 3%; width: 30%; }
in reply to: Images Gallery don't display correctlyDear, i login with account your send to check problem, but i can not go to admin your site, please change “evanto” user role to administrator, i need check details your problem.
in reply to: Images Gallery don't display correctlyDear, i do not understand your problem on image, please kindly tell for me more details ?
in reply to: Images Gallery don't display correctlyDear, to fix your problem , please go to file “wp-content/plugins/dhvc-woocommerce/includes/class.php” line ~ 703 and search code (like image attachment):
if ($hide_thumbnail !== '0') : $output_image .= '<div class="dhvc-woo-images">'; if(defined('YITH_WCWL')){ $output_image .= do_shortcode('[yith_wcwl_add_to_wishlist]'); } if($show_sale_flash !== '0' && $product->is_on_sale()): ob_start(); woocommerce_show_product_loop_sale_flash(); $output_image .= ob_get_clean(); endif; if(function_exists('dhwcpl_product_sale')){ ob_start(); dhwcpl_product_sale(); dhwcpl_product_out_of_store(); dhwcpl_shop_loop_item(); $output_image .= ob_get_clean(); } if (has_post_thumbnail ()) { $image_title = esc_attr ( get_the_title ( get_post_thumbnail_id () ) ); $image_link = esc_url ( get_permalink () ); $thumb_size = 'shop_catalog'; $thumbnail_image = get_the_post_thumbnail( $post->ID, 'shop_catalog' ); if(!empty($thumbnail_height) && !empty($thumbnail_width)){ $thumb_size = $thumbnail_width.'x'.$thumbnail_height; $thumbnail_data = dhvc_woo_getImageBySize(array( 'post_id' => $product->id, 'thumb_size' => $thumb_size )); $thumbnail_image = $thumbnail_data['thumbnail']; } $output_image .= '<a href="'.$image_link.'" itemprop="image" title="'.$image_title.'" >'.$thumbnail_image.'</a>'; } else { $output_image .= apply_filters ( 'woocommerce_single_product_image_html', sprintf ( '<a href="%s" itemprop="image" title="%s"><img src="%s" alt="Placeholder" /></a>', esc_url ( get_permalink () ), $image_title, wc_placeholder_img_src () ), $product->id ); } $output_image .= '</div>'; endif;
change to (like attachment):
if ($hide_thumbnail !== '0') : $output_image .= '<div class="dhvc-woo-images">'; if(defined('YITH_WCWL')){ $output_image .= do_shortcode('[yith_wcwl_add_to_wishlist]'); } if($show_sale_flash !== '0' && $product->is_on_sale()): ob_start(); woocommerce_show_product_loop_sale_flash(); $output_image .= ob_get_clean(); endif; if(function_exists('dhwcpl_product_sale')){ ob_start(); dhwcpl_product_sale(); dhwcpl_product_out_of_store(); dhwcpl_shop_loop_item(); $output_image .= ob_get_clean(); } if (has_post_thumbnail ()) { $image_title = esc_attr ( get_the_title ( get_post_thumbnail_id () ) ); $image_link = esc_url ( get_permalink () ); $thumb_size = 'shop_catalog'; $thumbnail_image = get_the_post_thumbnail( $post->ID, 'shop_catalog' ); if(!empty($thumbnail_height) && !empty($thumbnail_width)){ $thumb_size = $thumbnail_width.'x'.$thumbnail_height; $thumbnail_data = dhvc_woo_getImageBySize(array( 'post_id' => $product->id, 'thumb_size' => $thumb_size )); $thumbnail_image = $thumbnail_data['thumbnail']; } $output_image .= '<a href="'.$image_link.'" itemprop="image" title="'.$image_title.'" >'.$thumbnail_image.'</a>'; } else { $output_image .= apply_filters ( 'woocommerce_single_product_image_html', sprintf ( '<a href="%s" itemprop="image" title="%s"><img src="%s" alt="Placeholder" /></a>', esc_url ( get_permalink () ), $image_title, wc_placeholder_img_src () ), $product->id ); } //custom if(function_exists('dt_woocommerce_get_product_preview_icons')){ $rollover_icons = dt_woocommerce_get_product_preview_icons(); if ( $rollover_icons ) : $output .= '<div class="rollover-content"><div class="wf-table"><div class="links-container wf-td ">'; $output .= $rollover_icons; $output .= '</div></div></div>'; endif; } //end custom $output_image .= '</div>'; endif;
Then add custom css on your site:
.dhvc-woo-images .rollover-content .links-container > a { background: rgba(255, 255, 255, 0.28) none repeat scroll 0 0; }
Attachments:
You must be logged in to view attached files.in reply to: Image overlay do not showDear, please add custom css to fix it,
.dhvc-woo-info .dhvc-woo-title { line-height: 18px !important; } .dhvc-woo-price { margin-left: 0 !important; margin-top: 20px !important; }
in reply to: Only showing 5 products from catalogDear, i go to check icon in your site, the problem because inherit css form plugin, please go to file “wp-content/plugins/dhvc-woocommerce-page/assets/css/style.css” and remove CSS:
.dhvc-woocommerce-page *, .dhvc-woocommerce-page *:before, .dhvc-woocommerce-page *:after{ -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
in reply to: Images Gallery don't display correctlyDear, if you want custom like image attachment, you need add custom css to do it, please give for me your problem URL, i will help you to custom it.
Best regards.
in reply to: Customizing content single product templateDear, the plugin display products with layout of plugin ( not use default layout of theme )so, if you want add overlay icon for layout of plugin, you need add custom code and if you update plugin, you need add custom code for each times update plugin. you want do it ?
in reply to: Image overlay do not showDear, i can not see your problem page on site http://www.vintageheirloom.biz/product-category/vintage-designer-bags/ please kindly send for me your problem URL ?
in reply to: Only showing 5 products from catalogDear, in plugin, when view on mobile (screen < 768px ) the item with display full with, you want custom it ? you want tell for me what you want display on mobile screen < 768px if you not want display full with ?
This reply has been marked as private.in reply to: White Space