• Resolved xthebhann

    (@xthebhann)


    Hello first of all thank you very much for this amazing plugin and your great support.

    I would like to know how can i change the text in the tab that appers in the single product page that says “Productor” Thanks ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thank you @xthebhann for liking our plugin ??

    The single product page comes from WooCommerce. So, please override WooCommerce single product page template and change the text as per your convenience.

    Let me know if you need any further assistance.

    Regards,
    Moumita

    Thread Starter xthebhann

    (@xthebhann)

    Hello thanks for your reply

    The problem is that i have installed a theme and i don’t think that the code that you are providing me will work.

    my theme is electro

    if you could please help me it will be great

    @xthebhann Will you please provide us a screenshot mentioning the issue, that will help us further to understand.

    Looking forward to your co-operation.

    Regards,
    Moumita

    Thread Starter xthebhann

    (@xthebhann)

    Yes, please see this code, this is the code that my theme developer send me to change the name of the tabs, i try replacing “accessories” with “productor” and it doesn’t work

    add_filter( 'woocommerce_product_tabs', 'ec_child_rename_accessories_tab', 20 );
    
    function ec_child_rename_accessories_tab( $tabs ) {
    	if ( isset( $tabs['accessories'] ) ) {
    		$tabs['accessories']['title'] = esc_html__( 'Accesorios', 'electro' );
    	}
    
    	return $tabs;
    }

    [Moderator note: code fixed. Please wrap code in the backtick character or use the code button.]

    • This reply was modified 7 years, 10 months ago by bdbrown.

    @xthebhann
    The single product page tab’s / navigation menus are controlled by WooCommerce and your current theme along with the hook you shared too.

    You can either get in touch with WooCommerce here: https://www.ads-software.com/support/plugin/woocommerce

    Alternatively, please let your theme author know regarding this issue.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change “Productor” Tab Single product page’ is closed to new replies.