X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   X-Cart Ability Template v4.4.x (https://forum.x-cart.com/showthread.php?t=61776)

john99 06-21-2012 06:45 PM

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.

markdstephens 06-25-2012 06:01 AM

Re: X-Cart Ability Template v4.4.x
 
1 Attachment(s)
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

candc 06-25-2012 11:34 AM

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?

markdstephens 06-25-2012 01:58 PM

Re: X-Cart Ability Template v4.4.x
 
Ahhhh, no!

Set to 3 and works perfectly.

Thanks candc

klinetim 06-27-2012 06:26 AM

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!

SGS 06-27-2012 04:29 PM

Re: X-Cart Ability Template v4.4.x
 
PhilJ,

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

Thanks

PhilJ 06-28-2012 05:57 AM

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.

PhilJ 06-28-2012 07:25 AM

Re: X-Cart Ability Template v4.4.x
 
The Ability template has updated and tested with v4.5.1 - DEMO

qwerty 06-28-2012 07:33 AM

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

PhilJ 06-28-2012 07:46 AM

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.


All times are GMT -8. The time now is 02:41 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.