Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #161844

    Hi,

    Is it possible to do that within each product shown the active tab is another tab than “description”?

    I need to make the active tab in this case is “additional information” http://www.mimundoenpapel.com/tienda/papel-decorativo-relojes-ref-0465/

    #161870

    Hi,

    Yes, it is possible, try adding this to the avia.js file:

    jQuery(".additional_information_tab a").trigger('click');

    Inside “jQuery(document).ready(function(){….”

    Regards,
    Josue

    #162151

    Josue Hello, I’ve added your line to avia.js, but still does not work

    #162154

    Would it be possible to set the active tab in the custom.css?

    #162191

    Hi,
    1) Your code is a bit different from the code Josue posted – you forgot the a selector

    
    	// Activa Informacion Adicional como pestaña abierta por defecto en cada producto
    	jQuery(".additional_information_tab").trigger('click');
    

    It look like

    
    	// Activa Informacion Adicional como pestaña abierta por defecto en cada producto
    	jQuery(".additional_information_tab a").trigger('click');
    

    If it still doesn’t work I’d suggest to add a timeout to the function like

    
    	// Activa Informacion Adicional como pestaña abierta por defecto en cada producto
          var triggerwoocommercetab = setTimeout(function(){jQuery('.additional_information_tab a').trigger('click');},1000)
    
    #162247

    NOW WORKS… thank you very much, Dude.

    • This reply was modified 1 year, 3 months ago by  Marcos Q..
Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Change Default active "description" tab in product.’ is closed to new replies.