Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update ticket template link base on product type #789

Closed
kimsrung opened this issue Nov 6, 2023 · 0 comments · Fixed by #790
Closed

update ticket template link base on product type #789

kimsrung opened this issue Nov 6, 2023 · 0 comments · Fixed by #790
Assignees
Labels
enhancement New feature or request

Comments

@kimsrung
Copy link
Collaborator

kimsrung commented Nov 6, 2023

in order template, product info section should generate a detail link base on product type.
Currently, we have 3 types:

  • accommodation
  • service
  • ecommerce

for product:

  • ecommerce -> tickets/:product-slug
  • accomodations -> rooms/:product-slug
  • service-> not supported

for vendor:

  • hotels/:hotel-slug

Then our url would be
"http://bookme.plus/tickets/run-with-sai"
"http://bookme.plus/rooms/condo-style-family-room"
"http://bookme.plus/hotels/kampot-villa"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant