| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
ezUpsell - thumbnail size adjust? | |||
|
|
Thread Tools |
#1
|
|||||||
|
|||||||
ezUpsell - thumbnail size adjust?
As everyone here knows, I think ezUpsell is a brilliant mod, and only if x-cart fixes their add-to-cart popup for true variant and true upsell support will WebsiteCM's ezUpsell have any competition.
ezUp has worked just fine for me -- but I need to find a solution for the size (and qty) of the thumbnails -- the way ezUp works, it basically offers the customer a choice of upsell items by using this include: {include file="customer/main/products.tpl" products=$product_links} Now, MY products.tpl has an include for <your-skin>/customer/main/products_list.tpl And my category page thumbs are set at 200px and using css, limiting to 3 products per line. But for the ezUp page, I want 4 products, at 175px (instead of 3 @ 200px). SO I was thinking -- how about cloning products.tpl, and products_list.tpl - and copy to the ezUpsell directory. And then include like this: {include file="modules/ezUpsell/products.tpl" products=$product_links} and {include file="modules/ezUpsell/products_list.tpl"} And then I thought, why not edit products_list.tpl and force the thumbnail to 175px -- but I tried editing products_list.tpl --- Code:
I tried hard coding image_x="150px" image_y="150px" but that didn't work. Am I missing something obvious here? Any other ideas how best to accomplish this? Thanks, J
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: ezUpsell - thumbnail size adjust?
Take out the "px" - image_x=150 and image_y=150
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#3
|
|||||||
|
|||||||
Re: ezUpsell - thumbnail size adjust?
Thanks, Steve.
I realized I had to clone the entire /* Products */ block of css, rename the #id and and edit as needed. Appears to be a waste of css for only a handful of edits- probably could have used IFs - but this is the brute force sure thing. I used image_x=160 and image_y=160 (no quotes) + the css edits Now, I'm gonna try to get QuickView to appear on the ezUpsell page... shouldn't be too hard? Not gonna fight that battle today -- maybe tomorrow... Thanks! J
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#4
|
|||||||||
|
|||||||||
Re: ezUpsell - thumbnail size adjust?
Take a break, it's holiday
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#5
|
|||||||
|
|||||||
Re: ezUpsell - thumbnail size adjust?
Quote:
I have my steaks ready for the grill and I will take tomorrow off. I am SOOOOO close to bringing my new template live -- just need to solve a few more minors, then I can always tweak after a soft-launch. Hopefully by tonight.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
|
Thread Tools | |
|
|
|
|||
X-Cart forums © 2001-2020
|