FriendsOfShopware / FroshPlatformShareBasket

This plugin allows your customers to save the current basket and share it via link.
MIT License
13 stars 7 forks source link

Vouchers Share Basket #14

Closed kaskowski closed 2 years ago

kaskowski commented 2 years ago

PHP Version

PHP 7.4

Shopware Version

6.4.7.0

Actual behaviour

If you add voucher codes to the basket you're receive failure notification on open it. If you delete the promotion code line from frosh_share_basket_line_item and open the basket is all okay.

Expected behaviour

Fix to add vouchers in to the sharing basket and customers could open it.

Steps to Reproduce?

Add Articles and a general promotion code to the basket, share the basket and open it. You see and empty basket. Sometimes you can open the basket with click one the basket symbol and you can only see the article without any promotion code. On some platforms you became an error notifcation.

ChrisWe commented 2 years ago

@kaskowski @shyim Do you have a solution to this issue or maybe a hint how to add discounts? I would like to fix this but im not that familiar with shopware 6 yet. I can't find the cart entry for the voucher in the database and i assume thats the underlying problem here.

DannyDan commented 2 years ago

I dont know but I cant reproduce the issue. The Discount is also in the cart when opening the cart via the direct url.

stefanpoensgen commented 2 years ago

i'm not able to reproduce this either. my testings with latest shopware version are as intendet. please check if there are any other plugins which affect the shopping cart or provide further information of your setup and how you configurate your promotion.