Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

X-Cart Ability Template v4.4.x

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #291  
Old 06-21-2012, 06:45 PM
 
john99 john99 is offline
 

Member
  
Join Date: Apr 2004
Location: Singapore
Posts: 23
 

Default Re: X-Cart Ability Template v4.4.x

Quote:
Originally Posted by PhilJ
Here's how...

1) Upload new file (attached below) skin/ability/custom/addons/image_preview/image_preview_featured.tpl

2) featured_products.php

After...

Code:
unset($old_search_data, $old_mode);

Insert...

Code:
# Ability Template if ($config['Ability_Template']['abi_addon_image_preview'] == 'Y') { if($products) { foreach($products as $key=> $product) $products[$key]["image_url"] = func_query_first_cell("SELECT image_path FROM $sql_tbl[images_D] WHERE id=".$product["productid"]); } } # /Ability Template

3a) skin/ability/customer/main/featured.tpl

Replace... (this appears twice)

Code:
<a href="{$product.alt_url|default:$product.page_url|amp}" class="preview">

With...

Code:
<a href="{$product.alt_url|default:$product.page_url|amp}" class="preview"{if $config.Ability_Template.abi_addon_image_preview eq "Y" && (($main eq "catalog" && $cat eq "0") || $main eq "search") && $product.image_url} data-tooltip="sticky_{$product.productid}"{/if}>


3b) skin/ability/customer/main/featured.tpl

At the very bottom, insert...

Code:
{include file="custom/addons/image_preview/image_preview_featured.tpl"}

4) skin/ability/custom/custom_styles.tpl

Replace...

Code:
{if $config.Ability_Template.abi_addon_image_preview eq "Y" && (($main eq "catalog" && $cat ne "0") || $main eq "search")}.stickytooltip img { max-width: {/literal}{$config.Ability_Template.abi_addon_image_preview_max}{literal}px; }{/if}

With...

Code:
{if $config.Ability_Template.abi_addon_image_preview eq "Y" && (($main eq "catalog" && $cat eq "0") || $main eq "search")}.stickytooltip img { max-width: {/literal}{$config.Ability_Template.abi_addon_image_preview_max}{literal}px; }{/if}

5) skin/ability/custom/addons/addons_common.tpl

Replace...

Code:
{if $config.Ability_Template.abi_addon_image_preview eq "Y" && (($main eq "catalog" && $cat ne "0") || $main eq "search")}

With...

Code:
{if $config.Ability_Template.abi_addon_image_preview eq "Y" && (($main eq "catalog" && $cat eq "0") || $main eq "search")}

Try this but it did not work.
__________________
xcart v4.5.0 & v4.5.1
xcartmods: X-Cart Ability Template
cflsystem: Contact us messages, System messages
BCSE: Global Product Options, Easy Variant view, Back-in-stock notify
Websitecm: Remember me
mercuryminds: Mailchimp Ecommerce 360
Reply With Quote
  #292  
Old 06-25-2012, 06:01 AM
 
markdstephens markdstephens is offline
 

Advanced Member
  
Join Date: Nov 2003
Posts: 39
 

Default Re: X-Cart Ability Template v4.4.x

Hi Phil,

Loving the template!

Minor issue I noticed when adding mutiple detailed images. The thumbnails do not wrap under the main image. See attached.

Any ideas?


Thanks

v4.4.5
Ability
Attached Images
File Type: bmp detailed _images.bmp (409.1 KB, 17 views)
Reply With Quote
  #293  
Old 06-25-2012, 11:34 AM
 
candc candc is offline
 

eXpert
  
Join Date: Jul 2009
Location: UK
Posts: 292
 

Default Re: X-Cart Ability Template v4.4.x

What setting are you using for the detailed images module?

Have you tried setting the "number of detailed images that must fit etc" to three?
__________________
Ver 4.4.4 Gold
Ability
BCSE Pre Order
BCSE Global Product Options
BCSE Stock Notify
CDSEO Pro
MM OPC - Gave up with it
Altered Cart OPC
XMobile
Powered by EWD

Ver 4.4.4 Gold
Ability
BCSE Pre Order
BCSE Global Product Options
BCSE Stock Notify
CDSEO Pro
Altered Cart OPC
XMobile
Powered by EWD
Reply With Quote

The following user thanks candc for this useful post:
PhilJ (06-26-2012)
  #294  
Old 06-25-2012, 01:58 PM
 
markdstephens markdstephens is offline
 

Advanced Member
  
Join Date: Nov 2003
Posts: 39
 

Default Re: X-Cart Ability Template v4.4.x

Ahhhh, no!

Set to 3 and works perfectly.

Thanks candc
__________________
v4.4.5
Reply With Quote
  #295  
Old 06-27-2012, 06:26 AM
 
klinetim klinetim is offline
 

Advanced Member
  
Join Date: Oct 2011
Posts: 58
 

Default Re: X-Cart Ability Template v4.4.x

Hello,

The RSS feed for new products on our site has stopped working. I'm using the Ability template on a 4.4.5 store. After I ran the Generate Products in the Ability Template Options, then go to our homepage to check the feed, I get "Internet Explorer Cannot Display this Feed" in ie, or just a blank page in firefox. Anything I should check, or did I mess something up? Thanks!
__________________
Tim @ K-Line
X-Cart Version 4.4.5
http://klineind.com
Reply With Quote
  #296  
Old 06-27-2012, 04:29 PM
 
SGS SGS is offline
 

Advanced Member
  
Join Date: May 2006
Posts: 99
 

Default Re: X-Cart Ability Template v4.4.x

PhilJ,

Please check support tickets, Have had one in for a week now. (ATUG6T2LB5)

Thanks
__________________
Currently Using:

For X-cart v5.2.0
1 Business v5.2.6 license <Getting Better>!
1 Banner Mod 5.2.7 license
1 #28 iGoods Template

For X-cart v4.7.0

1 GoldPlus v4 license unused

3 Gold v4 license Unused

A wise man once said it is best to fix the cart instead of trying to use a broken cart. The horse has a very hard time pushing a broken cart!!
Reply With Quote
  #297  
Old 06-28-2012, 05:57 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart Ability Template v4.4.x

Quote:
Please check support tickets, Have had one in for a week now. (ATUG6T2LB5)

I am in the process of testing both templates with v4.5.1, so you'll receive your files after that.
__________________
xcartmods.co.uk
Reply With Quote
  #298  
Old 06-28-2012, 07:25 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart Ability Template v4.4.x

The Ability template has updated and tested with v4.5.1 - DEMO
__________________
xcartmods.co.uk
Reply With Quote
  #299  
Old 06-28-2012, 07:33 AM
 
qwerty qwerty is offline
 

Advanced Member
  
Join Date: Aug 2006
Location: UK
Posts: 94
 

Thumbs up Re: X-Cart Ability Template v4.4.x

hi phil i also sent you a ticket if you could have a look id u5nvvpy6rj
Thanks
__________________
x cart v 5.2.10
ver 4.7.7 Gold Plus
Reply With Quote
  #300  
Old 06-28-2012, 07:46 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart Ability Template v4.4.x

Quote:
hi phil i also sent you a ticket if you could have a look id u5nvvpy6rj
ok, that's been sorted.
__________________
xcartmods.co.uk
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:45 AM.

   

 
X-Cart forums © 2001-2020