![]() |
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.
|
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 |
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:
|
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
|
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 |
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? |
Re: EZUPSELL 3 column display
If on a recent x-cart version you can use:
Code:
{if $product_links ne ""} |
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? |
Re: EZUPSELL 3 column display
What is line 40 and 161 of your skin1/customer/main/products_t.tpl?
|
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:
|
Re: EZUPSELL 3 column display
Try this. Find:
$config.Appearance.products_per_row change to $config.Appearance.products_per_row|default:'3' |
Re: EZUPSELL 3 column display
Thanks for that. I replaced that line twice in the code in 2 areas and it works fine now.
Any ideas on getting a Buy Now button into the layout? |
Re: EZUPSELL 3 column display
FIND:
Code:
{*** Uncomment it if you need 'Buy Now' button *** Replace with: Code:
And ensure buy now buttons are enabled in your General Settings -> Appearance admin section. |
Re: EZUPSELL 3 column display
That has almost worked and I see the buy now button but there is a long error message and a quantity box which is empty appearing.
uantity Warning: Smarty error: math ``x/y'' in ``customer/home.tpl'': parameter ``y'' is empty in /shop/Smarty-2.6.19/Smarty.class.php on line 1092 http://dev.impublications.com/shop/skin1/images/but1.gifBuy Nowhttp://dev.impublications.com/shop/skin1/images/but2.gif |
Re: EZUPSELL 3 column display
Quote:
I still cannot get an answer to my question about the layout I need to achieve with EZ Upsell. Can anyone help! :( I want to recommend a product with a thumbnail, the product title, product description, price and a buy now button. It should look pretty much the same as the layout in products.tpl but I can't get it to work. I've tried just including products.tpl but that throws up lots of error. Any ideas? I have so far done this: Made a new tpl called products_ez.tpl and this is included on the ezupsell.tpl file as shown below: PHP Code:
My products_ez.tpl file is like this: PHP Code:
It shows the thumbnail, title, price and so on but I can't get it to show the product desription. I'm trying {$products.descr} and {$products[product].descr} as you will see in the code but neither work. Anyone know why it won't display the description? |
Re: EZUPSELL 3 column display
Try this: {$product_info.product}
|
Re: EZUPSELL 3 column display
Quote:
That just gave me the title of the product I have added to the cart but thanks for trying. I need the description of the recommended product I am upselling. http://dev.impublications.com/shop/added.php?cat=0&productid=16187&amount=1&page=1 |
Re: EZUPSELL 3 column display
Sorry ..
{$product_info.fulldescr} or {$product_info.descr} |
Re: EZUPSELL 3 column display
Quote:
That's it! Thanks so much for that little gem. Was driving me mad! 8O |
Re: EZUPSELL 3 column display
No problem .. Sometimes the easy ones are the hardest !! ... hehe
|
Re: EZUPSELL 3 column display
Quote:
Yes especially when you've been modding a skin layout all day and your brain is fried! :roll: Overthingking a problem often causes overconfusion! Got there in the end though. :D/ |
Re: EZUPSELL 3 column display
Quote:
:( This didn't work as well as I thought it had. The description that is being pulled in to the product that I am upselling is that of the product the customer has purchased. I need the description of the product being upsold. Take a look at: http://dev.impublications.com/shop/added.php?cat=108&productid=16181&amount=1&page=0 The description is of the NMP Primer book and not the Goodwood book. I am using {$product_info.descr}. Any ideas? |
Re: EZUPSELL 3 column display
ahhh .. the one being sold .. Let me look at that one for you ....
|
Re: EZUPSELL 3 column display
This is how you get the price .. Try this for price ?
{ $product_links[cat_num].price} Have to get back to it later |
EZUPSELL Support sucks!
I've been trying for a week now to get a simple amendment made to my EZ Upsell module I PURCHASED from WebsiteCM.
After numerous support emails backwards and forwards and a lot of try this and no that doesn't work I'm afraid I'll have to just give up. A warning to anyone wanting to buy this module and have it altered! They don't seem to want to help unfortunately. If anyone out there has managed to fget a description in the product you are upselling then pleeeaaasssseeee let me know. Off to try and get my money back now! :( Anyone know another good upselling module? |
Re: EZUPSELL 3 column display
The solutions we've offered have worked for others and so there's only so much support we can offer without logging in and doing the work ourselves to find out why it is not working for you. Personally I feel it unreasonable to expect customization as part of the base price of a pre-built module.
|
Re: EZUPSELL 3 column display
Quote:
Hi Jon, I'd have been willing to pay but I emailed twice and you said you were looking into the problem but I heard nothing for days and had to complete the mod myself. We even gave FTP access as requested about 3 or 4 days ago and heard nothing back! All I wanted to know was if it could be done but got no response. The mod is great but I just needed a little more help. I've managed to sort the problem out now anyway using a custom made mod of the related_products template. I'll be back for more licences from you so please don't think I'm having a dig at you I just sisn't get a response as quickly as I thought I would. |
Re: EZUPSELL 3 column display
We are currently running a bit behind as volume is very high due to the Christmas season but are working diligently to stay on top of things - our support is also not available on weekends - I do apologize for the delay you experienced.
|
Re: EZUPSELL 3 column display
Quote:
No problem. As I said the mod is great and I think even better now I managed to get a description in the upsold product. Keep up the good work :D/ I'm just impatient!!! :roll: |
Re: EZUPSELL 3 column display
I dont see the mod working on your page .. but I do see from adding books this come up
You might also be interested in: If there is no related products ... add an IF statement to show/not show those words... Just my 2 cents : ) |
Re: EZUPSELL 3 column display
Quote:
Hi, It's working on the site: http://dev.impublications.com/shop/added.php?cat=0&productid=16187&amount=1&page=0 Not all of the products have had their upselling options set up yet so that will be done in the next day or so just before we launch. everything will have an upsold product so there won't be a need for an IF statement. |
Re: EZUPSELL 3 column display
I am bumping this one. How to make a 3 column display for version 4.1.9 with prices and add to cart and perhaps even some description?
I tried everything described in this thread and then some but I can╢t make it work. Anyone that can assist? |
Re: EZUPSELL 3 column display
ezUpsell for X-Cart has been updated and is now compatible with x-cart 3.5, 4.0, 4.1, 4.2 and 4.3.
As part of the upgrade we've also made the following updates:
To upgrade please contact our support desk. |
Re: EZUPSELL 3 column display
Thanks, it works like a charm and looks great! One suggestion to future releases is that perhaps you could consider adding short description to the product that has been added, just like it is in the cart. Just in case some customers wants a fast glance at what they just added. But great stuff with descriptions, prices and add to cart function for the uppselling products!
|
Re: EZUPSELL 3 column display
I have the ezupsell and am trying to get this to work. First, the product and saying You have added etc... is not coming up centered. It is to the left of the column.
I also cannot get the Add to Cart buttons. Would like the description, but I can do without it. The $config.Appearance.products_per_row assign= in products._t.tpl shows up all over the place. I probably have 6 or 7 instances of it as part of other code. I am not sure which template should have the following you referred to: {*** Uncomment it if you need 'Buy Now' button *** {if $usertype eq "C" and $config.Appearance.buynow_button_enabled eq "Y"} {include file="customer/main/buy_now.tpl" product=$products[product]} {/if} *** Uncomment it if you need 'Buy Now' button ***} I have Buy Now buttons configured in my entire store, so I don▓t know why it doesn▓t show up here, unless it needs to be called in and it isn▓t in the code you provided to get multi columns. I am using 3. |
Re: EZUPSELL 3 column display
If you upgrade to the latest version ezUpsell it includes these features by default.
|
All times are GMT -8. The time now is 08:09 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.