Recommendation
A booking proposal shared with a guest.
A booking proposal shared with a guest. Exposed on the site's recommendation template page.
Properties
booking
Deprecated
recommendation.cart instead.The recommendation's proposed cart contents and pricing.
Returns: CartDrop
can_change_currency
Deprecated
Whether the customer can change the recommendation currency at checkout.
Returns: Boolean — always false.
cart
The recommendation's proposed cart contents and pricing.
Returns: CartDrop
checkout_url
The checkout path for purchasing this recommendation.
Returns: String — e.g. /checkout?recommendation_id=....
expired
Whether the recommendation has expired. Guests can still view an expired recommendation page but cannot complete checkout.
Returns: Boolean
guest_count
The number of guests the recommendation was priced for.
Returns: Integer or nil
hero_image
The recommendation hero image. Uses the recommendation's uploaded image when
set; otherwise falls back to the hero variant's product image (determined by
Finance::Order#hero_variant). For custom-priced packages this returns the
package's own image; for sum-total packages the hero variant is an
experience/accommodation variant, so its listing editorial hero image is
used instead. Returns nil if no hero image is found.
Returns: ImageDrop or nil
message
A personal message from the creator to the guest.
Returns: String or nil
name
The recommendation's display name.
Returns: String or nil
terms_and_conditions_url
The terms and conditions URL for this recommendation. Uses recommendation-specific terms when set; otherwise falls back to the company's terms.
Returns: String
user_email
The guest email address the recommendation was sent to. This may differ from the email used when the guest completes checkout.
Returns: String or nil