Jump to content

[SOLVED] New Products Displaying "En savoir plus" for English


Recommended Posts

Hey Guys and Gals,

 

Feeling pretty experienced with PS these days and I finished my site and started releasing it to the public and adding products to it when low and behold I found that I have what appears to be a faily common mis hap when it comes to the New Products section.

 

Anyway, my site is:

 

www.hazardousracing.com

 

I've checked the blocknewproducts.tpl both globally as well as in the "new prestashop" theme itself. and all that is there is kind of a blank "new-products.tpl"

 

I've also tried entering the translation in the english modules preferences, the statement IS there, but a compile and cache clear has no effect, similar to what most people are seeing.

 

I know the code is somewhere making it say "the wrong" thing, please help me fix it!

 

Thanks

 

Matt

Link to comment
Share on other sites

I have a second part to this (which is probably much simpler), but I also have the contact module, and it has the hours listed as

 

Contact us

 

Our hotline

is available 24/24

 

I went into the tpl and fixed it to 24/7, and it even shows 24/7 in teh translation, but clearing my cookies, cache in PS, etc, dont seem to be forcing it to read the code... ideas?

Link to comment
Share on other sites

I must be missing something.... here's what I got

 

<div id="new-products_block_right" class="block products_block">
<h4><a href="{$link->getPageLink('new-products.php')}" title="{l s='New products' mod='blocknewproducts'}">{l s='New products' mod='blocknewproducts'}</a></h4>
<div class="block_content">
{if $new_products !== false}
 <ul class="product_images clearfix">
 {foreach from=$new_products item='product' name='newProducts'}
  {if $smarty.foreach.newProducts.index < 2}
   <li{if $smarty.foreach.newProducts.first} class="first"{/if}><a href="{$product.link}" title="{$product.legend|escape:html:'UTF-8'}"><img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'medium')}" height="{$mediumSize.height}" width="{$mediumSize.width}" alt="{$product.legend|escape:html:'UTF-8'}" /></a></li>
  {/if}
 {/foreach}
 </ul>
 <dl class="products">
 {foreach from=$new_products item=newproduct name=myLoop}
  <dt class="{if $smarty.foreach.myLoop.first}first_item{elseif $smarty.foreach.myLoop.last}last_item{else}item{/if}"><a href="{$newproduct.link}" title="{$newproduct.name|escape:html:'UTF-8'}">{$newproduct.name|strip_tags|escape:html:'UTF-8'}</a></dt>
  {if $newproduct.description_short}<dd class="{if $smarty.foreach.myLoop.first}first_item{elseif $smarty.foreach.myLoop.last}last_item{else}item{/if}"><a href="{$newproduct.link}">{$newproduct.description_short|strip_tags:'UTF-8'|truncate:50:'...'}</a> <a href="{$newproduct.link}"><img src="{$img_dir}bullet.gif" alt=">>" width="10" height="7" /></a></dd>{/if}
 {/foreach}
 </dl>
 <p><a href="{$link->getPageLink('new-products.php')}" title="{l s='All new products' mod='blocknewproducts'}" class="button_large">{l s='All new products' mod='blocknewproducts'}{l s='More Info' mod='blocknewproducts'}</a></p>
{else}
 <p>{l s='No new products at this time' mod='blocknewproducts'}</p>
{/if}
</div>
</div>

Link to comment
Share on other sites

Ok well your file seems correct try this.

 

back office-->tools-->translations

select modules translations and the English tab

'open all tabs'

now find 'En savior plus'

 

Change to English translation (learn More)

 

scroll to the very bottom and save translations.

Link to comment
Share on other sites

put simply, no.

 

the only contents of my themes directory are.

 

live_edit.tpl

index.php

debug.tpl

/prestashop/

/matrice/

/etblack/

 

i was thinking the same thing, then I thought perhaps because I used the auto installer for the template, that it just used the prestashop folder, which doesnt really make sense.

 

but I think you're on the right track... where else might it be?

Link to comment
Share on other sites

What is interesting is the folder tree in most cases the additional themes ere in themes/ your theme/ so when you go to themes you may see something like this

 

Themes

prestashop

prestashop_new

clothestheme

 

So what theme are you using.

 

Send me your FTP login in details so I may have a look directky at your files.

In my Developer tools the En savior slus still shows in the code.

Link to comment
Share on other sites

Oh yes to answer your question yes still ride, I actually took my race bike and made it street legal.

Looks the same as the pic only I cut a hole for a headlight, added blinkers, tailight and so on.

 

Yamaha RZ350

Stage 3 race motor

35mm Keihn Carbs

FZR400 front end

FZR600 rear swing arm and wheel

Solo race seat and more

 

 

 

Link to comment
Share on other sites

dude you made my day for sure! which blocknewproducts.tpl? and which cached files? just all the files in the cache folder?

 

if you end up wanting some leathers i'll cut you a nice deal :)

 

ps LOVE the bike, my current track bike is my 05 750, my buddy Brad teases us because he's advanced group and passes us on his 400 in the mtns... lolz :)

 

thanks again!

Link to comment
Share on other sites

In the blocknewproducts under themes/ prestashop_new/ modules/ blocknewproducts there was still a line that said En savior plus.

However even after I changed that it was still showing on the page so I deleted all files in the tools/ smarty/ cache and wala.

Link to comment
Share on other sites

×
×
  • Create New...