Expiration Date - Language

25.01.2021 15:58
#1
mrbernd
Joomshopping forum user no avatar
Name: Bernd
18.02.2010
Posts: 337
Quote
Expiration Date - Language

Hello,

i bought Plugin: Expiration Date

where can i change the Language-File for this Plugin?
Your German Translation is not correct.

And is it possible, to deactivate showing the start and stop date in the Frontend?

Thank You


Joomla: 3.9.24
JoomShopping: Version 4.18.5
PHP: 7.4
 
26.01.2021 08:11
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25919
Quote
Aw: Expiration Date - Language

components\com_jshopping\lang\addon_expiration_date\de-DE.php
https://www.joomshopping.com/forum/posts/7/2655.html

Need change plugin code
\plugins\jshoppingproducts\expiration_date\expiration_date.php

function _getHtmlWithDates($product) {
....
}

change to

function _getHtmlWithDates($product) {
return '';
}

 
26.01.2021 13:07
#3
mrbernd
Joomshopping forum user no avatar
Name: Bernd
18.02.2010
Posts: 337
Quote
Aw: Expiration Date - Language

Hello,

sorry, but this path does not exist!

there is no language file?!
components\com_jshopping\lang\addon_expiration_date\de-DE.php

i´m confused

 
26.01.2021 13:17
#4
mrbernd
Joomshopping forum user no avatar
Name: Bernd
18.02.2010
Posts: 337
Quote
Aw: Expiration Date - Language

Change code but

syntax error, unexpected 'return' (T_RETURN), expecting ';' or '{'

 
26.01.2021 14:42
#5
mrbernd
Joomshopping forum user no avatar
Name: Bernd
18.02.2010
Posts: 337
Quote
Aw: Expiration Date - Language

Okay,

found the langugae file

and successfull edit the .php file


Maybe you can integrate such values in the plugin ?!
show start and end date? yes or no

 
26.01.2021 17:04
#6
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25919
Quote
Aw: Expiration Date - Language

Ok.

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.