Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/add span to style from price translation #3631

Open
wants to merge 2 commits into
base: stable
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions meta/documents/changelog_de.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Release Notes für plentyShop LTS

## v5.0.72 (2025-xx-xx) <a href="https://github.com/plentymarkets/plugin-ceres/compare/5.0.71...5.0.72" target="_blank" rel="noopener"><b>Übersicht aller Änderungen</b></a>

### Hinzugefügt
- Es wurde ein `<span>` Element hinzugefügt um die Übersetzung "ab :price" (`Ceres::Template.itemSetPrice`) mit CSS identifizieren zu können.

## v5.0.71 (2024-12-12) <a href="https://github.com/plentymarkets/plugin-ceres/compare/5.0.70...5.0.71" target="_blank" rel="noopener"><b>Übersicht aller Änderungen</b></a>

### TODO
Expand Down
5 changes: 5 additions & 0 deletions meta/documents/changelog_en.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Release Notes for plentyShop LTS

## v5.0.72 (2025-xx-xx) <a href="https://github.com/plentymarkets/plugin-ceres/compare/5.0.71...5.0.72" target="_blank" rel="noopener"><b>Overview of all changes</b></a>

### Added
- A `<span>` element has been added to identify the translation "from :price" (`Ceres::Template.itemSetPrice`) with CSS.

## v5.0.71 (2024-12-12) <a href="https://github.com/plentymarkets/plugin-ceres/compare/5.0.70...5.0.71" target="_blank" rel="noopener"><b>Overview of all changes</b></a>

### TODO
Expand Down
4 changes: 2 additions & 2 deletions resources/js/src/app/components/itemList/CategoryItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@
{{ $translate("Ceres::Template.itemSetPrice", { price: itemSetPrice }) }} {{ $translate("Ceres::Template.itemFootnote") }}
</template>
<template v-else-if="itemGraduatedPriceisCheapestSorting">
{{ $translate("Ceres::Template.itemFromPrice", { price: itemPriceGraduated }) }} {{ $translate("Ceres::Template.itemFootnote") }}
<span>{{ $translate("Ceres::Template.itemFromPrice", { price: itemPriceGraduated }) }}</span> {{ $translate("Ceres::Template.itemFootnote") }}
</template>
<template v-else-if="itemGraduatedPricesalableVariationCount">
{{ $translate("Ceres::Template.itemFromPrice", { price: itemPriceGraduated }) }} {{ $translate("Ceres::Template.itemFootnote") }}
<span>{{ $translate("Ceres::Template.itemFromPrice", { price: itemPriceGraduated }) }}</span> {{ $translate("Ceres::Template.itemFootnote") }}
</template>
<template v-else>
{{ item.prices.default.unitPrice.formatted | specialOffer(item.prices, "unitPrice", "formatted") }} {{ $translate("Ceres::Template.itemFootnote") }}
Expand Down