james-hickman-arc / magento-w2p

Automatically exported from code.google.com/p/magento-w2p
0 stars 0 forks source link

Clear all data #711

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Every once in a while a customer might require to delete all products and then 
re-import them.

This is too tricky at the moment since the template data is saved somewhere and 
when the option is set to "Delete products for deleted templates" or 
vice-verse, this is impossible.

We need to add some feature or step by step explanation how admins can:
1. Delete all products in their store
2. Run Template sync
3. Run product creation
4. Get the products back in the store

Currently, the second sync ignores the templates since they were cached.

Original issue reported on code.google.com by agur...@gmail.com on 30 Nov 2011 at 10:07

GoogleCodeExporter commented 8 years ago
Set Refresh All Templates to Yes to update templates even if they are 
up-to-date.

The second sync ignores a template only if it's not public or if it wasn't 
changed since previous sync (date field)

Original comment by Anatoly....@gmail.com on 30 Nov 2011 at 8:14

GoogleCodeExporter commented 8 years ago
Yep but the customer had "Delete products" set for deleted templates when I ran 
the sync profile after deleting all the products.
Now there's no way to get them back.

I did try all combos of "Refresh all", "Ignore deleted templates"... to get 
them back.

Tell you what, I'll mark this "To test" so that I can try to replicate the 
situation from scratch on /mageimage/ and then explain step by step what the 
problem was. It is not a common situation but I think we should offer a way for 
admins to reset imported data without digging into databases or whatever.

Original comment by agur...@gmail.com on 1 Dec 2011 at 10:22

GoogleCodeExporter commented 8 years ago
Not sure what the problem was on uprint but I tried lots of combinations on 
mageimage and could not replicate.
No problem getting products back after deleting them. Actually, I was able to 
do it regardless of "Refresh all" setting.

Original comment by agur...@gmail.com on 14 Dec 2011 at 6:36

GoogleCodeExporter commented 8 years ago
Ok here we go, the issue came up again, this time in our demo store.

There are 198 templates in the portal account connected to /magento/. Same 
number of templates in M.
Only ~120 of them have corresponding products created. I want to create 
products for the remaining ones now.

Settings are set to "refresh all templates".. re-sync, tried to create products 
for them but M ignores it. 

This is one example situation I was talking about int this issues description. 
How do I get those products created now? They were probably deleted at one 
point and now the system remembers this and refuses to create products for 
those templates.

Original comment by agur...@gmail.com on 23 Dec 2011 at 10:58

GoogleCodeExporter commented 8 years ago

Original comment by ad...@zetaprints.com on 29 Dec 2011 at 5:31

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago

Original comment by ad...@zetaprints.com on 29 Dec 2011 at 6:33

GoogleCodeExporter commented 8 years ago
I restored all hidden products.

Original comment by Anatoly....@gmail.com on 2 Jan 2012 at 9:21

GoogleCodeExporter commented 8 years ago
Wasn't this suppose to be part of the extension? Like some setting that will 
force all templates to be refreshed regardless if they were deleted manually in 
the past or whatever.

Anatoly, did you fix our demo store only or did you modify the extension?

Original comment by agur...@gmail.com on 3 Jan 2012 at 10:13

GoogleCodeExporter commented 8 years ago
Looks like the products got broken during some bulk edit operation.
A similar situation on a customer site (RT ticket 1928) may be because of the 
same.
We need to find a way of identifying these products since they are no showing 
in the admin.
Do they show in data export?

Original comment by ad...@zetaprints.com on 4 Jan 2012 at 3:56

GoogleCodeExporter commented 8 years ago

Original comment by Anatoly....@gmail.com on 4 Jan 2012 at 9:39

GoogleCodeExporter commented 8 years ago
Anatoly, explain in sufficient detail what you did to restore them.
We'll write a help post about it and close the issue for now. 

Original comment by ad...@zetaprints.com on 16 Feb 2012 at 4:02