Jump to content

Renaming Description Tabs (Verification Check)


Recommended Posts

I would like to rename Short Description to Description and rename Full description to Size Chart http://iforce.co.nz/i/txk1c53e.es0.jpg

 

Is this the correct file to edit http://iforce.co.nz/i/fd14v3tq.laz.jpg I'm using the

millennium theme and using cPanel to search for the file.

 

When I look at the code I see this:

 

<div id="wrapper">

{if $product->description_short}

<div class="accordionButton" id="open" >{l s='Short description'}</div>

<div class="accordionContent" itemprop="description">

{$product->description_short}

</div>

{/if}{/if}

{if isset($product) && $product->description}

<div class="accordionButton">{l s='Full description'}</div>

<div class="accordionContent">

<!-- full description -->

{$product->description}

 

I have highlighted the code in red, that I think I need to change, but is there any other code I will need to change? I prefer to make sure I'm doing it correctly.

 

Also, where do I change the code for the Product Comments? I would like to rename Product Comments to Reviews. Any help would be very much appreciated.

Edited by Advocatus (see edit history)
Link to comment
Share on other sites

Instead of modifying it directly in the template you might as well do it from the back office translations. Localization, translations. Select your template and front office, then the language (even if it's English only). Same for the comments module, but select installed modules translations instead of front office :)

  • Like 1
Link to comment
Share on other sites

Thank you for your awesome help Nemo!!! When I select installed modules translations for the comment section I got this message. "Warning! Your PHP configuration limits the maximum number of fields allowed in a form:
1000 for max_input_vars. Please ask your hosting provider to increase this limit to 2448 at least, or you will have to edit the translation files."

 

I'm assuming I will need to contact my will hosting provider to see if they will increase the limit or could you tell me which file I will need to edit?

Link to comment
Share on other sites

Thank you for your help again Nemo. I was not able to access php.ini file, but I created php.ini within the admin123 folder and added this line "max_input_vars = 10000" which fixed the problem.

Should I rename the file to something like zphp.ini or delete it after using it in case of any potential security problems?

Edited by Advocatus (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...