There are several instances where you may wish to have text automatically appear into an ordering options text box, or to have the box appear on the catalog page itself. ShopSite allows you to enter text that will appear on top of the text entry box through the order options description field, but does not allow you to enter any text into the box itself. This could lead to a problem if you have a number of ordering options, as the customer may become confused as to what exactly you would like to have them enter into the box.
The solution to this situation only applies if you are using the OrderAnywhere feature of ShopSite. In order to accomplish the aforementioned goal, you would insert the following code into the HTML code for the add to cart:
You will want to replace the ‘ITEMNUMBER’ with the actual item number of the product in the ShopSite backoffice; if you are using order by SKU, you would replace the ‘ITEMNUMBER’ with the SKU.
The first screen shot below shows how the text box will appear using the aforemtioned method, using the text ‘Enter your weight here:’.
The bottom one shows how the box would have appeared, using the order options description field method.
If you are looking to have the options box appear on the catalog page, rather than just in the shopping cart, you can replace the value of “hidden” with the value of “text”, or use a textarea HTML tag.