Skip to content

Commit

Permalink
Merge pull request #3439 from plentymarkets/feat/unitpricespecificati…
Browse files Browse the repository at this point in the history
…on-remove-condition

feat: remove condition for unitpricespecification
  • Loading branch information
ksted authored Jul 28, 2023
2 parents 9b4fa76 + b186eff commit c51ddab
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
8 changes: 7 additions & 1 deletion meta/documents/changelog_de.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
# Release Notes für plentyShop LTS

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

### Geändert

- Um die schema.org-Daten [SalesPrice](https://schema.org/SalePrice) und [ListPrice](https://schema.org/ListPrice) auf der Artikeldetailseite auszugeben ist es nicht mehr notwendig, an der Variante die Option **Grundpreis anzeigen** zu aktivieren.

## v5.0.60 (2023-07-19) <a href="https://github.com/plentymarkets/plugin-ceres/compare/5.0.59...5.0.60" target="_blank" rel="noopener"><b>Übersicht aller Änderungen</b></a>

### Behoben

- Auf der Artikeldetailseite in der nicht Standardsprache wurde in den schema.org Angaben das Sprackürzel in der URL nicht angezeigt. Das wurde behoben.
- In den schema.org-Daten der Artikeldetailseite sind jetzt sowohl (SalePrice)[https://schema.org/SalePrice] als auch (ListPrice)[https://schema.org/ListPrice] hinterlegt.
- In den schema.org-Daten der Artikeldetailseite sind jetzt sowohl [SalesPrice](https://schema.org/SalePrice) als auch [ListPrice](https://schema.org/ListPrice) hinterlegt.
- Im Checkout wurde ein Javascript-Fehler behoben, der aufgrund einer unbefüllten Variable in der Funktion `CheckDeliveryAddressError()` auftrat.
- In der Kategorieansicht wurden unter bestimmten Umständen der UVP nicht angezeigt.
- Bei Aufruf von Kategorieseiten konnte mit sehr hoher Seitenzahl konnte es Out Of Memory Exception kommen.
Expand Down
8 changes: 7 additions & 1 deletion meta/documents/changelog_en.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
# Release Notes for plentyShop LTS

## v5.0.61 (2023-xx-xx) <a href="https://github.com/plentymarkets/plugin-ceres/compare/5.0.60...5.0.61" target="_blank" rel="noopener"><b>Overview of all changes</b></a>

### Changed

- To show the schema.org data for [SalesPrice](https://schema.org/SalePrice) and [ListPrice](https://schema.org/ListPrice), it's no longer necessary to activate the **Show unit price** option of the variation.

## v5.0.60 (2023-07-19) <a href="https://github.com/plentymarkets/plugin-ceres/compare/5.0.59...5.0.60" target="_blank" rel="noopener"><b>Overview of all changes</b></a>

### Fixed

- On the item detail page in the non-standard language, the language abbreviation was not displayed in the schema.org details in the URL. This has been fixed.
- The schema.org data on the item details page now includes both the (SalePrice)[https://schema.org/SalePrice] and (ListPrice)[https://schema.org/ListPrice].
- The schema.org data on the item details page now includes both the [SalesPrice](https://schema.org/SalePrice) and [ListPrice](https://schema.org/ListPrice).
- Fixed a Javascript error in the checkout due to an unfilled variable in the `CheckDeliveryAddressError()` function.
- In the category view, the MSRP was not displayed under certain circumstances.
- When calling category pages with very high page count, Out Of Memory Exception could occur.
Expand Down
2 changes: 0 additions & 2 deletions resources/views/Item/SingleItemWrapper.twig
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
"priceValidUntil": "{{ priceValidUntil }}",
{% endif %}
"url" : "{{ requestedVariationUrl }}",
{% if itemData.prices.default.baseLot > 0 %}
"priceSpecification":[
{% if itemData.prices.rrp %}
{
Expand Down Expand Up @@ -95,7 +94,6 @@
}

],
{% endif %}
"availability" : "{{ itemData.variation.availability.mappedAvailability }}",
"itemCondition" : "{{ conditionOfItem }}"
},
Expand Down

0 comments on commit c51ddab

Please sign in to comment.