View Single Post
  #2  
Old 07-25-2007, 04:45 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: EZUPSELL 3 column display

Ok -- let's look at how to do this -- a virgin ezupsell will have a loop that's just outside a <tr>

{section name=cat_num loop=$product_links}

then there is a {/section} outside the </tr> -- this basically asks how many product_links there are, and loops until they are done -- but since the loop is OUTSIDE the <tr> it will basically make a list, stackd on top of each other.

IF you were to put the loop just inside the <tr> before the <td>, and then move the {/section} to just before the </tr>, you will now loop <td> cells -- on the same line...

Now, the way I did this was to use some css and make an "ezupsell" lisitng class...so each product gets a thumbnail and a listing.

I would be happy to share my code - but you may want to ask Jon for a version that does what I am suggesting, since it is a commercial mod.

I hope this is enough to get you going here.

Jeremy
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote