| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
#1
|
|||||||
|
|||||||
EZUPSELL 3 column display
I was wondering how to get a 3 column display for EZUPSELL. Currently it only shows up as a one column display. I'm a newbie when it comes to coding.
__________________
X-Cart 4.1.7 X-AOM X-Special Offers |
|||||||
#2
|
|||||||
|
|||||||
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 |
|||||||
#3
|
|||||||
|
|||||||
Re: EZUPSELL 3 column display
Here's a 4.0 version of ezUpsell with a 4-column display. If you want to change the number of columns, change the '{ if %cat_num.index% is div by 4 }' to the number of columns that you require.
You get a thumbnail above the product title for each item. Code:
__________________
Best regards, Donavichi. - - - Website Copywriting || Web Design || FAQs || Home & Garden Blog |
|||||||
#4
|
|||||||
|
|||||||
Re: EZUPSELL 3 column display
Does anyone have either, for 4.1, a 1 column display with product description or a multi column layout for version4.Thanks
__________________
X-Cart Gold 4.1.10, 4.1.18, 4.4.4, 4.4.5 |
|||||||
#5
|
|||||||
|
|||||||
Re: EZUPSELL 3 column display
The above code works great in 4.1.9. for multi products.
Add this product to your cart for an example http://www.lingerieblowout.com/EM-1987-Charmeuse-Gown-p-22510.html
__________________
http://www.lingerieblowout.com Version 4.1.10 http://www.topnichewebsites.com Version 4.4.5 Michael |
|||||||
#6
|
|||||||||
|
|||||||||
Re: EZUPSELL 3 column display
Hi,
I have EZ Upsell installed and I want to add a buy now button to the page and also the short description. Anyone know how this is done?
__________________
Versions 4.1.11 to 4.6.4 ... when will the new versions end! Custom X-Cart driven e-commerce sites, skins and installations at www.samsonwebdesign.co.uk |
|||||||||
#7
|
|||||||||
|
|||||||||
Re: EZUPSELL 3 column display
If on a recent x-cart version you can use:
Code:
|
|||||||||
#8
|
|||||||||
|
|||||||||
Re: EZUPSELL 3 column display
Quote:
I just tried that but get an error back: Warning: Division by zero in /shop/var/templates_c/%%29^29F^29F53FB4%%products_t.tpl.php on line 40 Warning: Division by zero in /shop/var/templates_c/%%29^29F^29F53FB4%%products_t.tpl.php on line 161 It does display the title, thumbnail and also the price which is good. I need a buy now button there though as well. Any ideas?
__________________
Versions 4.1.11 to 4.6.4 ... when will the new versions end! Custom X-Cart driven e-commerce sites, skins and installations at www.samsonwebdesign.co.uk |
|||||||||
#9
|
|||||||||
|
|||||||||
Re: EZUPSELL 3 column display
What is line 40 and 161 of your skin1/customer/main/products_t.tpl?
|
|||||||||
#10
|
|||||||||
|
|||||||||
Re: EZUPSELL 3 column display
Quote:
Well.....lines 39-42 are as follows: {if $products[product].product_type ne "C"} <br /> <br /> {if $active_modules.Subscriptions ne "" and $products[product].catalogprice} The file ends at line 102!!! Here it is in full PHP Code:
__________________
Versions 4.1.11 to 4.6.4 ... when will the new versions end! Custom X-Cart driven e-commerce sites, skins and installations at www.samsonwebdesign.co.uk |
|||||||||
|
|||
X-Cart forums © 2001-2020
|