mollie / PrestaShop

iDEAL, Creditcard, Bancontact, SOFORT, Bank transfer, PayPal & paysafecard for Prestashop
http://www.mollie.com
BSD 2-Clause "Simplified" License
69 stars 44 forks source link

PIPRES-338: Mixed cart subscription listing improvements #812

Closed mandan2 closed 1 year ago

mandan2 commented 1 year ago

Added alter table improvements for install process as following tables are not being removed during uninstall process at all so there were several merchants, which had previously installed Mollie module and came back to install it after some time. Due to this flow some columns were not appended as no upgrade script was executed.

Improvements for subscription order listing in BO and FO.

In BO instead of unit_price started showing total order price. Additionally changed email data for total price. In FO improved subscriptions order listing to show only subscription order total price (previously full mixed order price was shown) In FO added decorated OrderLazyArray class and changed OrderProvider to give only products and totals for subscription context. Adding example of recurring order, which had in the cart only subscription product to show that prices are the same. Original order had multiple random products but only one subscription.

image Original order: image image Subscription order view without other products image New recurring order from webhook image