Custom Page Templates: Looping Through Products

This is an archive of old posting to the User Forum

Custom Page Templates: Looping Through Products

Postby Cheryl » Sat Jul 28, 2001 1:35 pm

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
Cheryl
 

Re: Custom Page Templates: Looping Through Products

Postby loren_d_c » Sat Jul 28, 2001 1:56 pm

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
loren_d_c
 
Posts: 2571
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Re: Custom Page Templates: Looping Through Products

Postby Katrina Morris » Sun Jul 29, 2001 8:03 pm

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
Katrina Morris
 


Return to User Forum Archive

Who is online

Users browsing this forum: No registered users and 31 guests