KonaKart Community Forum

Installation / Configuration => Configuration of KonaKart => Topic started by: murthy64 on January 26, 2008, 11:35:32 pm

Title: Can't add new product
Post by: murthy64 on January 26, 2008, 11:35:32 pm
Hi
Just today I've downloaded the latest version. Under the admin login or catalog login, I am not able to create new products. Basically the SAVE button is disabled. Is there some licensing I need to enable the SAVE button for products.

Great effort guys!

Thanks
Murthy
Title: Re: Can't add new product
Post by: kate on January 27, 2008, 05:44:07 am
Hi,

The save button only gets enabled when there's a valid record to save.

The chances are you haven't got a valid record.

Check all the tabs and ensure there are no yellow (invalid) fields remaining.

Regards,
Kate
Title: Re: Can't add new product
Post by: murthy64 on January 27, 2008, 03:16:48 pm
Thank you Kate. It works great!

Title: Re: Can't add new product
Post by: ming on January 27, 2008, 04:19:22 pm
Hi,

QuoteIs there some licensing I need to enable the SAVE button


Just to be clear on this, in KonaKart there are no such blocks anywhere in the code.   There are no limits at all in the free product like you see with some free software.

The product is free and there are only a few conditions of use:  http://www.konakart.com/documents/LICENSE.txt

The one clause that we ask users to pay particular attention to is clause 5 which states:

5. Recognition. You must add a "Powered by KonaKart" link in the form Powered by KonaKart either on the main page of the shopping cart application or on a credits page linked to from the main page.

Thanks,
Ming
Title: Re: Can't add new product
Post by: egreenplace on February 07, 2008, 02:51:30 am
I have the following configurations for my development box:

Image base URL:      http://localhost:8780/konakart/images/
Image base Path:   C:/Program Files/KonaKart/webapps/konakart/images

I tried to upload an image for the product, I tried the following combinations:

Image Path:   abc
Select Image: I selected an image

When I clicked the upload button, the application created a strange file without any extensions called "abc" in the C:/Program Files/KonaKart/webapps/konakart/images directory.

Then, I manually created the directory "abc" and executed the command again, and it gave me a popup saying that there was a problem writing to C:/Program Files/KonaKart/webapps/konakart/images/abc (Access Denied).

Is there something obvious I am doing wrong? Did anyone run into this problem before? Thanks!
Title: Re: Can't add new product
Post by: ming on February 07, 2008, 06:02:20 am
Hi,

The image path is the last part of the full path to the image file... therefore, if your image was product.jpg you would choose abc/product.jpg as the Image Path.

Yes, you do have to create the abc directory first, as you have done.

Regards,
Ming
Title: Re: Can't add new product
Post by: egreenplace on February 07, 2008, 06:19:44 am
Quote from: ming on February 07, 2008, 06:02:20 am
Hi,

The image path is the last part of the full path to the image file... therefore, if your image was product.jpg you would choose abc/product.jpg as the Image Path.

Yes, you do have to create the abc directory first, as you have done.

Regards,
Ming


Thanks Ming! That actually worked and allowed me to upload an image. My only other problem now is similar to the one that started this thread. I cannot save the new product! I went through all the tabs and made sure that none of the fields is yellow. To be accurate, here is the list of the fields that I actually filled out:

DESCRIPTION TAB
Product Name
Product Description

DETAILS TAB
Product Type
Tax Class
Price Ex Tax
Manufacturer
Model

IMAGES TAB
Image 1

The rest of the tabs did not show any yellow lines, although I also assigned a category.

What am I doing wrong? Why the Save button is disabled and I cannot click it? I am using the latest Firefox. Thank you so much for your quick responses, you guys rule!

Bonnie
Title: Re: Can't add new product
Post by: julie on February 07, 2008, 06:35:36 am
Hi Bonnie,

Did you add a product description and name for all languages ?

Julie
Title: Re: Can't add new product
Post by: egreenplace on February 07, 2008, 03:21:10 pm
Quote from: julie on February 07, 2008, 06:35:36 am
Hi Bonnie,

Did you add a product description and name for all languages ?

Julie


Thanks Julie, your suggestion works! However, if I don't want to support multi-languages, how can I display the other two languages besides English? I removed the links to other languages, and I don't want to see our partners having to type in the product name and description in all three languages. Thank you.

Bonnie
Title: Re: Can't add new product
Post by: julie on February 07, 2008, 04:00:20 pm
Hi,

If you don't want to support multiple languages, you just need to remove the languages that you don't want from the DB. You can do this using the Admin App in the section Localizations>>Languages.

Julie
Title: Re: Can't add new product
Post by: egreenplace on February 07, 2008, 05:22:30 pm
Quote from: julie on February 07, 2008, 04:00:20 pm
Hi,

If you don't want to support multiple languages, you just need to remove the languages that you don't want from the DB. You can do this using the Admin App in the section Localizations>>Languages.

Julie


Thanks a lot Julie! I will check into that.

Bonnie
Title: Re: Can't add new product
Post by: rula on July 03, 2008, 09:12:44 am
Hi KonaKarts,

I can't add a new product.
I step through the first 3 tabs (descriptions, details, images).
Nothing is still yellow, but the new button is disabled.
What's the problem!?

regards, rula
Title: Re: Can't add new product
Post by: julie on July 03, 2008, 09:54:22 am
Keep on going. You need to add a category as well.
Title: Re: Can't add new product
Post by: rula on July 03, 2008, 10:51:14 am
Oh julie,
sure, every new product must be assigned to a category, but when!
The yellow helpers are fine, but I can' t rely on it, the checkboxes under categories were not yellow, what a pity!

regards, rula
Title: Re: Can't add new product
Post by: iamcp on July 28, 2008, 03:39:03 am

Hi,
Cannot upload images in the admin application. I the server.xml i have changed the <Context path="/iamcp" docBase="C:\konakart\webapps\konakart" /> .


Image base URL: http://localhost:8080/iamcp/images/

Image base Path:    C:/konakart/webapps/konakart/images

Image Path:   /Dell_logo.png

Select Image: C:\DELL\Dell_logo.png

The error message is given below as a pop up message.

There has been a problem with the upload
<pre>
</pre>

Could anyone please tell me what I'm doing wrong.

Thanks in advance.
Title: Re: Can't add new product
Post by: pete on July 28, 2008, 06:27:38 am
I seem to remember that there was a problem like this only when using Firefox which was fixed in v.2.2.0.6. The upload was actually working although the popup window was appearing every time.
Title: Re: Can't add new product
Post by: iamcp on July 29, 2008, 07:54:27 pm
Thats true, I tried this in IE it works like a charm.
Thanks for the tip.
Title: Re: Can't add new product
Post by: dhan on October 16, 2008, 11:58:49 pm
Hey,

I am having the same problem and can't able to save the changes. The SAVE/INSERT button is basically disabled. I tried adding all the required fields for the new product including category, no use. I did update the konakart_demo.sql file by hand and added a lot of products and categories. Hope that's allowed or do we need to use kkimport utility?.

When I tried to "edit" the existing product (by adding dependent products), can't able to "save" as well.

Am I missing something? I am on 2.2.6.0 version, trying in Windows XP.

Please help, I am desperately trying for the last several hours:). Thanks!.

--Dhan.
Title: Re: Can't add new product
Post by: kate on October 17, 2008, 05:47:09 am
You can edit the konakart_demo.sql script to add new products if you like but you have to obey the rules !!  For example you have to add the category and product descriptions in all your supported languages.

Check every tab to find the "yellow" fields and ensure they are populated - then you should get an enabled Save button.

Kate
Title: Re: Can't add new product
Post by: dhan on October 17, 2008, 06:39:47 am
Kate,

Can I ask another question.

If I edit a product using admin interface, I wonder whether the update is getting persisted. Does konakart_demo.sql get's updated?.

The reason is, I do all of the table update in my dev environment and I am wondering how would I install the changes in to QA/production environment.

Thanks for the help again
--Dhan.
Title: Re: Can't add new product
Post by: dhan on October 17, 2008, 06:50:07 am
BTW, thanks for the tip for my earlier problem. Once I took care of the locale, I could able to see the INSERT button while creating the new product.

Thanks!
--Dhan
Title: Re: Can't add new product
Post by: kate on October 17, 2008, 07:46:39 am
Hi Dhan,

QuoteCan I ask another question.

Yes :-)

QuoteIf I edit a product using admin interface, I wonder whether the update is getting persisted.

Yes, in the database, if you don't get an error or an exception...

QuoteDoes konakart_demo.sql get's updated?.

Never.  This is just for loading the database on installation.

QuoteThe reason is, I do all of the table update in my dev environment and I am wondering how would I install the changes in to QA/production environment.

You might be able to use the kkImporter/Exporter for this purpose... or you could write a little utility that uses the KonaKart Admin APIs to synchronise the databases in the manner you require...  or you could even use some generic database utilities as well...   It rather depends on your requirements.

Kate
Title: Re: Can't add new product
Post by: dhan on October 18, 2008, 03:37:46 pm
Kate,

Thanks a bunch for all your help.

Another trivial question: I can't seem to add the attribute for the product. The attribute tab list my product option but doesn't let me to enter a value.

I have SKU field blank, does it matter.

Thanks for your great support,
--Dhan
Title: Re: Can't add new product
Post by: kate on October 18, 2008, 04:56:30 pm
Hi Dhan,

It's very difficult for me to tell what state your data is in if you load it via a script you've written.   Are you absolutely sure you set all the values that were set in the konakart_demo.sql for loading products?  (and you haven't deleted any data that your values rely on for their integrity?)

If you can load a product using the Admin App itself and still get the problem it would be something we could look at.

It's OK to have a blank SKU field however.

Kate
Title: Re: Can't add new product
Post by: dhan on October 18, 2008, 07:29:34 pm
Kate,

I took your advise and created all the products using admin tool. I could able to edit/insert the products cleanly. No problem. Regarding options, I didn't implement it properly earlier, now I am clear with that as well.

But the problem I am trying to solve is this.

I want to place a constraint on most of the products with the minimum order number. What I mean is, a given product can be added to the basket if only minimum specified number of quantity is selected.

I was thinking I can create an attribute (as the product option) to the product that can carry "minimum order number" for each product. I don't know that's the right approach.

BTW, thanks to you my application looks much cleaner now :-)
--Dhan.
Title: Re: Can't add new product
Post by: julie on October 18, 2008, 08:28:51 pm
I think a better approach would be to use a custom field of the product.
Title: Re: Can't add new product
Post by: dhan on October 18, 2008, 10:22:57 pm
yes, custom field is very handy and I could use it now.

Thanks Julie for the help!
--Dhan