plugins – How to return a specific attribute

Question

The following returns the description

return (new CSimpleField('product','data','description',null,null))->GetHtml();

I am trying to return a specific attribute named pa_color but it is not working. Can you please help me on this?

return (new CSimpleField('product','data','pa_color',null,null))->GetHtml();

0
Selim 1 month 2022-08-27T06:13:25-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse