Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › Hide Additional Information as it duplicates under Accordion on product page
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › Hide Additional Information as it duplicates under Accordion on product page
- This topic has 11 replies, 2 voices, and was last updated 10 years by Mohammad – SUPPORT.
-
Posted in: Neighborhood
-
September 4, 2014 at 11:20 pm #107220
Hi,
1. How do you remove the “Additional Information” text below the additional information tab on the product page ? It appears twice as default on your theme.
I wish to remove/hide the text “Additional Information” text completely
2. How do you auto unhide the accordion for Additional Information.. There is a true/false statement that now has it auto closed. I wish to have it auto opened when a user visits. They have the option to close it.
3. How and where do you rename the Description tab heading on the product page to Long Description ?
Many thanks,
Dean
September 4, 2014 at 11:20 pm #107221This reply has been marked as private.September 5, 2014 at 9:21 am #107346Hi,
1- Please use this custom css code:-
div#product-additional_information div.accordion-inner h2{display:none !important;}
2- You need to replace tabs.php file with attached file after exatract at /neighborhood/woocommerce/single-product/ through FTP software.
3- Please refer this article http://docs.woothemes.com/document/editing-product-data-tabs/#section-2.
Thanks ๐
With Best Regards
MohammadAttachments:
You must be logged in to view attached files.September 6, 2014 at 4:18 pm #107654I replaced tabs.php but receive the error below:
Parse error: syntax error, unexpected ‘}’ in /home/modeni/public_html/britishleggings.com/wp-content/themes/neighborhood1.9/woocommerce/single-product/tabs/tabs.php on line 88
it does not work and corrupts the layout.
regards,
Dean
September 6, 2014 at 4:28 pm #107656i’ve reverted back to the old tab.php file…
also where to I enter the rename tabs code for point 3? Is it in the functions.php file ?
September 6, 2014 at 7:14 pm #107670Mohammed I solved it myself.
You add this code at the bottom of your functions.php file. Also useful for anyone who wishes to rename their tabs on the product page.
}
add_filter( ‘woocommerce_product_tabs’, ‘woo_rename_tab’, 98);
function woo_rename_tab($tabs) {$tabs[‘description’][‘title’] = ‘Extended Description’;
return $tabs;
}September 7, 2014 at 3:32 am #107739Hi,
I have attached corrected file so use this new one tabs.php.
ThanksAttachments:
You must be logged in to view attached files.September 7, 2014 at 12:03 pm #107787No it still doesn’t work.
It’s OK i have solved this issue myself by adding code into functions tab.
September 7, 2014 at 12:27 pm #107788I attempted to replace the collapse code with expand for point:
2. How do you auto unhide the accordion for Additional Information.. There is a true/false statement that now has it auto closed. I wish to have it auto opened when a user visits. They have the option to close it.
But it seems when I change it your theme does not expand it.
I replaced the tabs.php with your uploaded file but brings back error on the site.
thanks
September 7, 2014 at 1:50 pm #107790This reply has been marked as private.September 7, 2014 at 2:32 pm #107796Thanks Mohammad.
I have closed this for now. It’s not a priority this issue.
I will re-raise it in a few weeks. thanks for looking into it anyway.
September 7, 2014 at 4:56 pm #107809Hi,
Its ok.
Thanks ๐
With Best Regards
Mohammad -
Posted in: Neighborhood
You must be logged in and have valid license to reply to this topic.