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

Thank you for your feedback

Floating Cart support for store tags

Learn how to add the Floating Cart to your Web Hosting store pages using HTML.

Article ID: SLN18966

Merchants with stores designed using store tags must ensure that both vwitem and vwquantity fields are present, in order for the Floating Cart and Mini-Cart to correctly function. Merchants using store tag modules must manually edit the module code to include the vwitem field.

The following form example shows the vwitem field added to a form. As you refer to the example below, please note that your_item_id is an example item ID, and must be replaced with the actual item ID as assigned in Catalog Manager.

<form method="post" action="<!--#ystore_order id="your_item_id" -->">

<input type="hidden" value=your_item_id name="vwitem"/>

<input type="submit" value="Order Item <!--#ystore_catalog id="your_item_id" field="name" -->">

</form>

The example below shows the end result of a form that includes both the required vwitem and vwquantity fields:

<form method="post" action="http://[order-post-url]">
<input type="hidden" name="vwquantity" value="1" />
<input type="hidden" name="vwprice" value="8.99" />
<input type="hidden" name="vwitem" value="myitem108" />
<input type="submit" value="Order" />
</form>