• Welcome to KonaKart Community Forum. Please login or sign up.
 
November 21, 2024, 11:44:06 pm

Recent posts

Pages 1 2 3 4 ... 10
11
Configuration of KonaKart / Re: Removing 'Konakart' from U...
Last post by kameraad759 - January 13, 2021, 03:07:10 am
Its a long time ago, I hop you read this post.

But can you tell me how web.xml is like and the config file? Like this:

<filter>
  <filter-name>RedirectFilter</filter-name>
  <filter-class>com.cj.redirect.RedirectFilter</filter-class>
  <init-param>
    <param-name>config</param-name>
    <param-value>E:\Konakart\conf\config.txt</param-value>
  </init-param>
</filter>

<filter-mapping>
  <filter-name>RedirectFilter</filter-name>
  <url-pattern>/konakart/*.jsp</url-pattern>
</filter-mapping>

and the config.txt like:

/konakart/*=http://www.xyz.com

I have no succes with it, but I think I made a mistake.

Thanks
Hans
12
Programming of KonaKart / Hide konakart in URL link
Last post by kameraad759 - January 11, 2021, 01:47:12 am
Hello,

When I use Store front, I see always something like this:

http://www.website.us/konakart/Electronics.......

I do not want to see konakart. I want like this:

http://www.website.us/Electronics.......

Just this seems to be the root of the website.

How can I configure this? Maybe with a hide a part of the link. Can you help me?

Thank
Hans
13
Programming of KonaKart / Re: Currencies.value field too...
Last post by kameraad759 - December 31, 2020, 02:06:08 am
Anyone? Somebody? Marco? Brian?

Just a simple answer. In wich class and method is the rounding of the value of the currency, before saving in database. The current rounding is 5 before and 5 after the decimal point. I am interested in the rounding after the decimal point. Where is it?
14
Programming of KonaKart / Re: Currencies.value field too...
Last post by kameraad759 - December 26, 2020, 08:20:39 am
Hello,

In which (konakartadmin) class is the format of the currency (eq. 15,6) defined. I changed the field for the currency value in the database from 15,6 to 15,10, but in the admin app , there is a rounding of 5 digits after the point.

Example: In the Admin APP Currencies. I give 1.123456789, but it is rounded to 1.12346. Still 5 digits (not even 6!). Where in a class is defined there is a rounding for 5 digits for the currencies?

Thanks in advance for helping or given me a hint.
Hans
15
Programming of KonaKart / Re: Change content in aboutus,...
Last post by kameraad759 - December 23, 2020, 05:25:54 am
I see and get it. Thanks
16
Programming of KonaKart / Re: Change content in aboutus,...
Last post by Brian - December 23, 2020, 05:15:19 am
Quoting from the link I sent you earlier:


Notice that the default build target compiles all the source files and creates the jars. It doesn't move the jars or create any wars.

If after building the jars you wish to move these to your webapp lib directories you should use the "copy_jars" target.
17
Programming of KonaKart / Re: Change content in aboutus,...
Last post by kameraad759 - December 23, 2020, 04:15:57 am
Wich cteated jars?
18
Programming of KonaKart / Re: Change content in aboutus,...
Last post by Brian - December 22, 2020, 08:47:07 am
Take a look at https://www.konakart.com/docs/CustomizableSourceCode.html

The ANT target copy_jars moves the created jars to the webapps.
19
Programming of KonaKart / Currencies.value field too sma...
Last post by kameraad759 - December 22, 2020, 01:56:16 am
Hello,

I use IDR as default currency. The currency is at the moment approx 17000 (1 Euro). If I set IDR as default and that currency field is 1, then I have to set the currency field for Euro on 0.0000588235 (1/17000). With the current setting in the Database (15,6), it is not possible to set the correct currency. I changed the field in 15,10. Thats working, the prices are displayed correctly in the Storefront. But when I edit the currency in the Admin.Currency tool, the give currency wil be stripped again to 6 digits after the decimal. Somewhere in a class or source (AdminCurrencyMgr) this happens.

How can I change it to put a currency like 0.9123456789? Better if Konakart use the default currency field as "per currency value". Let say the currency value would be 10000, and in my example the Euro currency would be 0.588235. So no DB change is needed.

a) Can you change in a class or source that there is no stripping for 6 digits after the decimal separator?

or

b) Can you change the default currency field ad "per currency value"?

For now I have to change the currencies directly in the Database. Not handy.

Thanks
20
Programming of KonaKart / Re: Change content in aboutus,...
Last post by kameraad759 - December 22, 2020, 01:42:42 am
Solved
Pages 1 2 3 4 ... 10