Strange occurrence with Custom Templates

This is an archive of old posting to the User Forum

Strange occurrence with Custom Templates

Postby Katrina Morris » Tue Jul 31, 2001 12:37 pm

Hi,

We just upgraded to Shopsite 5.0.1 and it seems great. Glad to have the if
problem fixed. However, now another strange occurrence is happening. It
puts the following text on the page where my statement for the footer is:

IF1 PAGE.DisplayPageFooter

You can see it here:

http://www.rexart.com/golden_fluid_acrylics.html

I've tried to find the problem myself, but cannot seem to figure it out.
What's odd is that it doesn't do it on this page using the same template:

http://www.rexart.com/golden_fluid_acrylics.html

I can only guess that it is because there is a product using another product
template on that page, but for the life of me I can't find the error.

Any help would be appreciated.

Also - I'd love to use the new quantity box feature on the page - is there a
way to do this in custom templates?

Thanks,

Katrina
Katrina Morris
 

Re: Strange occurrence with Custom Templates

Postby loren_d_c » Tue Jul 31, 2001 1:00 pm

Both those links are the same, so both pages look the same to me.

There is no custom template tag for the quantity box yet. You could try
recreating by looking at the html of a ShopSite generated product with the
quantity box. The main problems you will run into is that instaed of just being
an href link, your Add to Cart and View Cart buttons for products using the
quantity box will have to be submit buttons and you have to wrap the quantity
box and the buttons in a FORM tag.

-Loren


Katrina Morris wrote:

Hi,

We just upgraded to Shopsite 5.0.1 and it seems great. Glad to have the if
problem fixed. However, now another strange occurrence is happening. It
puts the following text on the page where my statement for the footer is:

IF1 PAGE.DisplayPageFooter

You can see it here:

http://www.rexart.com/golden_fluid_acrylics.html

I've tried to find the problem myself, but cannot seem to figure it out.
What's odd is that it doesn't do it on this page using the same template:

http://www.rexart.com/golden_fluid_acrylics.html

I can only guess that it is because there is a product using another product
template on that page, but for the life of me I can't find the error.

Any help would be appreciated.

Also - I'd love to use the new quantity box feature on the page - is there a
way to do this in custom templates?

Thanks,

Katrina
loren_d_c
 
Posts: 2571
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Re: Strange occurrence with Custom Templates

Postby Katrina Morris » Tue Jul 31, 2001 1:26 pm

Sorry about the identical link. Here are the two pages:

http://www.rexart.com/golden_fluid_acrylics.html
http://www.rexart.com/goldenacrylics.html

Thanks for the tip on the quantity boxes. I will definitely work on that...

Thanks,

Katrina
"Loren" <loren_d_c@yahoo.com> wrote in message
news:3B670E6E.ABBAC8C6@yahoo.com...
Both those links are the same, so both pages look the same to me.

There is no custom template tag for the quantity box yet. You could try
recreating by looking at the html of a ShopSite generated product with the
quantity box. The main problems you will run into is that instaed of just
being
an href link, your Add to Cart and View Cart buttons for products using
the
quantity box will have to be submit buttons and you have to wrap the
quantity
box and the buttons in a FORM tag.

-Loren


Katrina Morris wrote:

Hi,

We just upgraded to Shopsite 5.0.1 and it seems great. Glad to have the
if
problem fixed. However, now another strange occurrence is happening.
It
puts the following text on the page where my statement for the footer
is:

IF1 PAGE.DisplayPageFooter

You can see it here:

http://www.rexart.com/golden_fluid_acrylics.html

I've tried to find the problem myself, but cannot seem to figure it out.
What's odd is that it doesn't do it on this page using the same
template:

http://www.rexart.com/golden_fluid_acrylics.html

I can only guess that it is because there is a product using another
product
template on that page, but for the life of me I can't find the error.

Any help would be appreciated.

Also - I'd love to use the new quantity box feature on the page - is
there a
way to do this in custom templates?

Thanks,

Katrina
Katrina Morris
 

Re: Strange occurrence with Custom Templates

Postby Katrina Morris » Tue Jul 31, 2001 3:19 pm

Hi Loren,

Well, I added the quantity box on my paint template and it's super cool. I
just used that ProductRecordNumber tag in the form and it worked like a
charm. Here's a sample:

http://www.rexart.com/academywc.html

Thanks!

Katrina

PS - I don't know that much about forms, but do you think there's a way to
have one input button at the bottom to add all the quantities listed on the
page? I'd set the default value as blank, of course.


"Loren" <loren_d_c@yahoo.com> wrote in message
news:3B670E6E.ABBAC8C6@yahoo.com...
Both those links are the same, so both pages look the same to me.

There is no custom template tag for the quantity box yet. You could try
recreating by looking at the html of a ShopSite generated product with the
quantity box. The main problems you will run into is that instaed of just
being
an href link, your Add to Cart and View Cart buttons for products using
the
quantity box will have to be submit buttons and you have to wrap the
quantity
box and the buttons in a FORM tag.

-Loren


Katrina Morris wrote:

Hi,

We just upgraded to Shopsite 5.0.1 and it seems great. Glad to have the
if
problem fixed. However, now another strange occurrence is happening.
It
puts the following text on the page where my statement for the footer
is:

IF1 PAGE.DisplayPageFooter

You can see it here:

http://www.rexart.com/golden_fluid_acrylics.html

I've tried to find the problem myself, but cannot seem to figure it out.
What's odd is that it doesn't do it on this page using the same
template:

http://www.rexart.com/golden_fluid_acrylics.html

I can only guess that it is because there is a product using another
product
template on that page, but for the life of me I can't find the error.

Any help would be appreciated.

Also - I'd love to use the new quantity box feature on the page - is
there a
way to do this in custom templates?

Thanks,

Katrina
Katrina Morris
 

Re: Strange occurrence with Custom Templates

Postby loren_d_c » Tue Jul 31, 2001 4:12 pm

I don't know that much about forms, but do you think there's a way to
have one input button at the bottom to add all the quantities listed on the
page? I'd set the default value as blank, of course.

Unfortunately I don't think so. There would be too many of the same variables
being passed to order.cgi, it wouldn't be able to handle it. Each product has a
storeid value, a dbname value, a function value, an itemnum value, etc. These
are the actual variable names that the FORM sends to the cgi, so you could image
the chaos that would ensue if the cgi were passed multiple values for the same
variable. You could make it so that there was only one storeid and dbname value
in the entire form (by putting it outside the LOOP PRODUCTS) but I don't think
you could get around the itemnum value since it has to be different for each
product.

-Loren



Katrina Morris wrote:

Hi Loren,

Well, I added the quantity box on my paint template and it's super cool. I
just used that ProductRecordNumber tag in the form and it worked like a
charm. Here's a sample:

http://www.rexart.com/academywc.html

Thanks!

Katrina

PS - I don't know that much about forms, but do you think there's a way to
have one input button at the bottom to add all the quantities listed on the
page? I'd set the default value as blank, of course.

"Loren" <loren_d_c@yahoo.com> wrote in message
news:3B670E6E.ABBAC8C6@yahoo.com...
Both those links are the same, so both pages look the same to me.

There is no custom template tag for the quantity box yet. You could try
recreating by looking at the html of a ShopSite generated product with the
quantity box. The main problems you will run into is that instaed of just
being
an href link, your Add to Cart and View Cart buttons for products using
the
quantity box will have to be submit buttons and you have to wrap the
quantity
box and the buttons in a FORM tag.

-Loren


Katrina Morris wrote:

Hi,

We just upgraded to Shopsite 5.0.1 and it seems great. Glad to have the
if
problem fixed. However, now another strange occurrence is happening.
It
puts the following text on the page where my statement for the footer
is:

IF1 PAGE.DisplayPageFooter

You can see it here:

http://www.rexart.com/golden_fluid_acrylics.html

I've tried to find the problem myself, but cannot seem to figure it out.
What's odd is that it doesn't do it on this page using the same
template:

http://www.rexart.com/golden_fluid_acrylics.html

I can only guess that it is because there is a product using another
product
template on that page, but for the life of me I can't find the error.

Any help would be appreciated.

Also - I'd love to use the new quantity box feature on the page - is
there a
way to do this in custom templates?

Thanks,

Katrina
loren_d_c
 
Posts: 2571
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere


Return to User Forum Archive

Who is online

Users browsing this forum: No registered users and 5 guests