Jump to content

(SOLVED) Need a Prestashop Coder!? One error in image coding in product template


Recommended Posts

Rowsdower at codingforum.com recommend this....

http://www.codingforums.com/showthread.php?t=179003&page=2

"You need alt text for your "on sale" image. This will be part of the shopping cart software you are using so finding it will require digging into the php code.

This will be that "tedious" part I mentioned earlier...

You will have to reverse engineer the source code to find out where that image code comes from and change it at the template source. "
......................................

I have the same single error code in all my product page that feature just one product. My homepage has zero errors as well as when it list all products on one page.

Here is the WC3 Validation page:

http://validator.w3.org/check?uri=http://www.kctrading.net/waterless-cookware/45-16pc-fry-aluminum-cookware-set-red-nonstick.html&charset;=(detect+automatically)&doctype=Inline&ss=1&outline=1&group=1&No200=1&verbose=1&st=1&user;-agent=W3C_Validator/1.654

I also have a custom template etcleanblue. So the question is where do I start looking as I can really find anything under that template....should be in a php file.

Thanks,

Doug

Link to comment
Share on other sites

Guess what?!?! I figured it out with a little help from my coder friends :D

http://validator.w3.org/check?uri=http://www.kctrading.net/waterless-cookware/43-12-element-kitchen-cookware-stainless-steel-14pc.html&charset;=(detect+automatically)&doctype=Inline&ss=1&outline=1&group=1&No200=1&verbose=1&st=1&user;-agent=W3C_Validator/1.654

Diffrent brackets/coding were throwing off the search in note++ as they were diffrent in W3C compared to what was actual used in the file on my web server as I found it in a diffrent DIR Prestashop and not etcleanblue templete area but was able to reword search and trace the defect in product.tbl under etcleanblue dir :D

Gee that felt good to find this! :D


Before:

<!-- prices -->


               {if $product->on_sale}




After:

<!-- prices -->


               {if $product->on_sale}


Link to comment
Share on other sites

Guess what?!?! I figured it out with a little help from my coder friends :D
Gee that felt good to find this! :D

Before:

<!-- prices -->


{if $product->on_sale}
{$img_dir}onsale_{$lang_iso}.gif[/color]

After:

<!-- prices -->


{if $product->on_sale}
** ON SALE! **[/color]




Remember:
Always use code-tags in forum when you post code. :)
Your solution was filtered out by forum-software here.
Nice catch NutBuster. :-)



Before:

<!-- prices -->


{if $product->on_sale}
[/color]


After:

<!-- prices -->


{if $product->on_sale}
[/color][/quote]

Link to comment
Share on other sites

×
×
  • Create New...