Skip to content

Commit

Permalink
product numbers with length 24
Browse files Browse the repository at this point in the history
  • Loading branch information
boxblinkracer committed Dec 27, 2024
1 parent 821bbbf commit 3a8a7ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ using the [Keep a CHANGELOG](https://keepachangelog.com/) principles.
### Changed

- Support for Shopware 6.6.9.0
- Product Numbers are now generated with a length of 24 instead of 16 to avoid conflicts with existing products.

### Fixed

Expand Down
2 changes: 1 addition & 1 deletion src/Service/Generator/ProductGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public function generate(string $keywords, int $maxCount, string $category, stri
$prompt .= 'Every resulting line should be in the order and sort provided below:' . PHP_EOL;
$prompt .= PHP_EOL;
$prompt .= 'product count.' . PHP_EOL;
$prompt .= 'product number code. should be 16 unique random alphanumeric.' . PHP_EOL;
$prompt .= 'product number code. should be 24 unique random alphanumeric.' . PHP_EOL;
$prompt .= 'name of the product.' . PHP_EOL;
$prompt .= 'description (about ' . $descriptionLength . ' characters).' . PHP_EOL;
$prompt .= 'price value (no currency just number).' . PHP_EOL;
Expand Down

0 comments on commit 3a8a7ea

Please sign in to comment.