Okay
  Public Ticket #2831157
Need a shortcode parameter for package ID
Closed

Comments

  •  2
    Scott Lewis started the conversation

    Your shortcodes have a parameter for a specific service ID but not for a specific package ID. How can I link to a page that only shows the catalog view for one specific package?

    For example, I need to be able to use [ameliacatalog package=2] to show the image and description of a single package. This package 6 of a single service but I don't want the customers booking single services. 

    I have a content template on a page that fills in the ID from a URL parameter so that I can use one page as the promotion and start of the booking process for any package by passing the package's ID as a URL parameter. All I need now is for your shortcodes to accept a package ID parameter. Right now they only accept category, employee, service, location or show.

    As an aside, I really wish you'd implemented services and packages as posts instead of putting them in their own tables. It'd make it much, much easier to present them in more ways without you or me needing to write custom code or for you to need to enhance your shortcodes and blocks.

  • [deleted] replied

    Hi, Scott,

    Thank you for choosing Amelia.

    1. If you use the shortcode [ameliacatalog package=1] where 1 is the Package ID, then only one Package will be displayed on the page, and no single Services will be available.

    You can find Package ID on the Packages tab (they are shown the same way as Service IDs).

    2. Thank you for sharing this idea with us. I will forward this information to our development team. However, you can suggest Amelia posts as a "feature request" here, or check if this request was already submitted and vote for it. 

    Best Regards.

  •  2
    Scott Lewis replied

    Thanks! You need to add the package=ID parameter to the shortcode documentation.



  • [deleted] replied

    Scott,

    You are absolutely right: the shortcode list got a bit outdated, so we should add Packages shortcodes to it as well.

    Hope it will be working fine from now on.

    Best Regards.