• Welcome to KonaKart Community Forum. Please login or sign up.
 
May 09, 2024, 04:19:52 am

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - heidi

166
Hi,

I can't see your 127.0.0.1 address of course but I have seen the Amazon demo you refer to.   

What you would have to do is to source your products from the KonaKart database rather than the Amazon Database.   To do this you would make use of the KonaKart APIs to access products.   I don't know but I imagine the existing demo uses SOAP calls to Amazon to get the product data;   you could use SOAP calls to access products from KonaKart.

You might find that working with OpenLaszlo isn't as easy as it looks.

Heidi

167
Hi,

It's difficult to say without knowing the Open Laszlo product that you speak about.   

What I can say is that KonaKart is designed to be easy to integrate with so at least you have plenty of options.

I'm surprised you prefer Open Laszlo programming to HTML, I've never been a fan of programming in XML like that, but we're all different  :)

Heidi
168
Hi Burz,

Yes, I expect it would help, although we've never quantified the benefits.  If you do that and see some performance gains, please let us know!

Heidi
169
shucks  ::)

Good luck with your project...   please send us a link to your site when it's ready!

Heidi
170
You have to ensure you create the correct sized array at the top of getConfigs()

configs = new KKConfiguration[8];

Have you got 8 variables?

Is this the problem?

You could always add some debug lines to figure it out easily enough.

Heidi
171
Programming of KonaKart / Re: How to use test mode?
February 27, 2008, 04:08:24 pm
Hi,

To get the value of any configuration variable you simply need to call:

kkAppEng.getConfig(the-name-of-the-variable);

Heidi
173
Hi,

You will find the java code is laid out in a standard fashion (under the custom directory) - including an ant build file - so you can easily reference these, and the other non-java files, using Eclipse (or any other java IDE).

Regards,
Heidi
174
Configuration of KonaKart / Re: Custom fields
February 27, 2008, 05:52:21 am
Hi,

QuoteIs it possible to define a label for each field?

For the Admin App?   Yes...  You can modify the message catalog:
http://www.konakart.com/configurationfaq.php#HowToTranslateTheAdminApp
For the application?  Yes, modify the JSPs.

QuoteHow can I show the labels and values of the fields in the product page?

Modify the JSPs to pick out the custom field values that you require.  The custom field values will be available on your product object.

Heidi
175
Configuration of KonaKart / Re: Custom fields
February 25, 2008, 05:40:54 am
I'm not sure what you mean.   There are already 5 custom fields on product that you can use.
Heidi
176
Hi,

You had setLimit(0) - this would limit the number of products returned to 0.

This version gets the products for each manufacturer in turn:

            // First get all the Manufacturers...
            ManufacturerIf manufacturer[] = eng.getAllManufacturers();

            System.out.println("Total number of Manufacturers: " + manufacturer.length);

            DataDescriptor datadesc = new DataDescriptor();
            datadesc.setOffset(0);
            datadesc.setLimit(-1);

            for (int man = 0; man < manufacturer.length; man++)
            {
                System.out.println("Manufacturer Name: " + manufacturer[man].getName());

                // Now for each manufacturer, we'll get all their products...
               
                ProductSearch prodSearch = new ProductSearch();
                prodSearch.setManufacturerId(manufacturer[man].getId());

                ProductsIf products = eng.searchForProducts(sessionId, datadesc, prodSearch, -1);
                ProductIf[] product_list = products.getProductArray();
               
                for (int j = 0; j < product_list.length; j++)
                {
                    System.out.println("The name of product is " + product_list[j].getName());
                }
            }

Heidi
177
Hi James,

I'm not quite sure where you've got to..  Are you part-way through another installation and you can't get it to recognise your database connection parameters?

If so, keep checking these.  If you've done it successfully once before I can't think of any reason why you can't use these again - unless there's been some kind of change to the database in the mean time (database stopped? user removed? etc)

Admin usernames/passwords: http://www.konakart.com/installationfaq.php#Default_Admin_App_Credentials

Heidi
178
You're welcome  :)

Good luck with your KonaKart project,

Heidi
179
Hi Lasana,

Could you describe the steps you have taken to reach where you've got to?

Did you use the GUI installation?

You mention that you have tomcat 5.5.   KonaKart comes with its own tomcat - so does this mean you made some KonaKart WARs an dcopied them to your own tomcat?

Is it just the Administration application that doesn't work?

Heidi
180
Hi ssharma,

I believe the problem is that you do not get a full product object returned from the getAllProducts calls (this is for performance reasons).

From the javadoc:
"Only Products with a non zero status and non zero invisible are returned. The description (which can be very long) and the array of options are not set. "

To get a fully-populated product you need to call getProduct for each product as you go through your loop.

Heidi