Has anyone seen this error? After setting up my products to use custom fields, when I try to use the 'copy' button from the catalog browser in admin, I recieve this error message:
Unable to cast object of type 'CommerceBuilder.Products.ProductCustomField' to type
'CommerceBuilder.Stores.CustomField'.
Any ideas??
Scott
Possible Bug with Copy Product Button
Re: Possible Bug with Copy Product Button
For me its working fine as desired. I have created a template with merchant and the customer fields and then applied it over the product. Then i created a copy of the product using the copy button and it worked great.
Re: Possible Bug with Copy Product Button
Product templates are different than product custom fields.mazhar wrote:For me its working fine as desired. I have created a template with merchant and the customer fields and then applied it over the product. Then i created a copy of the product using the copy button and it worked great.
He's talking about the Product.ProductCustomFields data class.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
Re: Possible Bug with Copy Product Button
Joe is right. It worked fine when using product templates, but, with Product Custom Fields, it causes this error durring the copy. Is there any way I could get details of the copy method, so I could recreate the actions of the copy button and fix the invalid cast in the code?
Thanks,
Scott
Thanks,
Scott