X Enterprises
Profile

ProfilePromotions

Active promotions list with image, pricing, validity dates, and claim CTA.

Profile

Profile components build the restaurant detail pages.

Components

<XRdProfilePromotions />

Active promotions section displaying promotion cards with image, title, price, description, validity dates, status badge, and a "Claim Offer" button. Only renders when promotions are available.

<XRdProfilePromotions
  :promotions="restaurant.promotions"
  :has-specials="restaurant.hasSpecials"
  :specials="restaurant.specials"
/>

Props

PropTypeDefaultDescription
promotionsPromotion[]undefinedArray of promotion objects
specialsanyundefinedRestaurant specials data (alternative source)
hasSpecialsbooleanundefinedFlag indicating specials are available

AI Context

category: Profile
package: "@xenterprises/nuxt-x-restaurants"
components:
  - XRdProfilePromotions
use-when: >
  Displaying active promotions with image, pricing, validity dates, and
  claim CTA on a restaurant profile page. Only renders when promotions exist.
typical-page-section: Promotions section on the restaurant profile overview sub-page.
Copyright © 2026