View Single Post
  #4  
Old 03-02-2023, 01:24 PM
 
galoadm galoadm is offline
 

Advanced Member
  
Join Date: Dec 2013
Posts: 36
 

Default Re: Adding multiple new properties to a product trouble

Would I just add each separately like this:

Code:
$schema = parent::defineFields(); $schema['default']['myBrand'] = [ 'label' => static::t('Brand'), 'position' => 900, ]; $schema['default']['myCountryOrigin'] = [ 'label' => static::t('Country of Origin'), 'position' => 910, ];

etc.
__________________
X-Cart Business 5.4
Reply With Quote