promotion

package
v1.39.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Evaluate

func Evaluate(c *gin.Context)

Evaluate finds applicable promotions for a given cart/order context.

It queries all active automatic promotions, checks date ranges and currency constraints, then calculates discount adjustments using the associated ApplicationMethod.

func Route

func Route(router router.Router, args ...gin.HandlerFunc)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL