Skip to content

Commit

Permalink
Merge branch 'craft-3' of https://github.com/verbb/stamped-io into cr…
Browse files Browse the repository at this point in the history
…aft-4

# Conflicts:
#	.github/ISSUE_TEMPLATE/bug_report.yaml
#	.github/ISSUE_TEMPLATE/feature_request.yaml
#	.github/ISSUE_TEMPLATE/support_request.yaml
#	CHANGELOG.md
#	README.md
#	composer.json
  • Loading branch information
engram-design committed May 27, 2024
2 parents b2cb531 + bf8f4a7 commit 57ea3ac
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,21 @@
- Now requires Craft `4.0.0+`.
- Now requires Craft Commerce `4.0.0+`.

## 1.0.2 - 2022-07-15

### Added
- Add `productImageUrl` to payload sent to Stamped.io. (thanks @smockensturm).
- Product image fields can now be configured through plugin settings. (thanks @smockensturm).
- Add conditionals around product image fields, only if one is configured.
- Allow all settings to be set as `.env` variables.

### Changed
- Change `productImageFieldTransformation` to `productImageFieldTransform` for consistent language inline with Craft image transforms.
- Change Product Image fields in settings to use selects for pre-defined options, preventing unwanted side-effects.

### Fixed
- Fix some required plugin settings not being set as required.

## 1.0.1 - 2021-08-22

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion src/Stamped.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ protected function createSettingsModel(): Settings

protected function settingsHtml(): ?string
{
return Craft::$app->view->renderTemplate('stamped-io/settings', [
return Craft::$app->getView()->renderTemplate('stamped-io/settings', [
'settings' => $this->getSettings(),
]);
}
Expand Down

0 comments on commit 57ea3ac

Please sign in to comment.