- 
                Notifications
    You must be signed in to change notification settings 
- Fork 2.2k
Closed
Milestone
Description
I'm currently trying to add a template to the checkout page, using the following code:
ReactionCore.registerPackage({
  name: 'custompackage',
  autoEnable: true,
  settings: {
  },
  registry: [{
    route: "dashboard/settings/shop",
    provides: 'custom-dashboard',
    label: 'Custom Package',
    description: 'Custom package that does All of the Things',
    icon: 'fa fa-th',
    cycle: 1,
    container: "dashboard",
    permissions: [{
      label: "Dashboard",
      permission: "dashboard"
    }]
  }, {
    route: "dashboard",
    provides: 'shortcut',
    label: 'Dashboard',
    icon: 'fa fa-th',
    cycle: 1
  }],
  layout: [{
    template: "myCustomTemplate",
    label: "Custom Info",
    workflow: 'coreCartWorkflow',
    container: 'checkout-steps-main',
    audience: ["guest", "anonymous"],
    priority: 3,
    position: "3"
  }]
});
This is based on what I read here: https://github.com/reactioncommerce/reaction/blob/development/docs/developer/workflow.md
After running the registry code above, the document gets added to the Packages collection, but when looking at the checkout page, rather than being in position #3 (as specified toward the end in "layout") it's appended to the end.
Please note, I am still relatively new to development, Javascript, Meteor and Reaction, so this could very well be a user error!
Any help would really be appreciated, thanks!