Spartacus Type Augmentation to add new attribute in Product without creating custom Model
add new attribute in OOB product UI model and OOC product model.
declare module '@spartacus/core' {
interface Product {
newattributename?: string;
}
namespace Occ {
interface Product{
newattributename?: string;
}
}
Comments
Post a Comment