- Posts: 10
- Thank you received: 2
Sprachdateien
-- Joomla version -- : 3.3.3
Ich habe ein bis zwei Fragen zu den Sprachfiles und zu dem Datumsformat:
In der Bestellübersicht des Kunden steht -trotz deutscher Sprachfiles- der Status in englisch (cancelled, shipped...) usw. Wo finde ich die Sprachfiles zum Ändern?
Ferner sind viele Datumsanzeigen nicht im deutschen Format, sondern ebenfalls im englischen Format. Wo kann das geändert werden? Kann es sein, das deswegen die Mass Action wie hier beschrieben nicht funktioniert? Ich kann eingeben was ich will, es werden immer alle Produkte angezeigt.
Was muss ich genau eingeben, wenn 10 Tage vor "product sales end" eine Aktion durchgeführt werden soll?
Hoffe ich habe es halbwegs verständlich formuliert. :oops: :oops: :blush:
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
1. The order statuses are already translated in HikaShop. Please replace the content of the file administrator/components/com_hikashop/types/categorysub.php with this: pastebin.com/wJYf6Xrh
Then it should display the statuses in German.
2. The date formats come from translations. You can change these translations with an override
HIKASHOP_DATE_FORMAT="%d %B %Y"
HIKASHOP_EXTENDED_DATE_FORMAT="%d %B %Y %H:%M"
hikashop.com/download/languages.html#modify
3. The date display format is not related to the mass actions filtering system.
For such filtering rule, you want to have a product column filter like this:
product_sale_end <= {time}+864000
4. Next version of HikaShop will be released in a few weeks.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
That works fine :woohoo:nicolas wrote: Hi,
1. The order statuses are already translated in HikaShop. Please replace the content of the file administrator/components/com_hikashop/types/categorysub.php with this: pastebin.com/wJYf6Xrh
Then it should display the statuses in German.
The files are changed, but nothing happens in the order View (for example)nicolas wrote: 2. The date formats come from translations. You can change these translations with an override
HIKASHOP_DATE_FORMAT="%d %B %Y"
HIKASHOP_EXTENDED_DATE_FORMAT="%d %B %Y %H:%M"
hikashop.com/download/languages.html#modify
nicolas wrote: 3. The date display format is not related to the mass actions filtering system.
For such filtering rule, you want to have a product column filter like this:
product_sale_end <= {time}+864000
That doesn't work. Nothing happens. I tried and tried and tried but it didnt work. The Result is ever 0. At least one product (end date 07 September 2014) should be displayed or not ?! Where is the mistake?
When I changed to ">=" it will ever shown all Products. Thats correct i think.
nicolas wrote:
4. Next version of HikaShop will be released in a few weeks.
Nice to see :silly:
Thanks for your patience :blush: :blush:
Please Log in or Create an account to join the conversation.
2. Not all the dates use yet these translations. For these, you need to edit the "listing" file of the "order" view for your backend template via the menu Display>Views and change the format in that file directly.
3. I'm pretty sure the mass action should work as I said. If you turn on the debug mode option of the Joomla configuration and process the mass action to display the products, what are the queries logged at the bottom of the result page ?
Please Log in or Create an account to join the conversation.
Ah, okay. Thx.nicolas wrote: Hi,
2. Not all the dates use yet these translations. For these, you need to edit the "listing" file of the "order" view for your backend template via the menu Display>Views and change the format in that file directly.
Are this the files you need? There are so many data there.nicolas wrote: 3. I'm pretty sure the mass action should work as I said. If you turn on the debug mode option of the Joomla configuration and process the mass action to display the products, what are the queries logged at the bottom of the result page ?
Please Log in or Create an account to join the conversation.
Thanks to edit the file "administrator/components/com_hikashop/classes/massaction.php" and in the function "getRequest" remove/comment the line:
Please Log in or Create an account to join the conversation.
Xavier wrote: Hi,
Thanks to edit the file "administrator/components/com_hikashop/classes/massaction.php" and in the function "getRequest" remove/comment the line:Code://$filter['value'] = strftime('%Y-%m-%d %H:%M:%S',$filter['value']);
Hey, It seems it works
Merci :woohoo: :woohoo: :woohoo: :woohoo:
Please Log in or Create an account to join the conversation.
Theres another problem with my Mass-Action.
I fount this nice example: change the category of a product .
In this example you write: product_quantity = 0, but whatever I do, the 0 does not work. If i set "0" all my products will be changed to out of stock, but if I set "-0" it seems it works. Could that be right??? :blink:
And where can I see/read, what "int, Float, String and operation" means :blush:
Please Log in or Create an account to join the conversation.
If it works with "-0", so use it. With "0" that should be ok, I will do some checks about that.
There is not yet complete documentation for this. It's on my todo list :blush:
"Int", "Float", "String" I think that it's ok, regarding operation, you should find an example in the documentation, you can edit dynamically the values, for example increase the stock by 1 thanks to: "product.product_quantity + 1"
Please Log in or Create an account to join the conversation.