|
|
|
Set up Inventory, Linking to this Item |
|
There are a number of ways to incorporate your shopping cart with your informational pages (Click here). To make this process easier, we have created a drop-down menu that will show you code to place on your informational pages.
As you can see, there are 6 options (the 6th option, Item Preview, is not really for linking, it just will show you what the item will look like in the cart). The first 2 are simply URLS, choosing 'Linking to this category' and clicking the 'Show' button will pop up something similar to the following window:
So, the above URL is the absolute URL for category 4, which is the Train Set category, which is the category the example item is in. The other URL option is 'Linking to this Item'. The shopping cart creates a specific url for each item. The following is what would appear if 'Linking to this Item' was choosen and you clicked on 'Show'.
The third, fourth and fifth option all achieve the same objective: having the actual item information, including the 'add to cart' button, quantity fields and drop-down menus show up on your own, custom informational pages. These are advanced features and will require working with html, asp, php and/or shtml code. Please go to http://www.precisionweb.net/shopping_cart_FAQ.htm#Linking and see option 4 to learn more about these features. The HTML box will look something like this:
The html in the box is the complete code you would add to your informational page to enable customers to purchase from there, rather than going directly into the shop directory. As you can see from the above image, the complete html is actually larger than the small window; you will need to make sure you actually copy the entire code, and not just a portion of it. The easiest way to ensure you get it all is to click in the the code area with your mouse arrow (anywhere in the code box is fine, you should see a blinking cursor where you click) then hold down the 'Ctrl' key on your key board and click the letter 'A'; this is the command for Select All. The entire code should be high-lighted. To copy, either hold down the 'Ctrl' key and click the letter 'C' (this is the command for copy), or right click on the high-lighted code with your mouse arrow and choose 'Copy' from the quick menu. You have now successfully copied this information now you need to paste it into your html page. The paste command is Ctrl+V. NOTE: this code will NOT automatically update itself in your informational pages. If you make changes in to the item in the shop owner's panel, you must take the new html code and enter it into your page. The PHP box will look something like this:
If you have created custom php pages on your site, the above line of code is all you need to paste into your page to have the complete item information appear on your informational page. This will automatically update whenever you update the item in the shopping cart. The asp and shtml box will look just like the php display, except it will be asp and/or shtml. There are 3 unique options to display the item when using the asp/shtml option though. They are: <!--#include virtual="shop/displayitem.php?item=2"--> which is the complete item information, just like one would see in the shop directory. <!--#include virtual="shop/displayitem1.php?item=2"--> which is the item without outer surrounding table (just a little smaller). <!--#include virtual="shop/displayitem2.php?item=2"--> which is Code without outer surrounding table and image which will give you just the drop down menus, the quantity box and the add to cart button. These features will automatically update when you make changes in the shop owner's panel to the items. |
|
|
|