If the general patterns for integrating RESMARK Systems online reservation engine into your site aren't quite what you are looking for, there are more powerful tools for custumization available. These include the ability to auto-login agents without a URL redirect, restricting payment options, tailoring the presentation of the confirmation etc.
The main HTML element that holds the RESMARK Systems content must be a div element. No span, p or article elements, only div elements will be respected.
These are attributes that can be applied to the div element with id="rsmk-container". For example:
There are only two possible values:
This is an attribute that complements the class="rsmk-hideContent" style. Since the rsmk-hideContent class can only be applied to div elements, you may need the option to hide elements of a different type. For instance: some older markup manages content in td tags (we don't suggest doing this by the way). In such cases you just need to attach an id attribute to the HTML elements you wish to hide when RESMARK content is presented to the user and provide a CSV list of those elements id values.
The URI (not URL) of the shopping cart page. This is usually used to indicate where RESMARK should direct the user when the cart is requested. In most instances this is just set to the special value: currentPage which indicates that RESMARK is allowed to hide certain sections of the "Current Page" and present the users shopping cart. The sections of the page that RESMARK hides are marked with the CSS class rsmk-hideContent.
Another common alternative to hosting the shopping cart page on your site, is to forward the user directly to the resmark server for the completion of the purchase. This is done by specifying the special value: resmarkServer which tells the system to take the user to the resmark server immediately after adding an item to their cart.
If you want the user to go to a different page to view their cart, you must put that page on your site. Note that this URI should be either a full path to a file (like /reservations/cart.php) or a URI to a directory with a trailing slash ( / ) (like /content/view-cart/). The trailing slash ( / ) is important for some browsers to work correctly.
If you do point this page to something hosted on your site, make sure that the data-context attribute is et to page on that page, since it will be assumed that the target page holds only the RESMARK reservation engine.
Example: currentPage to use the current page or /reservations/cart.php or /reservations/view-cart/
The RESMARK Systems identifier for the Agent that should get credit for this sale.
If this value is set at all, it is interpreted to mean that an agent is viewing the content. This will display commission information for the current sale. This information is put in a div with the id rsmk-agent. You can put this div anywhere on your page, if you do not create a div with id="rsmk-agent" RESMARK will create one for you and put it at the top of the div with id="rsmk-container".
Alters the format of the Confirmation given to the online user. This attribute is only applicable when data-agent-id and data-agent-view are set.
One of the following values values:
Restricts the payment amounts an online Guest can submit to the system. This is usually only useful when you want to force the online Guest to only pay a Deposit or forcing Direct Billing as the only options for payment. Any value specified is only respected if the current online purchase would accept such a payment in the first place. i.e.: you can't force a Deposit as a payment option if the balance due date is already passed.
Any CVS combination of the following values is allowed:
Example: DEPOSIT,DEPOSIT_SCHEDULE this would make it so the Guest could not pay the FULL amount
Book Now buttons must be either an a tag or a button tag.
In some cases you may want to create a Book Now button linked to a specific Launch rather than all Launches of an Activity. This is made possible by the data-launch-id attribute.
The RESMARK Systems identifier for the Activity Name (or Package Name) you want to sell with this button.
The RESMARK Systems identifier for the specific Activity (Launch) you want to sell with this button.
In order to use this attribute the data-activity-name-id must be set.