-
AuthorPosts
-
April 16, 2016 at 6:55 pm #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
April 19, 2016 at 1:09 am #616960Hey 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!
YigitApril 30, 2016 at 11:10 am #624916Hi,
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/9m1hQhmhow 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, 6 months ago by Jon.
May 3, 2016 at 5:38 am #626183Hi,
how do i remove the related products ? and how do i change the heading to related gadgets ?
example : http://imgur.com/9m1hQhmDo 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,
IsmaelMay 8, 2016 at 8:00 am #628826Hi,
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 linki have remove the breadcrumbs so it is ok now
thank you
May 8, 2016 at 8:29 am #628830Hi!
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,
BasilisMay 8, 2016 at 11:41 am #628846Hi,
i am not looking for translation
i just want to change the wording for Related Products to “Other Helpers”
thanks
May 10, 2016 at 10:00 am #629772Hi!
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,
IsmaelMay 11, 2016 at 6:49 am #630452It works
thank youMay 11, 2016 at 6:57 am #630457Hi!
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 patienceBest regards,
Basilis -
AuthorPosts
- You must be logged in to reply to this topic.