VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: alinamn on August 28, 2020, 10:56:51 AM

Title: products
Post by: alinamn on August 28, 2020, 10:56:51 AM
Hi,
I just installed VirtueMart on my site and I have some problems.
I have 3 products and a product that I can not get rid of. It seems that it's the parent of the other three.
Product name comes as "Translation missing for virtuemart_product_id" and 4 Children, but when I click on it there's no product name; I can't delete it or if I add a name it becomes a new product and the "0" one stays. Please help!
Thanks
Title: Re: products
Post by: Jörgen on August 28, 2020, 11:19:20 AM
Using multiple languages ?
Using what versions ?
Have You created child products ?
Check that You have the correct nr of translations in the database.
You can also check that no product uses a parentid that does not exist, You find this in product details in back end.

Jörgen
Title: Re: products
Post by: alinamn on August 28, 2020, 13:24:33 PM
Using multiple languages ?
My shop is in French and I have French on multilanguage

Using what versions ? VM 3.8.4
Have You created child products ? I tried not to, but this wierd product entry seems to be the parent of my 3 real products, but there's nothing in it when I click on it.

Check that You have the correct nr of translations in the database. How do I check that?

You can also check that no product uses a parentid that does not exist, You find this in product details in back end.
Will try to find that

Thanks
Title: Re: products
Post by: GJC Web Design on August 28, 2020, 17:47:45 PM
a live link to show this would make answering so much easier
Title: Re: products
Post by: alinamn on August 29, 2020, 11:35:35 AM
Hi. Here's the attachment. There are 3 real products and 1 strange one that claims to be the parent and I can't get rid of
In the second attachment you can see the inside of the strange one. There's no information.
Thanks
Title: Re: products
Post by: Jörgen on August 29, 2020, 11:43:05 AM
This product You are showing does it have productid = 0 ?

I guess this is totally WRONG, the whole parent child construct uses the fact that product id 0 is unused. Because all product that are not children have a parent id == 0.

In Your case all products are referring to your product with product id == 0, including the same product, this will give a circular reference without end.

Delete this product that has the id == 0. If not possible go into PhpMyAdmin and delete it there.

Jörgen
Title: Re: products
Post by: alinamn on August 29, 2020, 12:00:20 PM
Yes, it's id0 and I can't get rid of it. I'll go to myphpadmin. Thanks!
Title: Re: products
Post by: Jörgen on August 29, 2020, 12:41:43 PM
I have the feeling that we had a similar issue some time ago, do not know how it turned out though.
Please tell us how it went. I think the files you should look at are virtuemart_products, and langage derivates of these, also virtuemart_prices could be interesting.
In fact check all the other product files to see if there are any references to product id 0.

Jörgen
Title: Re: products
Post by: alinamn on August 30, 2020, 15:52:10 PM
Would it be a good idea to uninstall VirtueMart and install again? Now I know how to create products by cloning and since I don't have too much, maybe it's easier to restart the process. What do you think?
Title: Re: products
Post by: Jörgen on August 30, 2020, 16:59:58 PM
You do not have to uninstall virtuemart, but i think there is an option in virtuemart tools that clears the VM database.
But finding the product with id == 0 and deleting it is a very easy task.

Jörgen
Title: Re: products
Post by: alinamn on August 30, 2020, 17:05:17 PM
The product with the 0 id is the one that is not really a product and I can't delete it. That's my problem.
Title: Re: products
Post by: Jörgen on August 30, 2020, 17:35:39 PM
Have You really checked in the database ?

Jörgen
Title: Re: products
Post by: alinamn on August 30, 2020, 17:40:44 PM
No, not yet. I don't remember my password. I need the help of my host.
Title: Re: products
Post by: alinamn on August 31, 2020, 11:11:08 AM
I'm still waiting for my host to help me. But I have two more questions.
1. How do I remove the extra padding from around my logo (please see attached)
2. I put some copy in one of my products. Should that appear in the product details? Do I need to create a link for that?
Many thanks.
Title: Re: products
Post by: pinochico on August 31, 2020, 13:38:12 PM
Hi alinman,

if you need created new eshop, maybe you need hire some developer, not ask a lot of question on forum :)
Title: Re: products
Post by: alinamn on August 31, 2020, 16:32:25 PM
I was able to solve some of my problems. Don't worry. I won't bother you too much  :D :D
Title: Re: products
Post by: jenkinhill on August 31, 2020, 19:01:49 PM
Nobody can advise on css issues without a live site URL.
Title: Re: products
Post by: pinochico on August 31, 2020, 19:24:39 PM
QuoteI was able to solve some of my problems. Don't worry. I won't bother you too much

Of course, I understud.
You can post some questions and I can no answer. Don't worry.