Hey guys,
Why we had all of our data moved from AC5.5 to AC7 they some how made a product template for each and every product. So, there's like 5k of them. Is there a way to delete all of them and start over?
Thanks,
Andy
Product Template Mass Deletion
Re: Product Template Mass Deletion
You can try following code to delete all product templates from your store.
Put it somewhere in your store on some page, for example on Product Templates page at some button event.
Code: Select all
CommerceBuilder.Products.ProductTemplateCollection templates = CommerceBuilder.Products.ProductTemplateDataSource.LoadForStore();
foreach (ProductTemplate template in templates)
template.Delete();
Re: Product Template Mass Deletion
Thanks Mazhar,
Could you elaborate any?
Could you elaborate any?
Re: Product Template Mass Deletion
Never mind,
Just figure it out.
Thanks again!
Just figure it out.
Thanks again!