Skip to content

Commit

Permalink
[Mod] add : new extrafields for translate
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-eoxia committed Aug 30, 2021
1 parent b15519e commit eeb6cdb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/modules/modDoliWPshop.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,9 @@ public function init( $options = '' ) {
$extra_fields->addExtraField( '_wps_id', 'WPshop ID', 'int', 1000, '', 'categorie', 1, 0,'','', 0,'','1' );
$extra_fields->addExtraField( '_wps_slug', 'WPshop Slug', 'varchar', 1001, '', 'categorie', 2, 0,'','', 0,'','1' );

$extra_fields->addExtraField( 'wpshopidtradmultilangs', 'WPshop_ID_trad_multilangs', 'int', 100, '10', 'product_lang', 1, 0,'','', 0,'','5' );
$extra_fields->addExtraField( 'wpshopurltradmultilangs', 'WPshop_Url_trad_multilangs', 'url', 101, '', 'product_lang', 1, 0,'','', 0,'','5' );

return $this->_init(null);
}

Expand Down

0 comments on commit eeb6cdb

Please sign in to comment.