Does not loop the entire ordered items to get commerce giftcard product variation

Created on 16 May 2024, 6 months ago

Problem/Motivation

The method giftcardPurchase of the OrderEventSubscriber class doesn't loop at all ordered items to get all commerce giftcard type product variations.

Steps to reproduce

Add to cart a normal product
Add to cart a giftcard product
Continue steps until checkout completes.
No commerce gift card is generated.

Proposed resolution

Change the code return to continue, to iterate through all the ordered items.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇵🇭Philippines erom

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024