I created a custom shopping cart template for my site, but need to know where it looks for my graphic/image files?
I created it the same way I did all other custom templates, but only the shopping cart template isn't finding my image files. Do they need to be placed in a special location for the SC?
I've been looking thru the help system but haven't found anything.
Thank-you,
Mark
Custom Shopping Cart Template
-
- Site Admin
- Posts: 4953
- Joined: Fri Aug 04, 2006 1:42 pm
- Location: Utah
The store's images are stored in the media directory off of the root domain name. This works fine for store pages because they are also in the root domain. But the shopping cart is running cgis that are not off or the root domain so that is why they are not displaying. You need to either use the full url to the image or use the shopsite template tags that reference those images .
[-- STORE.Secure_Image_URL --] Returns the ShopSite Images secure URL.
[-- STORE.SC_Secure_Image_URL --] Returns the Secure Store URL
[-- STORE.Output_URL --] URL of the store's HTML directory.
[-- OUTPUT_DIRECTORY_URL --] URL of the store's HTML directory.
Use one of the first 2 for secure pages and one of the second 2 for non-secur pages.
[-- STORE.Secure_Image_URL --] Returns the ShopSite Images secure URL.
[-- STORE.SC_Secure_Image_URL --] Returns the Secure Store URL
[-- STORE.Output_URL --] URL of the store's HTML directory.
[-- OUTPUT_DIRECTORY_URL --] URL of the store's HTML directory.
Use one of the first 2 for secure pages and one of the second 2 for non-secur pages.