Custom Shopping Cart Templates Prob.

This is an archive of old posting to the User Forum

Custom Shopping Cart Templates Prob.

Postby saus » Fri Oct 01, 2004 8:54 am

Hi,
I'm new to shopsite and trying to work with custom templates.
I created a template based on the existing SC template,

I'm trying to wrap the shopping cart inside the general look of the website,
so I'm building the template to include the general look and navigation of
the site.

I did this by building the template with the needed SC tags inside a table
in the main block of the page, great.

Now I uploaded this template to previewed it (tried assigning it in general
to the store as well.) None of my html image tags are being properly pulled
up to construct the page, instead the source code is coming up. while the
actual shopping cart portion is fine

for ex:
in the source of the page:
<td>image src="/images/blank.gif" width="16" height="16" />

this should pull up the image from my ssl directory, instead the page is
skewy and I'm getting the actual code where the image should be in the
generated page:
image src="/images/blank.gif" width="16" height="16" />

the regular SC images, like:
<input type=image src="....../ss_images/en-CA/continue_shopping.gif"

are coming up just fine, I'm confused - can anyone point me in the direction
I've gone wrong?

I thought maybe my relative urls were wrong, so I put in a full reference to
the images using https://mydomain/ssl/images/blank.gif and that did the
same..

Thanks for any insight
saus
saus
 

Re: Custom Shopping Cart Templates Prob.

Postby Keith Petty » Fri Oct 01, 2004 9:28 am

I would start by checking all of your html.

"for ex:
in the source of the page:
<td>image src="/images/blank.gif" width="16" height="16" />"
^

<td><image src="/images/blank.gif" width="16" height="16" />"
^
Keith


saus wrote:

Hi,
I'm new to shopsite and trying to work with custom templates.
I created a template based on the existing SC template,

I'm trying to wrap the shopping cart inside the general look of the website,
so I'm building the template to include the general look and navigation of
the site.

I did this by building the template with the needed SC tags inside a table
in the main block of the page, great.

Now I uploaded this template to previewed it (tried assigning it in general
to the store as well.) None of my html image tags are being properly pulled
up to construct the page, instead the source code is coming up. while the
actual shopping cart portion is fine

for ex:
in the source of the page:
td>image src="/images/blank.gif" width="16" height="16" /

this should pull up the image from my ssl directory, instead the page is
skewy and I'm getting the actual code where the image should be in the
generated page:
image src="/images/blank.gif" width="16" height="16" /

the regular SC images, like:
input type=image src="....../ss_images/en-CA/continue_shopping.gif"

are coming up just fine, I'm confused - can anyone point me in the direction
I've gone wrong?

I thought maybe my relative urls were wrong, so I put in a full reference to
the images using https://mydomain/ssl/images/blank.gif and that did the
same..

Thanks for any insight
saus



Keith Petty
 

Re: Custom Shopping Cart Templates Prob.

Postby saus » Fri Oct 01, 2004 10:51 am

Hi Keith,

thank you for the reply,
That was quick cut & paste errors in my examples as i was 'multitasking' at
the time lol,
but I figured it out nonetheless, it works when the an input type is used
instead:
<input type=image src="/images/blank.gif" />

I didn't find that in the shopsite documentation, but tried it from the
source codes from the image files in the regular shopsite outputs.

thanks!
saus


"Keith Petty" <support@specialmart.com> wrote in message
news:cjk0h7$p9j$1@eval.shopsite.com...
I would start by checking all of your html.

"for ex:
in the source of the page:
td>image src="/images/blank.gif" width="16" height="16" />"
^

td><image src="/images/blank.gif" width="16" height="16" />"
^
Keith


saus wrote:

Hi,
I'm new to shopsite and trying to work with custom templates.
I created a template based on the existing SC template,

I'm trying to wrap the shopping cart inside the general look of the
website,
so I'm building the template to include the general look and navigation
of
the site.

I did this by building the template with the needed SC tags inside a
table
in the main block of the page, great.

Now I uploaded this template to previewed it (tried assigning it in
general
to the store as well.) None of my html image tags are being properly
pulled
up to construct the page, instead the source code is coming up. while the
actual shopping cart portion is fine

for ex:
in the source of the page:
td>image src="/images/blank.gif" width="16" height="16" /

this should pull up the image from my ssl directory, instead the page is
skewy and I'm getting the actual code where the image should be in the
generated page:
image src="/images/blank.gif" width="16" height="16" /

the regular SC images, like:
input type=image src="....../ss_images/en-CA/continue_shopping.gif"

are coming up just fine, I'm confused - can anyone point me in the
direction
I've gone wrong?

I thought maybe my relative urls were wrong, so I put in a full reference
to
the images using https://mydomain/ssl/images/blank.gif and that did the
same..

Thanks for any insight
saus




saus
 

Re: Custom Shopping Cart Templates Prob.

Postby Keith Petty » Fri Oct 01, 2004 4:43 pm

Hi Saus,

One other thing to think about is which html tags you are using for
images and links.

Need an image only... this will work
<img src="/images/some.gif" />
but this will not
<image src="/images/some.gif" />

Need a link with an image only... you could try this
<a href="http://www.shopsite.com/help/6.3/en-US/sc/pro/cvv2.help.html" target="_blank">
<img src="/images/some.gif" />
</a>

Need to process data and send it using some script... something like this is what you will want
<input type=image src="/images/some.gif" onClick="return(Some_Script_Action_Here);" />


Keith

saus wrote:

Hi Keith,

thank you for the reply,
That was quick cut & paste errors in my examples as i was 'multitasking' at
the time lol,
but I figured it out nonetheless, it works when the an input type is used
instead:
input type=image src="/images/blank.gif" /

I didn't find that in the shopsite documentation, but tried it from the
source codes from the image files in the regular shopsite outputs.

thanks!
saus


"Keith Petty" <support@specialmart.com> wrote in message
news:cjk0h7$p9j$1@eval.shopsite.com...


I would start by checking all of your html.

"for ex:
in the source of the page:
td>image src="/images/blank.gif" width="16" height="16" />"
^

td><image src="/images/blank.gif" width="16" height="16" />"
^
Keith


saus wrote:



Hi,
I'm new to shopsite and trying to work with custom templates.
I created a template based on the existing SC template,

I'm trying to wrap the shopping cart inside the general look of the


website,


so I'm building the template to include the general look and navigation


of


the site.

I did this by building the template with the needed SC tags inside a


table


in the main block of the page, great.

Now I uploaded this template to previewed it (tried assigning it in


general


to the store as well.) None of my html image tags are being properly


pulled


up to construct the page, instead the source code is coming up. while the
actual shopping cart portion is fine

for ex:
in the source of the page:
td>image src="/images/blank.gif" width="16" height="16" /

this should pull up the image from my ssl directory, instead the page is
skewy and I'm getting the actual code where the image should be in the
generated page:
image src="/images/blank.gif" width="16" height="16" /

the regular SC images, like:
input type=image src="....../ss_images/en-CA/continue_shopping.gif"

are coming up just fine, I'm confused - can anyone point me in the


direction


I've gone wrong?

I thought maybe my relative urls were wrong, so I put in a full reference


to


the images using https://mydomain/ssl/images/blank.gif and that did the
same..

Thanks for any insight
saus









Keith Petty
 


Return to User Forum Archive

Who is online

Users browsing this forum: No registered users and 8 guests