Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #615517

    Hi,

    how do i remove the sidebar widgets underneath the main image ?
    it is showing the default.

    how do i remove the related products ? and how do i change the heading to related gadgets ?

    how do i rename the shop title in the single product page , in the breadcrumbs area?

    thank you

    #616960

    Hey Jon!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .single-product #av_section_1, .single-product .sidebar {
        display: none!important;
    }

    Please add following code to Functions.php file in Appearance > Editor

    add_filter('avf_title_args', 'fix_single_post_title', 10, 2);
    function fix_single_post_title($args,$id)
    {
        if ( is_product() )
        {
            $args['title'] = get_the_title($id);
            $args['link'] = get_permalink($id);
            $args['heading'] = 'h1';
        }
    
        return $args;
    }

    Cheers!
    Yigit

    #624916

    Hi,

    you have not answer these 2 questions

    how do i remove the related products ? and how do i change the heading to related gadgets ?
    example : http://imgur.com/9m1hQhm

    how do i rename the shop title in the single product page , in the breadcrumbs area?

    thank you

    can you please help ?

    • This reply was modified 8 years, 7 months ago by Jon.
    #626183

    Hi,

    how do i remove the related products ? and how do i change the heading to related gadgets ?
    example : http://imgur.com/9m1hQhm

    Do you want to rename the heading or do you want to remove the related products section? The heading is included in the related products section. Add this in the Quick CSS field:

    .related.products {
        display: none;
    }

    how do i rename the shop title in the single product page , in the breadcrumbs area?

    Rename the title of the shop page or use the “avia_breadcrumbs_trail” filter. Why do you need to do this? Please provide a link to the single product page so that we can check structure of the breadcrumb.

    Best regards,
    Ismael

    #628826

    Hi,

    how about renaming the related products ?

    Because my client is running a website that do not have physical products

    it will be rude to refer them as products
    see private link

    i have remove the breadcrumbs so it is ok now

    thank you

    #628830

    Hi!

    Please use a plugin like the following
    https://el.wordpress.org/plugins/loco-translate/

    find the word Related Products and translate it per your request.

    Thanks a lot for everything

    Best regards,
    Basilis

    #628846

    Hi,

    i am not looking for translation

    i just want to change the wording for Related Products to “Other Helpers”

    thanks

    #629772

    Hi!

    Add this in the functions.php file:

    add_action('after_setup_theme', 'after_setup_theme_mod');
    function after_setup_theme_mod() {
        remove_action( 'woocommerce_after_single_product_summary', 'avia_woocommerce_output_related_products', 20);
    	add_action( 'woocommerce_after_single_product_summary', 'avia_woocommerce_output_related_products_mod', 20);
    }
    
    function avia_woocommerce_output_related_products_mod($items = false, $columns = false)
    {
    	global $avia_config;
    	$output = "";
    
    	if(!$items) 	$items 	 = $avia_config['shop_single_column_items'];
    	if(!$columns) 	$columns = $avia_config['shop_single_column'];
    
    	ob_start();
    	woocommerce_related_products(array('posts_per_page'=>$items, 'columns'=>$columns)); // X products, X columns
    	$content = ob_get_clean();
    	if($content)
    	{
    		$output .= "<div class='product_column product_column_".$columns."'>";
    		$output .= "<h3>".(__('Other Helpers', 'avia_framework'))."</h3>";
    		$output .= $content;
    		$output .= "</div>";
    	}
    
    	$avia_config['woo_related'] = $output;
    	return $output;
    
    }
    

    And then add the following code in the Quick CSS field:

    .related.products h2 { display: none; }
    

    Regards,
    Ismael

    #630452

    It works
    thank you

    #630457

    Hi!

    Glad you got it short out.
    Please do remember to spend a moment to rate our theme, we would really appreciate it.
    Thanks a lot for your time and patience

    Best regards,
    Basilis

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.