Custom Shopping Cart Template

General ShopSite user discussion

Custom Shopping Cart Template

Postby MarkB » Sat Sep 16, 2006 12:30 pm

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
MarkB
 
Posts: 31
Joined: Sat Sep 09, 2006 1:24 pm

Postby Jim » Sat Sep 16, 2006 4:25 pm

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.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby MarkB » Sun Sep 17, 2006 2:06 pm

Thank-you... I'm still learning the details of ShopSite.

Mark
MarkB
 
Posts: 31
Joined: Sat Sep 09, 2006 1:24 pm


Return to User Forum

Who is online

Users browsing this forum: No registered users and 156 guests