Dear colleagues,

Please advice - I cannot delete empty product classes shown in attached file.

I did a lot of things to delete them:
- deleted all orders from my site
- deleted those nodes manualy
- rename and deleted those nodes
- convert those node to sth else and deleted them.

but again and again after some time those empty nodes appears.

What is interesting - that all those nodes are unpublished but promoted to front page.
And what is more important - they have unique ID that I cannot change.

CommentFileSizeAuthor
print_screen.pdf37.39 KBandrey.naumoff
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

andrey.naumoff created an issue. See original summary.

TR’s picture

Title: Cannot delete empty product, sth recovers them again and again » Cannot delete empty product
Assigned: andrey.naumoff » Unassigned
Category: Bug report » Support request
Status: Active » Postponed (maintainer needs more info)
Issue tags: -cannot delete product class

Please give detailed steps to reproduce this problem. What do you mean by "empty product"? Are you using a product type or a product class type? Did you delete the class type before you tried to delete nodes of that type?

I had no problem creating a product class then creating a product of that product class type. When I go to /admin/content I can see the product, and when I delete it on this page it disappears.

andrey.naumoff’s picture

Hello TR, thank you for your interest.

This this what I mean under "empty products":

sth creates product class type products.

Created bundles have:
1. empty title fields, empty price fields, almost all fields are empty;
2. some fields have data: fields with predefined default values;
3. also in field that has unique property sth put all the time unique IDs. Such IDs were provided me long time ago, and now sth reproduce it again and again after deletion of product. All the time unique ID is the same.

Also created products have neutral language, unpublish status, and all off them are promoted to frontpage.

I cannot delete product class - since I have a lot of products that belong to this product class.

When I delete those products - they disapear, but after some period of time it appears again.

TR’s picture

"sth creates product class type products"

If by "sth" you mean "something", then I think you need to figure out what that something is, because that is what seems to be your problem. I suspect the machine name of your product class is the same as the name of a content type used by another module you have installed. Having two modules controlling the same content type won't work, and you may get behavior like you describe above. Or possibly it is some custom code that implements a hook that is creating these "empty" products.

TR’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

No further information provided.

andrey.naumoff’s picture

I found the solution - it is feed importer that reproduce empty products every 30 minutes. I put wrong settings for feed importer- stupid mistake.

Ubercart FOREVER!!!

andrey.naumoff’s picture

Status: Closed (cannot reproduce) » Closed (fixed)