Would be useful to be able to limit a promotion or payment gateway to orders of a specific type.

Let's also introduce a base class that we can extend for a different entity type, cause we'll want a shipment type condition as well on the shipping side, etc.

Comments

bojanz created an issue. See original summary.

bojanz’s picture

Title: Create an OrderTypeCondition » Create an OrderType condition
Assigned: Unassigned » bojanz

Let's do this.

  • bojanz committed 8c06d54 on 8.x-2.x
    Issue #2893364 by bojanz: Create an OrderType condition
    
bojanz’s picture

Status: Active » Fixed

Done. The base class can be reused for other entity types.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.