Skip to content

feat(checkout): display available coupons on checkout#844

Merged
sallainternalbot[bot] merged 26 commits intomasterfrom
feature/CP-796-display-available-coupons-on-checkout
Apr 1, 2026
Merged

feat(checkout): display available coupons on checkout#844
sallainternalbot[bot] merged 26 commits intomasterfrom
feature/CP-796-display-available-coupons-on-checkout

Conversation

@adelelshafey
Copy link
Copy Markdown
Contributor

@adelelshafey adelelshafey commented Mar 9, 2026

Summary

This PR implements the display of available coupons on the checkout page as part of feature CP-796, improving the customer checkout experience by making promotional offers more visible and accessible.

What kind of change does this PR introduce?

  • Feature Enhancement - Display available coupons on checkout flow

What is the current behaviour?

  • Customers cannot see available coupons during the checkout process
  • Limited visibility of promotional offers that could reduce cart abandonment
  • Users have to manually know and enter coupon codes

What is the new behaviour?

  • Available coupons are now prominently displayed on the checkout page
  • Integration with the new salla-cart-coupons Twilight component for consistent UI/UX
  • Removed legacy theme-specific coupon implementation in favor of the standardized component
  • Enhanced visual presentation of promotional offers during checkout

Implementation Details

  • Removed theme-specific coupon code and migrated to the new Twilight component system
  • Updated cart.twig to integrate the salla-cart-coupons component
  • Multiple CSS updates to ensure proper styling and responsive design
  • Component integration provides better maintainability and consistency across themes

Does this PR introduce a breaking change?

  • No - This is a backward-compatible enhancement that improves the checkout experience

Benefits

  • Reduced cart abandonment - Customers can easily see and apply available discounts
  • Better promotional visibility - Available coupons are prominently displayed
  • Improved UX consistency - Uses standardized Twilight components
  • Easier maintenance - Centralized coupon logic in reusable components

Files Modified

  • pages/cart.twig - Integration of salla-cart-coupons component
  • CSS files - Styling updates for proper component display and responsiveness
  • Removed legacy theme-specific coupon implementation

This enhancement aligns with Salla's goal of providing merchants with better tools to reduce cart abandonment and increase conversion rates through improved promotional visibility.

@sallainternalbot sallainternalbot bot marked this pull request as draft March 9, 2026 14:21
@adelelshafey adelelshafey marked this pull request as ready for review March 9, 2026 14:21
@aalkhater
Copy link
Copy Markdown

/autoupdate

@sallainternalbot
Copy link
Copy Markdown
Contributor

Auto Update Summary

Failed Updates:

@codacy-production
Copy link
Copy Markdown
Contributor

codacy-production bot commented Mar 31, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics -13 complexity . 0 duplication

Metric Results
Complexity -13
Duplication 0

View in Codacy

AI Reviewer: run a review on demand. To trigger the first review automatically, go to your organization or repository integration settings. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes. Give us feedback

@ashrafreda
Copy link
Copy Markdown
Collaborator

/merge

@sallainternalbot
Copy link
Copy Markdown
Contributor

⏳ Enqueued for Merge

Your pull request has been added to the merge queue. It will be merged automatically once it reaches the front of the queue ✅


🔄 Queue Status

🚦 Queue

The queue is empty. Good luck!

🧬 PR's Dependencies

├── sallaapp/theme-raed#844

@sallainternalbot
Copy link
Copy Markdown
Contributor

🔄 Merge In Progress

This pull request has reached the front of the queue and is now being processed for merge.

@sallainternalbot sallainternalbot bot merged commit 37a3118 into master Apr 1, 2026
1 check passed
@sallainternalbot sallainternalbot bot deleted the feature/CP-796-display-available-coupons-on-checkout branch April 1, 2026 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants