Page 1 of 1

Custom Page Templates: Looping Through Products

PostPosted: Sat Jul 28, 2001 1:35 pm
by Cheryl
Loren,

You've been very helpful in the past and so I wanted to address this
question to you, too, in hopes that you'll be able to point me in the
right direction.

I'm creating a simple custom page that will loop through all the
products that I want displayed on this particular page. Easy enough if
I want to display each product one after the other all the way down the
page. But, I want to display 2 products per row all the way down the
page. Now, it can easily be done using the built-in templates. You
just choose the 2-column attribute when editing the built-in page's
layout. But, when you're doing custom page templates, how do you tell
ShopSite to essentially read two products at a time, placing the first
product info in table cell 1 and then the second product info in table
cell 2? Then, close out the table row and pull another 2 products and
display them side-by-side in the second row. I hope I'm making sense
here. :)

To see exactly what I am trying to achieve:

http://www.blissweddings.com/blissweddi ... favors.asp

I figure that the [-- PAGE.Columns --] tag is available, so there must
be a way to use this tag somehow on the page.

Any suggestions?!

Thanks in advance!

Cheryl
http://www.blissweddingsmarket.com

Re: Custom Page Templates: Looping Through Products

PostPosted: Sat Jul 28, 2001 1:56 pm
by loren_d_c
Cheryl,

I don't believe you can do that yet with the current version of
ShopSite's custom templates. However, this feature has already been
added to the next version still in development :)

-Loren


Cheryl wrote:
Loren,

You've been very helpful in the past and so I wanted to address this
question to you, too, in hopes that you'll be able to point me in the
right direction.

I'm creating a simple custom page that will loop through all the
products that I want displayed on this particular page. Easy enough if
I want to display each product one after the other all the way down the
page. But, I want to display 2 products per row all the way down the
page. Now, it can easily be done using the built-in templates. You
just choose the 2-column attribute when editing the built-in page's
layout. But, when you're doing custom page templates, how do you tell
ShopSite to essentially read two products at a time, placing the first
product info in table cell 1 and then the second product info in table
cell 2? Then, close out the table row and pull another 2 products and
display them side-by-side in the second row. I hope I'm making sense
here. :)

To see exactly what I am trying to achieve:

http://www.blissweddings.com/blissweddi ... favors.asp

I figure that the [-- PAGE.Columns --] tag is available, so there must
be a way to use this tag somehow on the page.

Any suggestions?!

Thanks in advance!

Cheryl
http://www.blissweddingsmarket.com

Re: Custom Page Templates: Looping Through Products

PostPosted: Sun Jul 29, 2001 8:03 pm
by Katrina Morris
Cool - looking forward to the next version!

"Loren" <loren_d_c@yahoo.com> wrote in message
news:3B6326ED.F40F5453@yahoo.com...
Cheryl,

I don't believe you can do that yet with the current version of
ShopSite's custom templates. However, this feature has already been
added to the next version still in development :)

-Loren


Cheryl wrote:

Loren,

You've been very helpful in the past and so I wanted to address this
question to you, too, in hopes that you'll be able to point me in the
right direction.

I'm creating a simple custom page that will loop through all the
products that I want displayed on this particular page. Easy enough if
I want to display each product one after the other all the way down the
page. But, I want to display 2 products per row all the way down the
page. Now, it can easily be done using the built-in templates. You
just choose the 2-column attribute when editing the built-in page's
layout. But, when you're doing custom page templates, how do you tell
ShopSite to essentially read two products at a time, placing the first
product info in table cell 1 and then the second product info in table
cell 2? Then, close out the table row and pull another 2 products and
display them side-by-side in the second row. I hope I'm making sense
here. :)

To see exactly what I am trying to achieve:

http://www.blissweddings.com/blissweddi ... favors.asp

I figure that the [-- PAGE.Columns --] tag is available, so there must
be a way to use this tag somehow on the page.

Any suggestions?!

Thanks in advance!

Cheryl
http://www.blissweddingsmarket.com