mirror of
https://github.com/vr-payment/shopware-6.git
synced 2026-06-19 03:13:19 +00:00
Release 6.2.1
This commit is contained in:
@@ -337,6 +337,7 @@ class CheckoutSubscriber implements EventSubscriberInterface
|
||||
new EqualsFilter('salesChannels.id', $event->getSalesChannelContext()->getSalesChannelId())
|
||||
);
|
||||
$criteria->addSorting(new FieldSorting('position', FieldSorting::ASCENDING));
|
||||
$criteria->addAssociation('media');
|
||||
|
||||
$result = $this->paymentMethodRepository->search($criteria, $event->getContext());
|
||||
foreach ($result->getEntities() as $method) {
|
||||
|
||||
@@ -28,7 +28,7 @@ class Analytics {
|
||||
self::SHOP_SYSTEM => 'shopware',
|
||||
self::SHOP_SYSTEM_VERSION => $shopwareVersion,
|
||||
self::SHOP_SYSTEM_AND_VERSION => 'shopware-' . $shopwareVersion,
|
||||
self::PLUGIN_SYSTEM_VERSION => '6.2.0',
|
||||
self::PLUGIN_SYSTEM_VERSION => '6.2.1',
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
@@ -345,7 +345,7 @@ class TransactionPayload extends AbstractPayload
|
||||
->setShippingRequired(false)
|
||||
->setSku('sku-discount-' . $rate . '-' . $discountName, 200)
|
||||
->setType(LineItemType::DISCOUNT)
|
||||
->setUniqueId('coupon-sku-discount-' . $rate . '-' . $rate . '-' . $discountName);
|
||||
->setUniqueId('coupon-sku-discount-' . $rate . '-' . $rate . '-' . $discountName . '-' . $discount->getId());
|
||||
|
||||
$taxRate = new TaxCreate(['title' => 'Discount Tax: ' . $rate, 'rate' => $rate]);
|
||||
$lineItem->setTaxes([$taxRate]);
|
||||
|
||||
Reference in New Issue
Block a user