Page 1 of 1

Latest products rss feed multilanguage help

Posted: Sat Oct 15, 2016 4:10 pm
by marius-ciclistu
Hello, Can anyone help me with a php line? I have this extension in opencart 1.5.4 and I saw that if I open a tab with my website and select a language, the same language is displayed in the rss feed.
I thought that if I could copy the latest_products_rss file in latest_products_rss_en.php and edit it to consist of the same ideea as the language div has in the opencart site, maybe I could do 2 feeds, one for each language. (english is not the default language for my website).

The code from the opencart is :

<img src="image/flags/gb.png" alt="English" title="English" onclick="$('input[name=\'language_code\']').attr('value', 'en'); $(this).parent().parent().submit();">

I don't know how to write a line in php that simulates the onclick action.

I tried :


but it does not work.

Thank you.

PS. the extension link is ... on_id=4595