web
You’re offline. This is a read only version of the page.
close
Checkmark

Thank you for your feedback

Special Tags

HTML snippets which will allow you to add an Order button and a View Cart link on your pages if you use Web Hosting for your store.

Article ID: SLN19823

Order Button Tag

The Order Button tag gives you the ability to add an order button to your HTML page for a specific item. In order to work correctly, the Order Button tag must be located within an HTML form tag, otherwise the customer will be unable to place an order.

<!--#ystore_order id="your_item_ID_here" -->

Things to Remember:

  • The Order Button tag uses #ystore_order in the syntax.
  • The Order Button requires you to enter the item ID.

Here's sample code showing the Order Button tag within an HTML form tag:

<form method="post" action="<!--#ystore_order id="your_item_ID_here" -->">
<input type="submit" value="Order">
</form>

View Cart Tag

The View Cart tag gives you the ability to add a View Shopping Cart link or button to your HTML pages. This helps customers who add multiple items to their carts as they browse and shop their way through your Store.

<!--#ystore_cart -->

Things to Remember:

  • The View Cart tag uses #ystore_cart in the syntax.
  • The View Cart tag does not require the use of the item ID.

Here's an example of the View Cart tag:

<a href="<!--#ystore_cart -->">View Shopping Cart</a>

See Also: